AutoGen’s successor is reorganizing the furniture before v1.0
An open-source Python framework for building multi-agent LLM systems that can talk, tool-call, and loop in humans before finalizing a decision.
What it does
AG2 is a Python framework for wiring up multiple LLM-powered agents so they can message each other, call tools, and execute code to complete tasks. It grew out of AutoGen and is now maintained by a dynamic group of volunteers from several organizations. The core abstraction is the ConversableAgent, which acts as a base class for every participant in a workflow, whether it is an AI model, a tool executor, or a human proxy.
The interesting bit
The framework treats multi-agent coordination as a conversation problem rather than a rigid pipeline: you can set up swarms, group chats, nested chats, or sequential patterns, and let an AutoPattern manager decide who speaks next. A built-in human-in-the-loop UserProxyAgent can halt the chatter when a real person needs to approve or redirect the output.
Key highlights
- Built-in conversation patterns: swarms, group chats, nested chats, and sequential chats.
ConversableAgentbase class unifies LLM agents, tool runners, and human proxies under one messaging interface.- Supports tool registration, code execution, structured outputs, and RAG.
- Human-in-the-loop via
UserProxyAgentwith configurable termination conditions (e.g., checking for “DONE!” or “APPROVED”). - The existing framework is being tidied up and moved to maintenance mode while the
autogen.betaframework becomes the official v1.0 release.
Caveats
- The project is in a transitional phase; the current API is being deprecated and replaced by the beta framework before v1.0 lands.
Verdict
Worth a look if you are prototyping multi-agent LLM applications and want a conversation-centric orchestration layer with human oversight. Skip it if you need a stable, battle-tested production framework right now, because the ground is shifting beneath your feet.
Frequently asked
- What is ag2ai/ag2?
- An open-source Python framework for building multi-agent LLM systems that can talk, tool-call, and loop in humans before finalizing a decision.
- Is ag2 open source?
- Yes — ag2ai/ag2 is open source, released under the Apache-2.0 license.
- What language is ag2 written in?
- ag2ai/ag2 is primarily written in Python.
- How popular is ag2?
- ag2ai/ag2 has 4.9k stars on GitHub and is currently holding steady.
- Where can I find ag2?
- ag2ai/ag2 is on GitHub at https://github.com/ag2ai/ag2.