Key Takeaways
- Originated at Microsoft Research; first described in an arXiv paper published August 2023, with Chi Wang and Qingyun Wu as lead authors
- The v0.4 release was a full architectural rewrite (Core, AgentChat, and Extensions layers) replacing the original v0.2 design
- Microsoft placed microsoft/autogen into community-managed maintenance mode in October 2025 β bug and security fixes only, no new features
- Microsoft Agent Framework (MAF) reached general availability on April 2, 2026, converging AutoGen and Semantic Kernel into one supported platform β this is Microsoft's stated successor
- AG2 (ag2.ai): a separate, actively developed fork started in late 2024 by AutoGen's original authors after leaving Microsoft; it inherited the
autogen/pyautogenPyPI package names and moved to the Apache 2.0 license from v0.3 onward - Free and open-source under the MIT license (code) on the Microsoft repository β there is no separate paid product bolted on, unlike LangChain/LangSmith
- Over 60,000 GitHub stars on the microsoft/autogen repository
π In One Sentence
AutoGen is a free, open-source Python framework for multi-agent LLM applications, originally built by Microsoft Research and now in maintenance mode, with Microsoft directing new users to the Microsoft Agent Framework and a separate community fork (AG2) continuing independent development.
π¬ In Plain Terms
AutoGen lets you define several LLM-powered agents β a coder, a critic, a user proxy that can run code β and have them talk to each other and to tools until a task is done, instead of writing one long single-agent prompt chain by hand.
πNote: AutoGen is a framework you write Python against, not a downloadable app. Because the project has split into three distinct efforts since 2024 β Microsoft's maintenance-mode AutoGen, the Microsoft Agent Framework, and the community-led AG2 fork β this review is scoped specifically to the original, Microsoft-controlled microsoft/autogen project and states clearly where each successor diverges.
Who Built AutoGen, and What Happened to It?
AutoGen originated at Microsoft Research and was first described in an arXiv paper published in August 2023, with Qingyun Wu and Chi Wang as lead authors β work that also involved researchers at Penn State University and the University of Washington. The framework introduced a conversation-driven pattern for multi-agent LLM applications: agents (a coder, a critic, a user proxy that can execute code) exchange messages until a task converges.
In SeptemberβNovember 2024, Chi Wang and Qingyun Wu left Microsoft and founded AG2AI, forking the codebase into a new project called AG2 β citing a desire to develop faster outside a single company's roadmap and to build a vendor-neutral home for contributions. AG2 inherited the original autogen and pyautogen PyPI package names and the project's Discord community, and moved to the Apache 2.0 license starting with its v0.3 release; it remains under active, independent development in 2026, working toward a 1.0 release.
Microsoft, meanwhile, continued developing the microsoft/autogen repository under its own roadmap, shipping the v0.4 architectural rewrite (splitting the framework into Core, AgentChat, and Extensions layers) before placing the project into community-managed maintenance mode in October 2025 β no new features, bug and security fixes only. Microsoft's stated successor is the Microsoft Agent Framework (MAF), announced as a convergence of AutoGen and Semantic Kernel and reaching general availability on April 2, 2026.
Research paper
- Date:
- 2023-08
- What it means:
- Qingyun Wu and Chi Wang publish the AutoGen arXiv paper describing the multi-agent conversation framework
v0.4 rewrite
- Date:
- 2024
- What it means:
- Full architectural rewrite into Core, AgentChat, and Extensions layers, replacing the original v0.2 API
AG2 fork founded
- Date:
- 2024-09/11
- What it means:
- Original authors leave Microsoft, found AG2AI, fork the project as AG2 under Apache 2.0
AutoGen maintenance mode
- Date:
- 2025-10
- What it means:
- Microsoft's microsoft/autogen moves to community-managed maintenance: bug/security fixes only
Microsoft Agent Framework GA
- Date:
- 2026-04-02
- What it means:
- MAF reaches general availability, positioned by Microsoft as the successor to both AutoGen and Semantic Kernel
πNote: AutoGen (Microsoft's repository), AG2 (the community fork), and Microsoft Agent Framework are three distinct, currently-existing projects with a shared ancestry β not renames of the same thing. Confirm which one a tutorial or package refers to before following it, since pip install autogen historically pointed at different packages depending on the moment in this history.
What Is AutoGen?
AutoGen (the Microsoft-controlled microsoft/autogen repository) is an open-source Python framework for building applications where multiple LLM-powered agents converse with each other, use tools, and β distinctively β execute code, to complete a task collaboratively rather than through a single linear prompt chain.
- AgentChat: the high-level API for defining agents with roles (assistant, user proxy, critic) and running multi-agent conversations or group chats
- Core: the lower-level, event-driven runtime AgentChat is built on, for teams that need custom orchestration logic
- Code-execution agents: a signature AutoGen pattern β an agent can write Python code, hand it to a code-executor agent (commonly sandboxed in Docker), and use the output to continue the conversation
- Group chat orchestration: multiple agents participate in a shared conversation with a manager agent deciding turn order, useful for tasks needing several specialist roles (e.g., planner, coder, reviewer)
- Extensions: first- and third-party integrations for model providers, tools, and memory beyond the Core/AgentChat layers
from autogen_agentchat.agents import AssistantAgent
from autogen_agentchat.teams import RoundRobinGroupChat
from autogen_agentchat.conditions import TextMentionTermination
from autogen_ext.models.openai import OpenAIChatCompletionClient
model_client = OpenAIChatCompletionClient(model="gpt-4o-mini")
assistant = AssistantAgent("assistant", model_client=model_client)
critic = AssistantAgent(
"critic",
model_client=model_client,
system_message="Review the answer and reply APPROVE if correct.",
)
team = RoundRobinGroupChat(
[assistant, critic],
termination_condition=TextMentionTermination("APPROVE"),
)
await team.run(task="Summarize what AutoGen does in one sentence.")How Much Does AutoGen Cost?
AutoGen itself is completely free β there is no paid tier, no hosted product, and no separate observability add-on bolted on by Microsoft, unlike LangChain's paid LangSmith. Model API costs (OpenAI, Anthropic, Azure OpenAI, or a self-hosted model) are the only real cost, and those are billed by whichever model provider you connect.
- AutoGen (the framework): free forever under the MIT license (code) / CC BY 4.0 (documentation), for any use including commercial products
- No AutoGen-branded paid tier, hosted service, or enterprise SKU exists as of this review β Microsoft's commercial agent offering going forward is the Microsoft Agent Framework, which is itself open source, with paid cost coming from whichever Azure services you choose to attach (e.g., Azure AI Foundry hosting)
- AG2, the community fork, is likewise free under the Apache 2.0 license, with commercial support offered separately by AG2AI rather than bundled into the framework
- Model API usage is billed by the model provider you connect (OpenAI, Anthropic, Azure OpenAI, or your own self-hosted model), not by AutoGen
Component | Price | Notes |
|---|---|---|
| AutoGen framework | Free (MIT/CC BY 4.0) | No usage caps, self-hostable |
| AG2 fork | Free (Apache 2.0) | Independent community project |
| Microsoft Agent Framework | Free (open source) | Attach paid Azure services separately if desired |
| Model API calls | Billed by provider | Not part of AutoGen pricing |
Verified against the microsoft/autogen GitHub repository and Microsoft Agent Framework documentation as of September 2026 β check the live sources before budgeting, since Microsoft's agent product lineup has changed twice within the past year.
How Do You Install and Get Started With AutoGen?
Installing AutoGen takes one pip command β no account or license key required. Because the project is in maintenance mode, evaluate whether the Microsoft Agent Framework or AG2 is a better starting point for a new project before committing to AutoGen itself.
- 1Install the AgentChat package and a model extension: `pip install -U "autogen-agentchat" "autogen-ext[openai]"` (requires Python 3.10+).
- 2Set your model provider's API key as an environment variable (for example
OPENAI_API_KEY) β AutoGen does not provide or proxy model access itself. - 3Define one or more
AssistantAgentinstances with a model client, and combine them into a team (e.g.,RoundRobinGroupChat) with a termination condition. - 4For code-execution workflows, add a
CodeExecutorAgentbacked by a sandboxed executor (Docker is the documented default) so generated code runs in isolation, not on the host machine. - 5Read the official AutoGen documentation for the current API reference, and review the migration guide if starting a new project, since Microsoft now points new users toward the Microsoft Agent Framework.
Do I need an OpenAI or Azure account to use AutoGen?
You need an account and API key with whichever model provider you choose to call β AutoGen itself does not host or resell model access. It supports OpenAI, Azure OpenAI, and other providers through its Extensions package, plus self-hosted models via compatible local API servers.
Is AutoGen safe to run code-execution agents with?
Only when the code executor is sandboxed. AutoGen's documented default is a Docker-based executor (DockerCommandLineCodeExecutor); running generated code directly on the host machine without a sandbox is explicitly discouraged in the official docs.
Who Should Use AutoGen?
AutoGen fits teams that specifically want the conversation-driven, code-execution multi-agent pattern it pioneered, and who are comfortable building on a project Microsoft has placed in maintenance mode. Most new projects should compare it against its two active successors first.
When Should You NOT Use AutoGen?
Skip AutoGen for any new production project as of this review β it is in maintenance mode, and both Microsoft and the original authors have moved active development elsewhere. A few concrete situations where a different tool wins.
- A new project with no existing AutoGen code β avoid legacy AutoGen and start with the Microsoft Agent Framework (Microsoft's actively supported successor) or AG2 (the actively developed community fork) instead
- A team that needs Microsoft enterprise support commitments or long-term API stability guarantees on a Microsoft-maintained product β Microsoft Agent Framework carries those, AutoGen does not
- A team that wants fast-moving open-source feature development β that happens at AG2 now, led by AutoGen's original authors, not at microsoft/autogen
- A project that wants a structured, role-based agent abstraction out of the box rather than assembling conversation patterns manually β CrewAI or LangGraph fit that better
- Use AutoGen only when you are maintaining an existing AutoGen application and a migration has not yet been scoped
AutoGen vs. Alternatives
AutoGen shares ancestry with two active successors and competes with other multi-agent frameworks, each with a different orchestration philosophy.
Tool | Interface | License | Backing | Best For |
|---|---|---|---|---|
| AutoGen | Python code | MIT / CC BY 4.0 | Microsoft (maintenance mode) | Existing AutoGen apps only |
| AG2 | Python code | Apache 2.0 | AG2AI (community, original authors) | Active fork of the same pattern |
| Microsoft Agent Framework | Python / .NET | MIT (open source) | Microsoft | New Microsoft-ecosystem projects |
| LangChain / LangGraph | Python / JS code | MIT | LangChain Inc. (VC-backed) | General-purpose LLM apps & agents |
| CrewAI | Python code | MIT (core) | CrewAI Inc. (VC-backed) | Role-based multi-agent crews |
| OpenAI Agents SDK | Python code | MIT | OpenAI | OpenAI-model-first agent apps |
Common Mistakes When Evaluating AutoGen
These mistakes come from conflating AutoGen with its successors, or missing the maintenance-mode status entirely.
Frequently Asked Questions
Is AutoGen free to use?
Yes. The microsoft/autogen framework is open-source under the MIT license (code) and CC BY 4.0 (documentation), free for any use including commercial products, with no usage limits. There is no paid AutoGen tier.
Who created AutoGen?
AutoGen originated at Microsoft Research, first described in an arXiv paper published in August 2023 with Qingyun Wu and Chi Wang as lead authors, alongside researchers at Penn State University and the University of Washington.
Is AutoGen still maintained?
Microsoft's microsoft/autogen repository has been in community-managed maintenance mode since October 2025 β it receives bug and security fixes but no new features. Microsoft's stated successor is the Microsoft Agent Framework.
What is AG2, and how is it different from AutoGen?
AG2 is a separate, actively developed community fork of AutoGen, started in late 2024 by AutoGen's original authors (Chi Wang and Qingyun Wu) after they left Microsoft. It uses the Apache 2.0 license from v0.3 onward and inherited the original autogen/pyautogen PyPI package names.
What is the Microsoft Agent Framework, and does it replace AutoGen?
The Microsoft Agent Framework (MAF) is Microsoft's stated successor to both AutoGen and Semantic Kernel, converging the two into one supported, open-source platform. It reached general availability on April 2, 2026.
How much does AutoGen cost?
AutoGen itself is free under the MIT license, with no separate paid tier or hosted product. The only real cost is the model API you connect it to (OpenAI, Azure OpenAI, or a self-hosted model), billed by that provider.
How many GitHub stars does AutoGen have?
The microsoft/autogen repository has passed 60,000 GitHub stars.
Can I run AutoGen with local, self-hosted models instead of a cloud API?
Yes, through AutoGen's Extensions package and any OpenAI-API-compatible local model server, though official first-party support and testing focuses primarily on OpenAI and Azure OpenAI.
Should I start a new project on AutoGen, AG2, or the Microsoft Agent Framework?
For a new project, evaluate the Microsoft Agent Framework (Microsoft's supported successor) or AG2 (the actively developed community fork) rather than microsoft/autogen, which receives no new features. Choose based on whether you need Microsoft's enterprise support path (Agent Framework) or an independently governed open-source project (AG2).
Is AutoGen better than [CrewAI](/power-local-llm/crewai-review)?
They target different patterns. AutoGen (and its successors) favor free-form, conversation-driven multi-agent orchestration with code execution; CrewAI provides a more structured, role-based 'crew' abstraction with defined tasks. Which fits better depends on how much structure your workflow needs.
