AutoGen framework explained in one sentence: it is Microsoft Research’s open-source framework for building multi-agent systems in which AI agents solve problems by talking to each other. Instead of one model calling tools in a fixed sequence, several agents exchange messages in a managed conversation, each contributing its own expertise until the task is done. The central question is whether AutoGen is still a sensible choice, and the short answer is that it remains a useful design to understand and a workable system for existing codebases, but it is not the right starting point for a new project in 2026.
That is because Microsoft put AutoGen into maintenance mode on 2 October 2025. The framework still runs, and it still receives critical bug fixes and security patches, but no significant new features are being added. Active development moved to the Microsoft Agent Framework, which merges AutoGen with Semantic Kernel and reached 1.0 in April 2026.
This guide explains how AutoGen works, what its 0.4 rewrite changed, and how to plan a way forward if you already use it.
Key takeaways
- AutoGen framework explained simply: a Microsoft Research framework where agents reason together through structured conversation.
- Version 0.4, released in January 2025, rewrote AutoGen as an asynchronous, event-driven system with the packages autogen-agentchat, autogen-core and autogen-ext.
- AutoGen entered maintenance mode on 2 October 2025, with only bug fixes and security patches, and no new features.
- Microsoft’s successor is the Microsoft Agent Framework, 1.0 in April 2026, and the community fork AG2 continues the older API.
- Keep AutoGen for existing systems that work; choose LangGraph, CrewAI or the Microsoft Agent Framework for new projects.
What AutoGen is
AutoGen is an open-source framework from Microsoft Research for building AI agents that cooperate on a task. It was first released in 2023, when most agent frameworks were built around a single model calling tools in a loop. AutoGen took a different path: it treats a group of agents as a conversation.
One agent proposes, another critiques, a third checks the result, and a human can step in at any point. The conversation itself is the program.
That design made AutoGen popular quickly. It is intuitive to describe a system as a discussion between a researcher, a writer and an editor, and it handles open-ended problems where the right steps are not known in advance. The code is MIT-licensed, and the project gathered a large community around it.
How the conversation model works
An AutoGen system is made of agents that send messages to each other. The classic pattern has an AssistantAgent, which is a language model with instructions and tools, and a UserProxyAgent, which represents the human or executes code on their behalf. A task begins with a message, the agents take turns, and the conversation ends when a termination condition is met, such as a specific phrase, a maximum number of turns, or a human saying stop.
Group chat generalises that pattern. Several agents join one conversation, and a speaker selection mechanism decides who talks next. Selection can be round-robin, random, or decided by a language model that picks the most suitable agent for the current message.
A human manager can also take control. The framework records the whole conversation, which becomes both the working memory of the system and its audit trail. Best for: open-ended problems where the steps cannot be fixed in advance and several viewpoints improve the result.
The 0.4 rewrite: a new foundation
Version 0.4, released in January 2025, was a from-the-ground-up rewrite. The old 0.2 line, imported as pyautogen, was built around synchronous calls and a ConversableAgent class that mixed concerns together. The rewrite replaced it with an asynchronous, event-driven architecture built on two layers: autogen-core, which provides the runtime, messaging and agent abstractions, and autogen-agentchat, which provides the higher-level agents, teams and termination conditions.
A third package, autogen-ext, holds extensions such as model clients and tools.
The rewrite made AutoGen genuinely asynchronous, so agents could work concurrently, and it separated the runtime from the conversation patterns, which made the framework easier to extend and test. The cost was a breaking change: code written for 0.2 did not run on 0.4 without migration. The older 0.2 line is no longer maintained by Microsoft at all.
Teams, termination and human input
In AutoGen 0.4, agents are grouped into teams. A round-robin team cycles through its agents in order, which suits a fixed pipeline of specialists. A selector team lets a model choose the next speaker, which suits open discussion.
A swarm team hands off between agents, which suits triage patterns where one agent routes work to another. Each team has a termination condition that decides when the conversation stops, and you can combine conditions, so a run ends when a task is complete or a turn limit is reached, whichever comes first.
Human input is a first-class feature rather than an afterthought. A human can join the conversation, approve a step, correct an agent, or take over entirely. The framework also supports code execution, so an agent can write code, run it, see the result, and fix its own mistakes, which was one of its most popular patterns.
For the human-oversight side of that pattern, see our guide to human oversight of AI agents.

