AG2
Open-source multi-agent framework for building production-ready AI agents with conversation patterns and human-AI collaboration.
At a Glance
Pricing
Free and open-source under permissive license
Engagement
Available On
About AG2
AG2 is an open-source AgentOS that enables developers to build production-ready AI agents in minutes rather than months. It provides a multi-agent conversation framework as a high-level abstraction, making it easy to construct complex LLM workflows. The framework supports seamless human-AI collaboration with built-in conversation patterns and simple, intuitive syntax.
-
Multi-Agent Conversation Framework provides high-level abstractions for building LLM workflows with multiple agents that can communicate and collaborate on complex tasks.
-
Conversable Agent serves as the core building block, allowing developers to create agents that can engage in natural conversations and execute tasks autonomously.
-
Group Chat and Swarm patterns enable orchestrating multiple agents working together, supporting complex multi-agent scenarios for diverse applications.
-
Tool Integration allows agents to use external tools and APIs, extending their capabilities beyond pure language model interactions.
-
RAG Support enables retrieval-augmented generation for agents that need to access and reason over external knowledge bases and documents.
-
Code Execution capabilities let agents write and execute code as part of their problem-solving workflows.
-
Enhanced LLM Inference & Optimization supports improved inference APIs that can boost performance and reduce costs when working with language models.
-
Human-in-the-Loop collaboration features enable seamless handoffs between AI agents and human operators when needed.
To get started with AG2, install the package and follow the quick start guide in the documentation. The framework offers extensive notebook examples covering customer service, travel planning, game design, and other use cases. Developers can explore key concepts like LLM configuration, then advance to more complex topics like RAG and sophisticated group chats. The project welcomes contributions from the community to expand its capabilities.

Community Discussions
Be the first to start a conversation about AG2
Share your experience with AG2, ask questions, or help others learn from your insights.
Pricing
Free Plan Available
Free and open-source under permissive license
- Multi-agent conversation framework
- Conversable Agent
- Group Chat and Swarm patterns
- Tool integration
- RAG support
Capabilities
Key Features
- Multi-agent conversation framework
- Conversable Agent abstraction
- Group Chat orchestration
- Swarm patterns
- Tool integration
- RAG (Retrieval-Augmented Generation)
- Code execution
- Enhanced LLM inference and optimization
- Human-AI collaboration
- Built-in conversation patterns
- Simple and intuitive syntax
- Notebook examples
- API reference documentation
Demo Video
