Evolving Agents offers a robust framework for developing AI agents capable of intelligent collaboration. With features like agent evolution, effective communication, and a smart library for semantic searches, it enables the creation of proactive agent ecosystems. Embrace a production-grade environment that enhances agent capabilities over time through learning and collaborative problem-solving.
The Evolving Agents Framework is a robust and innovative solution designed for the orchestration, management, and evolution of AI agents. Built with intelligent agent-to-agent communication capabilities, this framework facilitates the creation of collaborative ecosystems of agents that can comprehend requirements semantically, adapt based on their past experiences, and collaborate efficiently to tackle complex tasks.
The framework allows users to orchestrate agent ecosystems where specialized agents interact and evolve:
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():
# Initialize the framework components
library = SmartLibrary("agent_library.json")
llm = LLMService(provider="openai", model="gpt-4o")
system = SystemAgent(library, llm)
# Request an invoice analysis agent
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']}")
# Execute the agent with an invoice document
invoice_text = """
INVOICE #12345
Date: 2023-05-15
Vendor: TechSupplies Inc.
Total Due: $1,822.80
"""
execution = await system.execute_item(
result['record']['name'],
invoice_text
)
print("\nInvoice Analysis Result:")
print(execution["result"])
if __name__ == "__main__":
asyncio.run(main())
The above example illustrates how easily agents can be developed to accommodate specific tasks, showcasing the framework's capacity for intelligent decision-making and agent collaboration.
The framework supports equipped workflows that enable agents to communicate effectively and carry out complex tasks through defined YAML scenarios. With an emphasis on agent evolution and semantic search capabilities, the Evolving Agents Framework stands as a powerful tool for developers seeking to build sophisticated AI solutions capable of adapting and improving autonomously.
Future enhancements will focus on expanding functionalities aligned with the evolving standards of the Agent Communication Protocol (ACP) and enhancing the overall robustness of the framework.
No comments yet.
Sign in to be the first to comment.