Sunday, March 9, 2025

New top story on Hacker News: Show HN: Evolving Agents Framework

Show HN: Evolving Agents Framework
27 by matiasmolinas | 3 comments on Hacker News.
Hey HN, I've been working on an open-source framework for creating AI agents that evolve, communicate, and collaborate to solve complex tasks. The Evolving Agents Framework allows agents to: Reuse, evolve, or create new agents dynamically based on semantic similarity Communicate and delegate tasks to other specialized agents Continuously improve by learning from past executions Define workflows in YAML, making it easy to orchestrate agent interactions Search for relevant tools and agents using OpenAI embeddings Support multiple AI frameworks (BeeAI, etc.) Current Status & Roadmap This is still a draft and a proof of concept (POC). Right now, I’m focused on validating it in real-world scenarios to refine and improve it. Next week, I'm adding a new feature to make it useful for distributed multi-agent systems. This will allow agents to work across different environments, improving scalability and coordination. Why? Most agent-based AI frameworks today require manual orchestration. This project takes a different approach by allowing agents to decide and adapt based on the task at hand. Instead of always creating new agents, it determines if existing ones can be reused or evolved. Example Use Case: Let’s say you need an invoice analysis agent. Instead of manually configuring one, our framework: Checks if a similar agent exists (e.g., a document analyzer) Decides whether to reuse, evolve, or create a new agent Runs the best agent and returns the extracted information Here's a simple example in Python: import asyncio from evolving_agents.smart_library.smart_library import SmartLibrary from evolving_agents.core.llm_service import LLMService from evolving_agents.core.system_agent import SystemAgent async def main(): library = SmartLibrary("agent_library.json") llm = LLMService(provider="openai", model="gpt-4o") system = SystemAgent(library, llm) result = await system.decide_and_act( request="I need an agent that can analyze invoices and extract the total amount", domain="document_processing", record_type="AGENT" ) print(f"Decision: {result['action']}") # 'reuse', 'evolve', or 'create' print(f"Agent: {result['record']['name']}") if __name__ == "__main__": asyncio.run(main()) Next Steps Validating in real-world use cases and improving agent evolution strategies Adding distributed multi-agent support for better scalability Full integration with BeeAI Agent Communication Protocol (ACP) Better visualization tools for debugging Would love feedback from the HN community! What features would you like to see? Repo: https://ift.tt/WDfXTZw

Tuesday, March 4, 2025

New top story on Hacker News: Show HN: Vidformer – Drop-In Acceleration for Cv2 Video Annotation Scripts

Show HN: Vidformer – Drop-In Acceleration for Cv2 Video Annotation Scripts
10 by dominikwin | 1 comments on Hacker News.
Hi HN, this is a project I've been working on as part of my PhD. Vidformer is a system that makes video annotation or transformation scripts practically instant. Traditional scripts that render full videos can take minutes—Vidformer speeds this up by optimizing execution and using on-demand rendering, so results appear immediately instead of waiting for entire videos to render. It works as a drop-in replacement for OpenCV's cv2, meaning most scripts can adopt it by simply changing "import cv2" to "import vidformer.cv2 as cv2"—no need to rewrite code or sacrifice flexibility. Vidformer is written in Rust and uses FFmpeg libraries for low-level video access. Under the hood, Vidformer runs code with symbolic references to frames and tracks frame modifications to build a declarative representation of the task. Then, when rendering, it can transparently distribute the workload across many cores and efficiently use additional memory for caching frames. Further, it can expose a Video on Demand endpoint and only render segments once requested; this lets playback begin instantly. Repo: https://ift.tt/JT5ilLx The "Open in Colab" notebook is a great place to start. Would love to hear feedback!

New top story on Hacker News: DARPA exploring growing bio structures of "unprecedented size" in microgravity

DARPA exploring growing bio structures of "unprecedented size" in microgravity
21 by Jimmc414 | 4 comments on Hacker News.


Monday, March 3, 2025

New top story on Hacker News: Show HN: Open-Source Windows AI assistant that uses Word, Excel through COM

Show HN: Open-Source Windows AI assistant that uses Word, Excel through COM
16 by edmgood | 0 comments on Hacker News.
This started off as a project to understand how to get LLMs to interface with more traditional desktop softwares. We were especially interested in tools related to schematic drafting and molecular simulation. Decided to explore COM automation for more traditional Windows softwares as a starting point! Been using it to help some friends automate simple excel workflows. Thought we'd share!