Skip to content
aicoolies logo
AG2 logo

AG2

Next-gen multi-agent framework (AutoGen fork)

AG2 (formerly AutoGen) is an open-source multi-agent AI framework that emerged as a community-driven fork of Microsoft AutoGen, founded by original creators Chi Wang and Qingyun Wu after leaving Microsoft. Licensed Apache 2.0 under open governance, it provides an AgentOS for multi-agent conversations, tool use with any LLM, human-in-the-loop workflows, group chat orchestration, and teachable agents. AG2 Beta adds streaming, event-driven production architecture.

About AG2

AG2 (formerly AutoGen) is an open-source multi-agent AI framework that emerged as a community-driven fork of Microsoft AutoGen, founded by the original creators Chi Wang and Qingyun Wu after they departed Microsoft to establish independent governance. It solves the challenge of building collaborative AI agent systems by providing an AgentOS where multiple specialized agents can interact, share context, and work together to solve complex tasks. AG2 maintains backward compatibility with AutoGen 0.2 while pushing forward with new features under Apache 2.0 licensing and open community governance.

AG2 preserves the familiar conversational agent architecture from AutoGen while introducing AG2 Beta, a ground-up redesign built around streaming and event-driven architecture for production agentic systems. The framework supports multi-agent conversation patterns, tool use with any LLM provider, autonomous and human-in-the-loop workflows, group chat orchestration, and teachable agents that improve over time. AG2 provides built-in support for code execution, function calling, nested conversations, and customizable agent behaviors with a focus on stability and production readiness.

AG2 is designed for AI developers, researchers, and enterprise teams who want a community-governed, open-source alternative for building multi-agent systems without vendor lock-in to Microsoft or any single cloud provider. It integrates with Google Cloud Vertex AI Agent Builder and supports deployment across diverse infrastructure including local environments, cloud platforms, and edge devices. The AG2 community actively contributes extensions, tutorials, and integrations, making it a strong choice for teams that value open governance, transparency, and long-term independence in their agentic AI stack.

Pricing & Platform Specs

Pricing Summary

100% free and open-source under the Apache-2.0 license. AG2 has zero software licensing fees; developers pay only for third-party LLM API token consumption or operate completely free with self-hosted local models via Ollama or vLLM.

full pricing breakdown →

Supported Platforms

Python

Explore categories, tags & use cases

Alternatives

All AG2 alternatives →

Microsoft's conversational multi-agent framework

AutoGen is an open-source programming framework from Microsoft Research for building AI agents and facilitating cooperation among multiple agents to solve complex tasks through multi-turn conversations. Pioneered conversable agents that interact, use tools, and involve humans in the loop for multi-agent workflows. v0.4 features a redesigned async event-driven architecture with stronger observability, flexible collaboration patterns, and reusable components.

Open Source

Multi-agent AI framework

Python framework for orchestrating autonomous AI agents that collaborate to accomplish complex tasks. Define agents with specific roles, goals, and backstories, then organize them into crews with sequential or parallel task execution. Supports tool usage (web search, file I/O, API calls), memory, delegation between agents, and human-in-the-loop input. Works with OpenAI, Anthropic, local models, and more. 25K+ GitHub stars. Leading multi-agent framework alongside LangGraph and AutoGen.

freemiumOpen Source

Framework for LLM applications

The most widely-used framework for building LLM-powered applications, available in Python and JavaScript. Provides abstractions for chains, agents, RAG, memory, tool usage, and structured output. Integrates with 100+ LLM providers, vector stores, document loaders, and tools. LangSmith offers tracing and evaluation. LangGraph enables stateful, multi-agent workflows with cycles. 100K+ GitHub stars. The de facto standard for LLM application development despite growing alternatives like LlamaIndex.

freemiumOpen Source

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is AG2?

AG2 (formerly AutoGen) is an open-source multi-agent AI framework that emerged as a community-driven fork of Microsoft AutoGen, founded by original creators Chi Wang and Qingyun Wu after leaving Microsoft. Licensed Apache 2.0 under open governance, it provides an AgentOS for multi-agent conversations, tool use with any LLM, human-in-the-loop workflows, group chat orchestration, and teachable agents. AG2 Beta adds streaming, event-driven production architecture.

Is AG2 free?

Yes — AG2 is open source and free to use. 100% free and open-source under the Apache-2.0 license. AG2 has zero software licensing fees; developers pay only for third-party LLM API token consumption or operate completely free with self-hosted local models via Ollama or vLLM.

Is AG2 open source?

Yes — AG2 is open source.

Is AG2 still maintained?

Yes — AG2 is active. Its listing was last verified on September 6, 2026.

What are the best AG2 alternatives?

The first editor-selected AG2 alternatives are AutoGen, CrewAI, LangChain.