autogen
A programming framework for agentic AI
Research-grade multi-agent conversation patterns backed by Microsoft.
You need a stable, minimal API for simple single-agent tasks.
About autogen
AutoGen is a framework for creating multi-agent AI applications that can act autonomously or work alongside humans.
The current stable version can be found in the releases. If you are upgrading from AutoGen v0.2, please refer to the Migration Guide for detailed instructions on how to update your code and configurations.
The following samples call OpenAI API, so you first need to create an account and export your key as export OPENAI_API_KEY="sk-...".
autogen is an open-source project written primarily in Python, with 59k stars on GitHub. It was last updated in April 2026.
pip install -U "autogen-agentchat" "autogen-ext[openai]"autogen vs. the alternatives
All agent frameworks →| Agent | Stars | Pricing | ||
|---|---|---|---|---|
| autogen | 59k | Python | CC-BY-4.0 | Open source |
| langchain | 141k | Python | MIT | Open source |
| ruflo | 63k | TypeScript | MIT | Open source |
| crewAI | 55k | Python | MIT | Open source |
| eliza | 19k | TypeScript | MIT | Open source |
| pydantic-ai | 18k | Python | MIT | Open source |
