AG2
ActiveDescription
AG2 (formerly AutoGen) is an open-source AgentOS providing a multi-agent conversation framework with flexible agent orchestration, tool integration, and distributed collaboration for building complex multi-agent systems.
Key Features
- Multi-agent conversation framework with flexible orchestration patterns including swarms, group chats, and nested chats
- Support for multiple LLM providers with configurable API keys and model selection
- Human-in-the-loop workflows enabling human oversight and input in agent conversations
- Tool registration and execution system allowing agents to invoke external programs and APIs
- Code execution capabilities with Docker support for sandboxed Python code running
- Advanced agent design patterns including structured outputs and RAG integration
Use Cases
Categories
Quick Start
Install AG2 via pip install 'ag2[openai]'. Configure API keys in OAI_CONFIG_LIST file. Create a simple script with AssistantAgent and UserProxyAgent to start your first agent conversation. Example: user_proxy.run(assistant, message='Summarize Python lists vs tuples').process()