- Developed by
- Microsoft Research
- Released
- 2023
- Language
- Python
- Repository
- github.com/microsoft/autogen
- Status
- Maintenance mode (succeeded by Microsoft Agent Framework)
- Key concept
- Multi-agent conversation for LLM task completion
- Developed by
- Microsoft Research
- Released
- 2023
- Language
- Python
- Repository
- github.com/microsoft/autogen
- Status
- Maintenance mode (succeeded by Microsoft Agent Framework)
- Key concept
- Multi-agent conversation for LLM task completion
AutoGen is an open-source framework developed by Microsoft Research that allows developers to build applications using multiple large language model (LLM)-powered agents that communicate with each other through structured conversation to solve complex tasks. First published in 2023 alongside an academic paper demonstrating its capabilities across domains including mathematics, coding, supply-chain optimisation, and question answering, AutoGen became one of the most widely adopted multi-agent frameworks in the research and developer community before transitioning to maintenance mode as Microsoft introduced its successor, the Microsoft Agent Framework.
Core Concepts
AutoGen is built around the concept of conversable agents: autonomous units that can send and receive messages, generate responses using an LLM, execute code, or call tools, and maintain conversation history. The framework abstracts the complexity of multi-agent coordination into a conversation-centric paradigm — rather than defining explicit control flow as code, developers define agents and their response policies, and the conversation among agents drives the task to completion organically.
Two fundamental agent types underpin AutoGen: the AssistantAgent, which wraps an LLM and generates responses based on conversation history and its system prompt, and the UserProxyAgent, which can represent a human participant, execute code on the human's behalf, or provide scripted responses. The human-in-the-loop model allows developers to configure how much autonomy agents have — from fully automated execution to requiring human approval at each step.
Group Chat and Orchestration
Beyond simple two-agent conversations, AutoGen supports group chat scenarios in which multiple agents participate in a shared conversation thread. A GroupChatManager agent moderates turn-taking, deciding which agent should respond next based on the conversation state. This enables patterns such as a manager agent directing specialist agents, a panel of diverse agents debating alternative approaches, or a team of specialist agents each contributing domain expertise to produce a synthesised result.
The framework supports code execution through a sandboxed environment, allowing agents to write Python code in response to a task, execute it, observe the output, and revise their approach based on the result — a loop particularly effective for data analysis, mathematical reasoning, and software engineering tasks.
Applications
AutoGen was demonstrated to be effective across a broad range of applications in its introductory research paper. In mathematics, agent conversations guided step-by-step reasoning through competition-level problems. In coding, teams comprising a coder, a reviewer, and an executor collaborated to produce working software from natural-language specifications. In question answering, retrieval agents fetched documents and reasoning agents synthesised answers. In supply-chain optimisation, agents with access to simulation tools ran experiments and refined strategies iteratively.
These demonstrations established AutoGen as a practical framework for tasks that benefit from iterative refinement, error recovery through code re-execution, and specialisation — properties that naturally emerge from multi-agent conversation when each agent has a well-defined role and access to appropriate tools.
Relationship to Microsoft Agent Framework
Microsoft announced in 2025 that AutoGen would transition to maintenance mode, continuing to receive bug fixes and security updates but no new features. The Microsoft Agent Framework is a multi-language SDK supporting Python, C#, and TypeScript that extends and generalises the ideas pioneered in AutoGen with improved scalability, observability, and enterprise integration features. A migration guide published on Microsoft Learn assists developers in porting AutoGen applications to the new framework.
Despite this transition, AutoGen's GitHub repository remains among the most-starred AI agent repositories, and a large body of tutorials, blog posts, academic papers, and production deployments continue to reference it. Its influence on subsequent multi-agent frameworks — including CrewAI and LangGraph — is well documented.
Design Comparisons
AutoGen's conversation-centric design contrasts with CrewAI's role-and-crew metaphor and LangGraph's graph-based workflow representation. Each approach reflects different priorities: AutoGen emphasises flexibility and emergent behaviour through unconstrained agent dialogue; CrewAI emphasises role clarity and accessibility for business workflow designers; LangGraph emphasises deterministic control flow for production reliability. Developers selecting between these frameworks typically consider the degree of workflow predictability required, the importance of human oversight at specific steps, and the availability of engineering resources to manage the respective abstractions.
AutoGen's influence on the Malaysian AI development community has been substantial, particularly among enterprise technology teams and research groups at Malaysian universities who adopted it as a reference framework for multi-agent system design. The Microsoft Research academic paper accompanying AutoGen's release was widely circulated in Malaysian AI communities and helped establish multi-agent conversation as a recognised paradigm alongside simpler single-agent prompt engineering approaches.
Malaysian organisations piloting AI automation in financial document processing, customer service escalation management, and regulatory compliance review have explored AutoGen-based architectures because the framework's transparency — all agent interactions are logged as readable conversation turns — aligns with the auditability expectations articulated in BNM's AI guidelines and MDEC's responsible AI framework. Being able to inspect exactly which agent produced which reasoning step and how a decision was reached provides the kind of explainable trace that regulated industries require under Malaysia's evolving AI governance landscape.
University research groups at Universiti Malaya, Multimedia University (MMU), and Taylor's University have incorporated AutoGen into coursework and research on agentic AI, using its accessible Python API to prototype multi-agent systems for tasks relevant to the Malaysian context — such as Bahasa Malaysia legal document review, multi-lingual customer service routing, and academic research assistance across Malaysian institutional repositories.
As Microsoft positions its Agent Framework as the production successor to AutoGen, Malaysian enterprise customers with existing Microsoft Azure and Microsoft 365 investments are well-positioned to adopt it through their established Microsoft Malaysia relationships, cloud support agreements, and the Azure Marketplace. The continuity between AutoGen and the Microsoft Agent Framework lowers the migration cost for Malaysian organisations that built AutoGen-based prototypes and are now scaling toward production deployment.