Brixo
Skip to main content
Back to Agent Framework
M

Microsoft AutoGen

An event-driven programming framework for building scalable multi-agent AI systems. Example scenarios: Deterministic and dynamic agentic workflows for business processes. Research on multi-agent collaboration. Distributed agents for multi-language applications.

Visit Website

Funding

OSS

Microsoft AutoGen

Overview

Microsoft AutoGen is an open‑source framework from [Microsoft Research](https://www.microsoft.com/en-us/research/project/autogen/) for building AI agents and multi‑agent applications. It orchestrates agents powered by large language models (LLMs), external tools, and human input to solve tasks through structured conversations and workflows. The project is actively maintained with comprehensive [documentation](https://microsoft.github.io/autogen), a lively [GitHub repository](https://github.com/microsoft/autogen), and an in‑depth [research blog introduction](https://www.microsoft.com/en-us/research/blog/autogen-enabling-next-generation-large-language-model-applications/).

The latest generation, **AutoGen 0.4**, is a major redesign that introduces an asynchronous, event‑driven runtime, modular packages, and stronger observability—aimed at reliability and scale for production agent systems. Microsoft has detailed the direction in a [forum talk](https://www.microsoft.com/en-us/research/video/autogen-v0-4-reimagining-the-foundation-of-agentic-ai-for-scale-and-more-microsoft-research-forum/) and tracks progress via [GitHub milestones](https://github.com/microsoft/autogen/milestones). Key packages include **autogen‑core**, **autogen‑agentchat**, and **autogen‑ext**, with flexible collaboration patterns and pluggable [model clients](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/model-clients.html).

On top of the runtime, **AutoGen Studio** provides a low‑code, browser‑based interface to assemble agents, wire up tools, form teams, and test workflows before moving to code—ideal for rapid prototyping and stakeholder demos. See the [Studio overview](https://microsoft.github.io/autogen/dev//user-guide/autogenstudio-user-guide/index.html) and the [announcement](https://www.microsoft.com/en-us/research/blog/introducing-autogen-studio-a-low-code-interface-for-building-multi-agent-workflows/). The **Workbench** adds [Model Context Protocol (MCP)](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/workbench.html) support, enabling agents to safely use tools exposed by MCP servers.

AutoGen has an active community of developers sharing examples, comparisons, and migration guidance as 0.4 evolves. Engagement spans a dedicated [Reddit community](https://www.reddit.com/r/AutoGenAI/)—including threads on [why teams choose AutoGen](https://www.reddit.com/r/AutoGenAI/comments/1ig33yz/why_are_people_using_microsoft_autogen_vs_other/) and [non‑OpenAI support in 0.4](https://www.reddit.com/r/AutoGenAI/comments/1hzh32h/non_oai_models_not_supported_in_v04/)—and robust [GitHub discussions](https://github.com/microsoft/autogen/discussions/7066) with ongoing [issues](https://github.com/microsoft/autogen/issues) and [releases](https://github.com/microsoft/autogen/releases).

---

Quick Facts

  • Product type: Open‑source, multi‑agent framework from Microsoft Research
  • Project page: [Microsoft Research: AutoGen](https://www.microsoft.com/en-us/research/project/autogen/)
  • Docs: [AutoGen documentation](https://microsoft.github.io/autogen)
  • First public release: 2023
  • Intro blog: [Enabling next‑generation LLM apps](https://www.microsoft.com/en-us/research/blog/autogen-enabling-next-generation-large-language-model-applications/)
  • Studio blog: [“In September 2023, we released AutoGen”](https://www.microsoft.com/en-us/research/blog/introducing-autogen-studio-a-low-code-interface-for-building-multi-agent-workflows/)
  • Latest generation: **AutoGen 0.4** (modular, event‑driven runtime)
  • Talk: [v0.4 reimagining agentic AI](https://www.microsoft.com/en-us/research/video/autogen-v0-4-reimagining-the-foundation-of-agentic-ai-for-scale-and-more-microsoft-research-forum/)
  • Roadmap: [Milestones](https://github.com/microsoft/autogen/milestones)
  • Core components: **autogen‑core**, **autogen‑agentchat**, **autogen‑ext**, plus Studio and Workbench
  • Components: [Model clients and runtime](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/model-clients.html)
  • Studio: [Overview](https://microsoft.github.io/autogen/dev//user-guide/autogenstudio-user-guide/index.html)
  • Workbench (MCP): [Docs](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/workbench.html)
  • Languages and SDKs: Primarily Python; .NET SDK available via NuGet
  • Python: [Stable docs](https://microsoft.github.io/autogen/stable//index.html)
  • .NET example: [.NET package (preview)](https://www.nuget.org/packages/Microsoft.AutoGen.Contracts/0.4.0-dev.3)
  • License: MIT (code); docs typically Creative Commons
  • Repository: [GitHub](https://github.com/microsoft/autogen)
  • ---

    What Makes AutoGen Stand Out

  • Event‑driven, asynchronous runtime in 0.4 for resilient, scalable agent systems.
  • Clear collaboration patterns: agent‑to‑agent chat, group workflows, and nested conversations, with rich [examples](https://microsoft.github.io/autogen/0.2/docs/Examples/) such as [nested chats](https://microsoft.github.io/autogen/0.2/docs/notebooks/agentchat_nestedchat/) and [sequential chats](https://microsoft.github.io/autogen/0.2/docs/notebooks/agentchats_sequential_chats/).
  • Low‑code prototyping with [AutoGen Studio](https://microsoft.github.io/autogen/dev//user-guide/autogenstudio-user-guide/index.html), then productionize in code.
  • Tooling integrations, including [MCP Workbench](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/workbench.html), [web crawling with Spider](https://microsoft.github.io/autogen/0.2/docs/notebooks/agentchat_webcrawling_with_spider/), and observability via [W&B Weave](https://weave-docs.wandb.ai/guides/integrations/autogen/).
  • ---

    Pros

  • Backed by Microsoft Research, signaling roadmap stability and reduced vendor risk
  • Community sentiment: [Why teams choose AutoGen](https://www.reddit.com/r/AutoGenAI/comments/1ig33yz/why_are_people_using_microsoft_autogen_vs_other/)
  • Fast prototyping of multi‑agent teams with Studio before moving to code
  • Learn more: [Studio docs](https://microsoft.github.io/autogen/dev//user-guide/autogenstudio-user-guide/index.html)
  • Clear patterns and examples for agent chats, group workflows, and nested conversations
  • Examples: [Examples hub](https://microsoft.github.io/autogen/0.2/docs/Examples/)
  • Strong integrations with tool protocols (MCP), web crawling, and observability
  • Workbench (MCP): [Docs](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/workbench.html)
  • Cons

  • Breaking changes and churn during the 0.4 rewrite increase migration effort
  • Status: [0.4 discussions](https://github.com/microsoft/autogen/discussions/4208), [API break label](https://github.com/microsoft/autogen/labels/api-break-change)
  • Provider support gaps reported in early 0.4 builds (especially non‑OpenAI), with workarounds via extensions/OpenRouter
  • Community threads: [Non‑OpenAI in v0.4](https://www.reddit.com/r/AutoGenAI/comments/1hzh32h/non_oai_models_not_supported_in_v04/), [Anthropic issue](https://github.com/microsoft/autogen/issues/5205)
  • Nontrivial learning curve for production teams new to agent frameworks
  • Beginner requests: [Getting started thread](https://www.reddit.com/r/AutoGenAI/comments/1mv7p5x/beginner_to_autogen_microsoft_can_someone_share_a/)
  • Early errors reported in some quick starts and Studio version upgrades
  • Examples: [Quick start error](https://github.com/microsoft/autogen/issues/4063), [Studio upgrade issue](https://github.com/microsoft/autogen/issues/5319)
  • ---

    Who It’s For

  • Software teams building AI agent workflows needing structured orchestration, tool use, and human‑in‑the‑loop review.
  • Data/ML engineers seeking a programmable, testable way to coordinate multiple LLM‑backed agents.
  • Enterprise solution architects—especially on Azure—who want alignment with Microsoft tooling and guidance.
  • ---

    Common Use Cases

  • Code assistants that draft, run, and refine code with tool use and human review
  • See: [Examples hub](https://microsoft.github.io/autogen/0.2/docs/Examples/)
  • Multi‑agent data analysis and decision support in coordinated group chats
  • Community example: [Multi‑agent data analyst](https://www.reddit.com/r/AutoGenAI/comments/1lw36cx/built_a_multiagent_dataanalyst_using_autogen/)
  • Retrieval‑augmented generation (RAG) with tool calls and multi‑step reasoning
  • Guide: [Retrieval augmentation](https://microsoft.github.io/autogen/0.2/docs/topics/retrieval_augmentation/)
  • Web research and browsing via agent‑driven crawling
  • Notebook: [Spider web crawling](https://microsoft.github.io/autogen/0.2/docs/notebooks/agentchat_webcrawling_with_spider/)
  • Multi‑agent demos and solution accelerators on Azure
  • Sample: [Dream Team (AutoGen 0.4 + Azure OpenAI)](https://github.com/Azure-Samples/dream-team)
  • ---

    Integrations and Ecosystem

  • Model clients via autogen‑ext with standard chat completion interfaces
  • Overview: [Model clients](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/model-clients.html)
  • OpenAI and Azure OpenAI are documented first‑class; non‑OpenAI providers are possible via extensions/OpenRouter with evolving support in 0.4
  • Tutorial: [Models setup](https://microsoft.github.io/autogen/stable//user-guide/agentchat-user-guide/tutorial/models.html)
  • Community note: [Non‑OpenAI in v0.4](https://www.reddit.com/r/AutoGenAI/comments/1hzh32h/non_oai_models_not_supported_in_v04/)
  • Tooling and data access via MCP using Workbench
  • Docs: [Workbench (MCP)](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/workbench.html)
  • Deployment with open LLM servers
  • Guide: [vLLM + AutoGen](https://docs.vllm.ai/en/latest/deployment/frameworks/autogen.html)
  • Observability and evaluation
  • Integration: [W&B Weave](https://weave-docs.wandb.ai/guides/integrations/autogen/)
  • ---

    Versioning, Maintenance, and Community

  • 0.4 is a breaking rewrite with active development and labeled API changes
  • Roadmap: [Milestones](https://github.com/microsoft/autogen/milestones)
  • API changes: [api-break-change](https://github.com/microsoft/autogen/labels/api-break-change)
  • Active GitHub and Reddit communities sharing examples, fixes, and migration paths
  • GitHub: [Repo](https://github.com/microsoft/autogen), [Releases](https://github.com/microsoft/autogen/releases), [Discussions](https://github.com/microsoft/autogen/discussions)
  • Reddit: [r/AutoGenAI](https://www.reddit.com/r/AutoGenAI/)
  • Legacy resources remain helpful for concepts and notebooks while 0.4 matures
  • Legacy docs: [AutoGen 0.2 site](https://microsoft.github.io/autogen/0.2)
  • ---

    Licensing and Cost

  • AutoGen is open source under the **MIT License**. No “trial” is required; bring your own model API keys.
  • Code and license: [GitHub repository](https://github.com/microsoft/autogen)
  • ---

    Getting Started

    1. Explore the fundamentals and runtime architecture

  • Start here: [Documentation](https://microsoft.github.io/autogen) and [v0.4 talk](https://www.microsoft.com/en-us/research/video/autogen-v0-4-reimagining-the-foundation-of-agentic-ai-for-scale-and-more-microsoft-research-forum/)
  • 2. Prototype in the browser with Studio

  • Guide: [AutoGen Studio](https://microsoft.github.io/autogen/dev//user-guide/autogenstudio-user-guide/index.html)
  • 3. Wire up model providers and tools

  • Models: [Setup tutorial](https://microsoft.github.io/autogen/stable//user-guide/agentchat-user-guide/tutorial/models.html)
  • Tools: [Workbench (MCP)](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/workbench.html)
  • 4. Review examples and migrate patterns to code

  • Examples: [Use cases and notebooks](https://microsoft.github.io/autogen/0.2/docs/Examples/)
  • 5. Plan for 0.4 changes and production hardening

  • Track: [Milestones](https://github.com/microsoft/autogen/milestones) and [Discussions](https://github.com/microsoft/autogen/discussions)
  • ---

    Company and Research Context

    AutoGen is maintained by [Microsoft Research](https://www.microsoft.com/en-us/research/), with ongoing communications through its [project page](https://www.microsoft.com/en-us/research/project/autogen/) and community channels. For broader updates on the research organization, see the [Microsoft Research LinkedIn showcase](https://www.linkedin.com/showcase/microsoftresearch/).

    ---

    Related Resources

  • Docs and site: [AutoGen docs](https://microsoft.github.io/autogen), [Legacy 0.2 docs](https://microsoft.github.io/autogen/0.2)
  • Research overview: [Intro blog](https://www.microsoft.com/en-us/research/blog/autogen-enabling-next-generation-large-language-model-applications/)
  • Components: [Model clients and runtime](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/model-clients.html)
  • Studio: [User guide](https://microsoft.github.io/autogen/dev//user-guide/autogenstudio-user-guide/index.html)
  • Workbench (MCP): [Component docs](https://microsoft.github.io/autogen/stable//user-guide/core-user-guide/components/workbench.html)
  • Community: [GitHub repo](https://github.com/microsoft/autogen), [Discussions](https://github.com/microsoft/autogen/discussions), [Releases](https://github.com/microsoft/autogen/releases), [Reddit](https://www.reddit.com/r/AutoGenAI/)
  • Related Companies

    AgentGPT logo

    AgentGPT

    AgentGPT is an open‑source, browser‑run tool from Reworkd that lets you name an agent, set a goal, and have it autonomously plan, research, and execute tasks in iterative loops. It’s designed for fast experimentation and demos, with ready‑made templates for research, branding, and trip planning—no engineering setup required.

    B

    BabyAGI

    BabyAGI is pioneering the future of autonomous AI through an experimental framework designed for self-building agents. Born from the insight that the most effective path to general autonomous agents is radical simplicity, BabyAGI focuses on creating the minimal viable system capable of building and evolving itself. At its core is functionz, an innovative function framework that revolutionizes how autonomous agents manage their capabilities. This database-driven system stores, manages, and executes functions through an intelligent graph-based architecture that tracks imports, dependencies, and authentication—all with automatic loading and comprehensive logging. BabyAGI provides developers with an intuitive dashboard for seamless function management, real-time updates, and detailed log analysis, making autonomous agent development accessible and transparent. By embracing a self-building philosophy, BabyAGI represents a fundamentally new approach to creating AI systems that can adapt, grow, and improve autonomously.

    CrewAI logo

    CrewAI

    CrewAI is at the forefront of Agentic AI with its open source, multi-agent framework and cloud platform for building, managing and scaling agentic workflows across the entire organization.

    Flowise AI logo

    Flowise AI

    Flowise is an open source drag & drop tool to build your customized LLM flow. We provide a visual interface to let you build backends for LLM apps used for QnA, summarization and analysis on your documents.

    LangChain logo

    LangChain

    LangChain provides the agent engineering platform and open source frameworks developers need to ship reliable agents fast.

    LlamaIndex logo

    LlamaIndex

    LlamaIndex empowers developers to build agents that extract insights and take action on complex enterprise documents. It combines industry-leading document parsing and extraction with a trusted framework for building intelligent agents that reason over documents, adapt to business logic, and scale to production. LlamaIndex is loved by developers and trusted by enterprises. Its open source framework is downloaded more than 4M+ every month and has processed more than 200 million documents on LlamaCloud.