AutoGen compared with LangGraph and CrewAI
The three frameworks model coordination differently, and the difference decides how much control you have. LangGraph wires agents into an explicit state graph, where every node, edge and checkpoint is written down. CrewAI assigns roles and tasks to a crew, which runs them in a chosen order.
AutoGen lets agents talk, and the conversation decides what happens next. The graph gives the most control, the crew gives the fastest start, and the conversation gives the most flexibility for open-ended work.
That flexibility has a price. A conversation is harder to test than a graph, because the same input can produce a different path each time. It is harder to debug, because a failure is a transcript rather than a state.
And it is harder to cost, because the number of turns, and therefore the number of model calls, is not known in advance. For a wider view of how teams coordinate several agents, see our guide to AI agent orchestration.
| Feature | AutoGen | LangGraph | CrewAI |
|---|---|---|---|
| Coordination model | Conversation between agents | State graph with nodes and edges | Roles, tasks and crews |
| Team types | Round-robin, selector, swarm | Graphs and subgraphs | Sequential and hierarchical crews |
| Human in the loop | Human joins the conversation | Interrupts and approvals | Human feedback in Flows |
| State and recovery | Conversation history | Checkpoints, resume, time travel | Checkpoints in Flows |
| Code execution | Built-in, with feedback loop | Via tools | Via tools |
| Status in late 2026 | Maintenance mode since October 2025 | Active, 1.x line | Active, 1.15 line |
The table shows AutoGen’s position clearly. Its conversation model is still distinctive, but it is the only one of the three that is no longer being developed. That is the fact that matters most for a new project.
What maintenance mode means in practice
Maintenance mode, announced on 2 October 2025, means AutoGen has a stable API and will continue to receive critical bug fixes and security patches, but will not gain significant new features. The last feature release, version 0.7.5, shipped on 30 September 2025. The project’s documentation now directs newcomers to the Microsoft Agent Framework instead of AutoGen’s own quickstart.
Nothing breaks today: pinned packages keep installing, existing code keeps running, and the MIT licence means you can keep using it indefinitely.
What changes is the future. New model features and new orchestration patterns will ship in other projects, and the integration library will fall behind. The community fork AG2 continues the older ConversableAgent API under an Apache 2.0 licence, though its 1.0 release broke compatibility with the classic API.
An AutoGen system needs a plan for what comes next, even if the move itself can wait. For guidance on when several agents are worth the complexity at all, see our practical guide to when to use multi-agent AI.
Where AutoGen still fits
AutoGen still fits in three places. The first is existing production systems that work today. Rewriting a working system is expensive and risky, and maintenance mode is not a reason to rush.
Freeze feature work, pin your dependencies, and plan the migration as a project with a date rather than an emergency. The second is research and teaching, where the conversation model is the clearest way to demonstrate how agents can reason together. The third is code-generation workflows, where the write, run, fix loop between agents was always one of AutoGen’s strongest patterns.
It does not fit new production systems, regulated work that needs an auditable trail, or systems where the cost of each run must be predictable. In those cases the graph model is the better foundation. Best for: existing codebases, teaching and research, and code-generation loops where agents fix their own output.
Planning a migration away from AutoGen
A migration starts by mapping conversation patterns to graph patterns. A round-robin team becomes a linear graph, with each agent as a node. A selector team becomes a graph with a router node that chooses the next step.
A swarm handoff becomes an edge between two nodes. Human input becomes an interrupt node that pauses the graph until a person responds. The prompts and tools usually transfer with little change.
Do it in stages. Pick the smallest agent group, rebuild it in the target framework, and run both versions side by side on the same inputs, comparing outputs, cost and failure rate before moving the next group. That side-by-side period is also the moment to add checkpointing, tracing and a test suite.
For the deployment side of the move, see our guide to AI agent deployment.
AutoGen checklist: running it safely today
- Dependencies are pinned, so a future package change cannot break a working system.
- Every conversation has a termination condition and a maximum turn limit, so runs cannot loop forever.
- Human approval sits before any irreversible action, such as sending a message or changing data.
- Code execution runs in a sandbox, never with access to production systems or credentials.
- Runs are logged and costed, with an alert when a conversation exceeds its expected turns.
- A migration plan exists, naming the target framework and a date, even if the move is months away.
- The team knows which parts of the system are AutoGen-specific and which parts, such as prompts and tools, will transfer.
Frequently asked questions
What is AutoGen used for?
AutoGen is used to build multi-agent systems where several AI agents solve a problem by talking to each other. Common uses include research, code generation and document drafting.
Is AutoGen still maintained?
Yes, but only in maintenance mode. Since 2 October 2025 Microsoft has provided critical bug fixes and security patches, but no significant new features. New feature development moved to the Microsoft Agent Framework.
What replaced AutoGen?
Microsoft’s official successor is the Microsoft Agent Framework, which merges AutoGen with Semantic Kernel and reached 1.0 in April 2026. The community fork AG2 continues the older AutoGen API under an Apache 2.0 licence, and LangGraph and CrewAI are the leading alternatives outside Microsoft’s stack.
What is the difference between AutoGen 0.2 and 0.4?
Version 0.2 used a synchronous design built around the ConversableAgent class and the pyautogen package. Version 0.4, released in January 2025, was a ground-up rewrite to an asynchronous, event-driven architecture, with the packages autogen-core, autogen-agentchat and autogen-ext. The 0.2 line is no longer maintained.
Should I learn AutoGen in 2026?
Learn it as a design, not as a career investment. Understanding the conversation model teaches you a lot about multi-agent coordination, and that knowledge transfers to other frameworks.







