[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-558":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":36,"readmeContent":37,"aiSummary":38,"trendingCount":16,"starSnapshotCount":16,"syncStatus":39,"lastSyncTime":40,"discoverSource":41},558,"autogen","microsoft\u002Fautogen","microsoft","A programming framework for agentic AI","https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002F",null,"Python",58876,8886,527,533,0,30,184,928,161,45,"Creative Commons Attribution 4.0 International",false,"main",true,[27,28,29,30,5,31,32,33,34,35],"agentic","agentic-agi","agents","ai","autogen-ecosystem","chatgpt","framework","llm-agent","llm-framework","2026-06-12 02:00:15","\u003Ca name=\"readme-top\">\u003C\u002Fa>\n\n\u003Cdiv align=\"center\">\n\u003Cimg src=\"https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002F0.2\u002Fimg\u002Fag.svg\" alt=\"AutoGen Logo\" width=\"100\">\n\n[![Twitter](https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Furl\u002Fhttps\u002Ftwitter.com\u002Fcloudposse.svg?style=social&label=Follow%20%40pyautogen)](https:\u002F\u002Ftwitter.com\u002Fpyautogen)\n[![LinkedIn](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLinkedIn-Company?style=flat&logo=linkedin&logoColor=white)](https:\u002F\u002Fwww.linkedin.com\u002Fcompany\u002F105812540)\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdiscord-chat-green?logo=discord)](https:\u002F\u002Faka.ms\u002Fautogen-discord)\n[![Documentation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDocumentation-AutoGen-blue?logo=read-the-docs)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002F)\n[![Blog](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FBlog-AutoGen-blue?logo=blogger)](https:\u002F\u002Fdevblogs.microsoft.com\u002Fautogen\u002F)\n\n\u003C\u002Fdiv>\n\n# AutoGen [![Maintenance Mode](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstatus-maintenance%20mode-orange)](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagent-framework)\n\n**AutoGen** is a framework for creating multi-agent AI applications that can act autonomously or work alongside humans.\n\n> [!CAUTION]\n> **⚠️ Maintenance Mode**\n>\n> AutoGen is now in maintenance mode. It will not receive new features or enhancements and is community managed going forward.\n>\n> New users should start with [Microsoft Agent Framework](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagent-framework). Existing users are encouraged to migrate using the [AutoGen → Microsoft Agent Framework migration guide](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fagent-framework\u002Fmigration-guide\u002Ffrom-autogen\u002F).\n>\n> Microsoft Agent Framework (MAF) is the enterprise‑ready successor to AutoGen. Microsoft Agent FrameworkAF in now available as a production-ready release: stable APIs, and a commitment to long-term support. Whether you're building a single assistant or orchestrating a fleet of specialized agents, Microsoft Agent Framework 1.0 gives you enterprise-grade multi-agent orchestration, multi-provider model support, and cross-runtime interoperability via A2A and MCP.\n\n## Installation\n\nAutoGen requires **Python 3.10 or later**.\n\n```bash\n# Install AgentChat and OpenAI client from Extensions\npip install -U \"autogen-agentchat\" \"autogen-ext[openai]\"\n```\n\nThe current stable version can be found in the [releases](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fautogen\u002Freleases). If you are upgrading from AutoGen v0.2, please refer to the [Migration Guide](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Fuser-guide\u002Fagentchat-user-guide\u002Fmigration-guide.html) for detailed instructions on how to update your code and configurations.\n\n```bash\n# Install AutoGen Studio for no-code GUI\npip install -U \"autogenstudio\"\n```\n\n## Quickstart\n\nThe following samples call OpenAI API, so you first need to create an account and export your key as `export OPENAI_API_KEY=\"sk-...\"`.\n\n### Hello World\n\nCreate an assistant agent using OpenAI's GPT-4o model. See [other supported models](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Fuser-guide\u002Fagentchat-user-guide\u002Ftutorial\u002Fmodels.html).\n\n```python\nimport asyncio\nfrom autogen_agentchat.agents import AssistantAgent\nfrom autogen_ext.models.openai import OpenAIChatCompletionClient\n\nasync def main() -> None:\n    model_client = OpenAIChatCompletionClient(model=\"gpt-4.1\")\n    agent = AssistantAgent(\"assistant\", model_client=model_client)\n    print(await agent.run(task=\"Say 'Hello World!'\"))\n    await model_client.close()\n\nasyncio.run(main())\n```\n\n### MCP Server\n\nCreate a web browsing assistant agent that uses the Playwright MCP server.\n\n```python\n# First run `npm install -g @playwright\u002Fmcp@latest` to install the MCP server.\nimport asyncio\nfrom autogen_agentchat.agents import AssistantAgent\nfrom autogen_agentchat.ui import Console\nfrom autogen_ext.models.openai import OpenAIChatCompletionClient\nfrom autogen_ext.tools.mcp import McpWorkbench, StdioServerParams\n\n\nasync def main() -> None:\n    model_client = OpenAIChatCompletionClient(model=\"gpt-4.1\")\n    server_params = StdioServerParams(\n        command=\"npx\",\n        args=[\n            \"@playwright\u002Fmcp@latest\",\n            \"--headless\",\n        ],\n    )\n    async with McpWorkbench(server_params) as mcp:\n        agent = AssistantAgent(\n            \"web_browsing_assistant\",\n            model_client=model_client,\n            workbench=mcp, # For multiple MCP servers, put them in a list.\n            model_client_stream=True,\n            max_tool_iterations=10,\n        )\n        await Console(agent.run_stream(task=\"Find out how many contributors for the microsoft\u002Fautogen repository\"))\n\n\nasyncio.run(main())\n```\n\n> **Warning**: Only connect to trusted MCP servers as they may execute commands\n> in your local environment or expose sensitive information.\n\n### Multi-Agent Orchestration\n\nYou can use `AgentTool` to create a basic multi-agent orchestration setup.\n\n```python\nimport asyncio\n\nfrom autogen_agentchat.agents import AssistantAgent\nfrom autogen_agentchat.tools import AgentTool\nfrom autogen_agentchat.ui import Console\nfrom autogen_ext.models.openai import OpenAIChatCompletionClient\n\n\nasync def main() -> None:\n    model_client = OpenAIChatCompletionClient(model=\"gpt-4.1\")\n\n    math_agent = AssistantAgent(\n        \"math_expert\",\n        model_client=model_client,\n        system_message=\"You are a math expert.\",\n        description=\"A math expert assistant.\",\n        model_client_stream=True,\n    )\n    math_agent_tool = AgentTool(math_agent, return_value_as_last_message=True)\n\n    chemistry_agent = AssistantAgent(\n        \"chemistry_expert\",\n        model_client=model_client,\n        system_message=\"You are a chemistry expert.\",\n        description=\"A chemistry expert assistant.\",\n        model_client_stream=True,\n    )\n    chemistry_agent_tool = AgentTool(chemistry_agent, return_value_as_last_message=True)\n\n    agent = AssistantAgent(\n        \"assistant\",\n        system_message=\"You are a general assistant. Use expert tools when needed.\",\n        model_client=model_client,\n        model_client_stream=True,\n        tools=[math_agent_tool, chemistry_agent_tool],\n        max_tool_iterations=10,\n    )\n    await Console(agent.run_stream(task=\"What is the integral of x^2?\"))\n    await Console(agent.run_stream(task=\"What is the molecular weight of water?\"))\n\n\nasyncio.run(main())\n```\n\nFor more advanced multi-agent orchestrations and workflows, read\n[AgentChat documentation](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Fuser-guide\u002Fagentchat-user-guide\u002Findex.html).\n\n### AutoGen Studio\n\nUse AutoGen Studio to prototype and run multi-agent workflows without writing code.\n\n> **Caution**: AutoGen Studio is meant to help you rapidly prototype multi-agent workflows and\n> demonstrate an example of end user interfaces built with AutoGen. It is **not meant to be a\n> production-ready app**. Developers are encouraged to use the AutoGen framework to build their own\n> applications, implementing authentication, security and other features required for deployed\n> applications. See the [security note](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fdev\u002Fuser-guide\u002Fautogenstudio-user-guide\u002Findex.html#a-note-on-security) for more details.\n\n```bash\n# Run AutoGen Studio on http:\u002F\u002Flocalhost:8080\nautogenstudio ui --port 8080 --appdir .\u002Fmy-app\n```\n\n## Why AutoGen?\n\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"autogen-landing.jpg\" alt=\"AutoGen Landing\" width=\"500\">\n\u003C\u002Fdiv>\n\nPioneered in Microsoft Research, AutoGen opened the door to experimental multi-agent orchestration patterns that inspired the community. While AutoGen is now in maintenance mode, existing users can continue to use the framework with the architecture described below. **For new projects, we recommend [Microsoft Agent Framework](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagent-framework)**, which builds on the lessons learned from AutoGen with enterprise-grade support.\n\nThe autogen _framework_ uses a layered and extensible design. Layers have clearly divided responsibilities and build on top of layers below. This design enables you to use the framework at different levels of abstraction, from high-level APIs to low-level components.\n\n- [Core API](.\u002Fpython\u002Fpackages\u002Fautogen-core\u002F) implements message passing, event-driven agents, and local and distributed runtime for flexibility and power. It also support cross-language support for .NET and Python.\n- [AgentChat API](.\u002Fpython\u002Fpackages\u002Fautogen-agentchat\u002F) implements a simpler but opinionated API for rapid prototyping. This API is built on top of the Core API and is closest to what users of v0.2 are familiar with and supports common multi-agent patterns such as two-agent chat or group chats.\n- [Extensions API](.\u002Fpython\u002Fpackages\u002Fautogen-ext\u002F) enables first- and third-party extensions continuously expanding framework capabilities. It support specific implementation of LLM clients (e.g., OpenAI, AzureOpenAI), and capabilities such as code execution.\n\nThe ecosystem also supports two essential _developer tools_:\n\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fmedia.githubusercontent.com\u002Fmedia\u002Fmicrosoft\u002Fautogen\u002Frefs\u002Fheads\u002Fmain\u002Fpython\u002Fpackages\u002Fautogen-studio\u002Fdocs\u002Fags_screen.png\" alt=\"AutoGen Studio Screenshot\" width=\"500\">\n\u003C\u002Fdiv>\n\n- [AutoGen Studio](.\u002Fpython\u002Fpackages\u002Fautogen-studio\u002F) provides a no-code GUI for building multi-agent applications.\n- [AutoGen Bench](.\u002Fpython\u002Fpackages\u002Fagbench\u002F) provides a benchmarking suite for evaluating agent performance.\n\nYou can use the AutoGen framework and developer tools to create applications for your domain. For example, [Magentic-One](.\u002Fpython\u002Fpackages\u002Fmagentic-one-cli\u002F) is a state-of-the-art multi-agent team built using AgentChat API and Extensions API that can handle a variety of tasks that require web browsing, code execution, and file handling.\n\nFor community support, visit our [Discord server](https:\u002F\u002Faka.ms\u002Fautogen-discord) or [GitHub Discussions](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fautogen\u002Fdiscussions). Note that AutoGen is now community-managed and responses may be limited.\n\n## Where to go next?\n\n> **Starting a new project?** Head to [Microsoft Agent Framework](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagent-framework) for the latest multi-agent capabilities with long-term support.\n>\n> **Existing AutoGen user?** Use the [migration guide](https:\u002F\u002Flearn.microsoft.com\u002Fen-us\u002Fagent-framework\u002Fmigration-guide\u002Ffrom-autogen\u002F) to transition, or refer to the resources below for current AutoGen documentation.\n\n\u003Cdiv align=\"center\">\n\n|               | [![Python](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAutoGen-Python-blue?logo=python&logoColor=white)](.\u002Fpython)                                                                                                                                                                                                                                                                                                                | [![.NET](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAutoGen-.NET-green?logo=.net&logoColor=white)](.\u002Fdotnet)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | [![Studio](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAutoGen-Studio-purple?logo=visual-studio&logoColor=white)](.\u002Fpython\u002Fpackages\u002Fautogen-studio)                        |\n| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| Installation  | [![Installation](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FInstall-blue)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Fuser-guide\u002Fagentchat-user-guide\u002Finstallation.html)                                                                                                                                                                                                                                                         | [![Install](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FInstall-green)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fdotnet\u002Fdev\u002Fcore\u002Finstallation.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | [![Install](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FInstall-purple)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Fuser-guide\u002Fautogenstudio-user-guide\u002Finstallation.html) |\n| Quickstart    | [![Quickstart](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FQuickstart-blue)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Fuser-guide\u002Fagentchat-user-guide\u002Fquickstart.html#)                                                                                                                                                                                                                                                         | [![Quickstart](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FQuickstart-green)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fdotnet\u002Fdev\u002Fcore\u002Findex.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    | [![Usage](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FQuickstart-purple)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Fuser-guide\u002Fautogenstudio-user-guide\u002Fusage.html#)      |\n| Tutorial      | [![Tutorial](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTutorial-blue)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Fuser-guide\u002Fagentchat-user-guide\u002Ftutorial\u002Findex.html)                                                                                                                                                                                                                                                          | [![Tutorial](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTutorial-green)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fdotnet\u002Fdev\u002Fcore\u002Ftutorial.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | [![Usage](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FTutorial-purple)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Fuser-guide\u002Fautogenstudio-user-guide\u002Fusage.html#)        |\n| API Reference | [![API](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDocs-blue)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Freference\u002Findex.html#)                                                                                                                                                                                                                                                                                                 | [![API](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDocs-green)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fdotnet\u002Fdev\u002Fapi\u002FMicrosoft.AutoGen.Contracts.html)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | [![API](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDocs-purple)](https:\u002F\u002Fmicrosoft.github.io\u002Fautogen\u002Fstable\u002Fuser-guide\u002Fautogenstudio-user-guide\u002Fusage.html)               |\n| Packages      | [![PyPi autogen-core](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPyPi-autogen--core-blue?logo=pypi)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fautogen-core\u002F) \u003Cbr> [![PyPi autogen-agentchat](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPyPi-autogen--agentchat-blue?logo=pypi)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fautogen-agentchat\u002F) \u003Cbr> [![PyPi autogen-ext](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPyPi-autogen--ext-blue?logo=pypi)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fautogen-ext\u002F) | [![NuGet Contracts](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FNuGet-Contracts-green?logo=nuget)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.AutoGen.Contracts\u002F) \u003Cbr> [![NuGet Core](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FNuGet-Core-green?logo=nuget)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.AutoGen.Core\u002F) \u003Cbr> [![NuGet Core.Grpc](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FNuGet-Core.Grpc-green?logo=nuget)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.AutoGen.Core.Grpc\u002F) \u003Cbr> [![NuGet RuntimeGateway.Grpc](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FNuGet-RuntimeGateway.Grpc-green?logo=nuget)](https:\u002F\u002Fwww.nuget.org\u002Fpackages\u002FMicrosoft.AutoGen.RuntimeGateway.Grpc\u002F) | [![PyPi autogenstudio](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPyPi-autogenstudio-purple?logo=pypi)](https:\u002F\u002Fpypi.org\u002Fproject\u002Fautogenstudio\u002F)                          |\n\n\u003C\u002Fdiv>\n\nInterested in contributing? See [CONTRIBUTING.md](.\u002FCONTRIBUTING.md) for guidelines. As AutoGen is in maintenance mode, contributions are limited to bug fixes, security patches, and documentation improvements. For feature development, consider contributing to [Microsoft Agent Framework](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagent-framework).\n\nHave questions? Check out our [Frequently Asked Questions (FAQ)](.\u002FFAQ.md) for answers to common queries. Community support is available through [GitHub Discussions](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fautogen\u002Fdiscussions) and the [Discord server](https:\u002F\u002Faka.ms\u002Fautogen-discord), though response times may vary as AutoGen is now community-managed. For actively supported tooling, see [Microsoft Agent Framework](https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fagent-framework).\n\n## Legal Notices\n\nMicrosoft and any contributors grant you a license to the Microsoft documentation and other content\nin this repository under the [Creative Commons Attribution 4.0 International Public License](https:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby\u002F4.0\u002Flegalcode),\nsee the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT), see the\n[LICENSE-CODE](LICENSE-CODE) file.\n\nMicrosoft, Windows, Microsoft Azure, and\u002For other Microsoft products and services referenced in the documentation\nmay be either trademarks or registered trademarks of Microsoft in the United States and\u002For other countries.\nThe licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks.\nMicrosoft's general trademark guidelines can be found at \u003Chttp:\u002F\u002Fgo.microsoft.com\u002Ffwlink\u002F?LinkID=254653>.\n\nPrivacy information can be found at \u003Chttps:\u002F\u002Fgo.microsoft.com\u002Ffwlink\u002F?LinkId=521839>\n\nMicrosoft and any contributors reserve all other rights, whether under their respective copyrights, patents,\nor trademarks, whether by implication, estoppel, or otherwise.\n\n\u003Cp align=\"right\" style=\"font-size: 14px; color: #555; margin-top: 20px;\">\n  \u003Ca href=\"#readme-top\" style=\"text-decoration: none; color: blue; font-weight: bold;\">\n    ↑ Back to Top ↑\n  \u003C\u002Fa>\n\u003C\u002Fp>\n","AutoGen是一个用于创建能够自主行动或与人类协作的多代理AI应用的编程框架。其核心功能包括支持多种AI模型和提供灵活的多代理交互机制，采用Python语言开发。技术特点上，AutoGen允许开发者通过简单的配置即可快速搭建复杂的AI系统，同时支持无代码GUI工具Autogen Studio以降低使用门槛。尽管该项目现已进入维护模式，不再添加新特性，但对于寻求构建智能助手、自动化流程或是探索多代理协作场景的研究者和开发者来说，它仍然是一个有价值的起点。推荐现有用户考虑迁移到其企业级后继项目Microsoft Agent Framework。",2,"2026-06-11 02:37:29","top_all"]