Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microsoft/autogen
A programming framework for agentic AI 🤖
https://github.com/microsoft/autogen
agent-based-framework agent-oriented-programming agentic agentic-agi chat chat-application chatbot chatgpt gpt gpt-35-turbo gpt-4 llm-agent llm-framework llm-inference llmops
Last synced: 3 days ago
JSON representation
A programming framework for agentic AI 🤖
- Host: GitHub
- URL: https://github.com/microsoft/autogen
- Owner: microsoft
- License: cc-by-4.0
- Created: 2023-08-18T11:43:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-29T08:37:47.000Z (4 months ago)
- Last Synced: 2024-10-29T09:54:36.195Z (4 months ago)
- Topics: agent-based-framework, agent-oriented-programming, agentic, agentic-agi, chat, chat-application, chatbot, chatgpt, gpt, gpt-35-turbo, gpt-4, llm-agent, llm-framework, llm-inference, llmops
- Language: Jupyter Notebook
- Homepage: https://microsoft.github.io/autogen/
- Size: 127 MB
- Stars: 32,398
- Watchers: 387
- Forks: 4,721
- Open Issues: 508
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION.cff
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
- awesome-generative-ai - AutoGen - AutoGen is a framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks. (Agents / Autonomous agents)
- awesome-production-machine-learning - AutoGen - AutoGen is an open-source framework for building AI agent systems. (Agentic Workflow)
- awesome-gpt - https://github.com/microsoft/autogen
- awesome-lowcode - AutoGen - AutoGen is a framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks. (AI)
- awesome-langchain-zh - Autogen
- jimsghstars - microsoft/autogen - A programming framework for agentic AI 🤖 PyPi: autogen-agentchat Discord: https://aka.ms/autogen-discord Office Hour: https://aka.ms/autogen-officehour (Jupyter Notebook)
- awesome-ml-python-packages - AutoGen
- StarryDivineSky - microsoft/autogen - core是按照actor 模型构建的。它支持代理和基于事件的工作流程之间的异步消息传递。核心层中的代理使用直接消息传递(其功能类似于 RPC)或通过广播到主题(即发布-订阅)来处理和生成类型化消息。代理可以分布并用不同的编程语言实现,同时仍然可以相互通信。如果您正在构建可扩展的事件驱动代理系统,请从这里开始。 (A01_文本生成_文本对话 / 大语言对话模型及数据)
- awesome-AI-driven-development - autogen - A programming framework for agentic AI. (Uncategorized / Uncategorized)
- awesome-ChatGPT-repositories - autogen - Enable Next-Gen Large Language Model Applications. Join our Discord: https://discord.gg/pAbnFJrkgZ (Chatbots)
- Awesome-AGI - autogen
- ai-game-devtools - AutoGen - Gen Large Language Model Applications. |[arXiv](https://arxiv.org/abs/2308.08155) | | Agent | (<span id="game">Game (Agent)</span> / <span id="tool">Tool (AI LLM)</span>)
- awesome-ai - Autogen - A programming framework developed by Microsoft for agentic AI. (Agent)
- awesome-ai - Autogen - A programming framework developed by Microsoft for agentic AI. (Agent)
- stars - microsoft/autogen - Enable Next-Gen Large Language Model Applications. Join our Discord: https://discord.gg/pAbnFJrkgZ (Jupyter Notebook)
- awesome-LLM-resourses - AutoGen - studio.com/) (智能体 Agents)
- awesome-langchain - Autogen - Gen Large Language Model Applications. (Other LLM Frameworks / Videos Playlists)
- awesome-autonomous-gpt - 2023/09/19 - Enable Next-Gen Large Language Model Applications. (Projects / Applications)
- awesome-chatgpt - microsoft/autogen - AutoGen is a Python library, sdk, and framework for building next-gen Large Language Model (LLM) applications that enable multi-agent conversations to solve tasks with minimal effort. (SDK, Libraries, Frameworks / Python)
- awesome-generative-ai - AutoGen - AutoGen is a framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks. (Agents / Autonomous agents)
- awesome-ai - AutoGen - AutoGen is a framework that enables the development of LLM applications using multiple agents that can converse with each other to solve tasks. (Coding / Autonomous agents)
- awesome-hacking-lists - microsoft/autogen - A programming framework for agentic AI 🤖 (Jupyter Notebook)
- Awesome-AITools - Github
- awesome - microsoft/autogen - A programming framework for agentic AI 🤖 PyPi: autogen-agentchat Discord: https://aka.ms/autogen-discord Office Hour: https://aka.ms/autogen-officehour (Python)
- awesome-agents - Autogen - Gen Large Language Model Applications. ![GitHub Repo stars](https://img.shields.io/github/stars/microsoft/autogen?style=social) (Frameworks)
- my-awesome-starred - microsoft/autogen - A programming framework for agentic AI 🤖 PyPi: autogen-agentchat Discord: https://aka.ms/autogen-discord Office Hour: https://aka.ms/autogen-officehour (Python)
- awesome-genai - AutoGen - A programming framework for agentic AI. [![Forks](https://img.shields.io/github/forks/microsoft/autogen?style=social)](https://github.com/microsoft/autogen/network/members) [![Stars](https://img.shields.io/github/stars/microsoft/autogen?style=social)](https://github.com/microsoft/autogen/stargazers) (Tools & Frameworks / Development Frameworks)
- awesome-genai - AutoGen - A programming framework for agentic AI. [![Forks](https://img.shields.io/github/forks/microsoft/autogen?style=social)](https://github.com/microsoft/autogen/network/members) [![Stars](https://img.shields.io/github/stars/microsoft/autogen?style=social)](https://github.com/microsoft/autogen/stargazers) (Tools & Frameworks / Development Frameworks)
- awesome-generative-ai-data-scientist - AutoGen
- alan_awesome_llm - AutoGen - studio.com/) (Agents)
- alan_awesome_llm - AutoGen - studio.com/) (Agents)
- awesome-agi-agents - autogen
- awesome-agi-agents - autogen
- awesome_ai_agents - AutoGen by Microsoft - AutoGen is a multi-agent conversation framework facilitating the development of next-gen LLM applications, highlighted by various accomplishments and offering enhanced LLM inferences, customizable agents, and comprehensive documentation [github](https://github.com/microsoft/autogen) | [video](https://www.youtube.com/watch?v=DXhqhpHWRuM) (Learning / Repositories)
- awesome_ai_agents - AutoGen Studio by Microsoft - AutoGen Studio 2.0 is Microsoft's advanced AI development tool, offering a user-friendly interface, powerful Python API, and comprehensive features for creating and controlling AI agents and workflows [github](https://github.com/microsoft/autogen) | [website](https://autogen-studio.com) | [landing page](https://www.microsoft.com/en-us/research/project/autogen/) | [research paper](https://www.microsoft.com/en-us/research/publication/autogen-enabling-next-gen-llm-applications-via-multi-agent-conversation-framework/) (Learning / Repositories)
- Awesome-Local-LLM - _Website_ - discord) | [_Docs_](https://microsoft.github.io/autogen/docs/Getting-Started) (Agents)
- Awesome-Local-LLM - _Website_ - discord) | [_Docs_](https://microsoft.github.io/autogen/docs/Getting-Started) (Agents)
- awesome-ai-agents - AutoGen
- awesome-rainmana - microsoft/autogen - A programming framework for agentic AI 🤖 PyPi: autogen-agentchat Discord: https://aka.ms/autogen-discord Office Hour: https://aka.ms/autogen-officehour (Python)
- AiTreasureBox - microsoft/autogen - 02-07_38943_50](https://img.shields.io/github/stars/microsoft/autogen.svg)|Enable Next-Gen Large Language Model Applications. Join our Discord: https://discord.gg/pAbnFJrkgZ| (Repos)
- awesome-llm-agent - AutoGen
- awesome-agents - autogen - agentchat Discord: https://aka.ms/autogen-discord Office Hour: https://aka.ms/autogen-officehour | framework | 38,334 | 5,598 | 672 | 404 | 0 days, 9 hrs, 2 mins | 70 | Creative Commons Attribution 4.0 International | (Table of Open-Source AI Agents Projects)
- awesome-ai-agents - AutoGen
- awesome-ai-agents - microsoft/autogen
- awesome-agents - autogen - agentchat Discord: https://aka.ms/autogen-discord Office Hour: https://aka.ms/autogen-officehour | framework | 38,334 | 5,598 | 672 | 404 | 0 days, 9 hrs, 2 mins | 70 | Creative Commons Attribution 4.0 International | (Table of Open-Source AI Agents Projects)
README
![]()
[![Twitter](https://img.shields.io/twitter/url/https/twitter.com/cloudposse.svg?style=social&label=Follow%20%40pyautogen)](https://twitter.com/pyautogen)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-Company?style=flat&logo=linkedin&logoColor=white)](https://www.linkedin.com/company/105812540)
[![Discord](https://img.shields.io/badge/discord-chat-green?logo=discord)](https://aka.ms/autogen-discord)
[![Documentation](https://img.shields.io/badge/Documentation-AutoGen-blue?logo=read-the-docs)](https://microsoft.github.io/autogen/)
[![Blog](https://img.shields.io/badge/Blog-AutoGen-blue?logo=blogger)](https://devblogs.microsoft.com/autogen/)
Important: This is the official project. We are not affiliated with any fork or startup. See our statement.# AutoGen
**AutoGen** is a framework for creating multi-agent AI applications that can act autonomously or work alongside humans.
## Installation
AutoGen requires **Python 3.10 or later**.
```bash
# Install AgentChat and OpenAI client from Extensions
pip install -U "autogen-agentchat" "autogen-ext[openai]"
```The current stable version is v0.4. If you are upgrading from AutoGen v0.2, please refer to the [Migration Guide](https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/migration-guide.html) for detailed instructions on how to update your code and configurations.
```bash
# Install AutoGen Studio for no-code GUI
pip install -U "autogenstudio"
```## Quickstart
### Hello World
Create an assistant agent using OpenAI's GPT-4o model. See [other supported models](https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/tutorial/models.html).
```python
import asyncio
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.models.openai import OpenAIChatCompletionClientasync def main() -> None:
agent = AssistantAgent("assistant", OpenAIChatCompletionClient(model="gpt-4o"))
print(await agent.run(task="Say 'Hello World!'"))asyncio.run(main())
```### Team
Create a group chat team with an assistant agent, a web surfer agent, and a user proxy agent
for web browsing tasks. You need to install [playwright](https://playwright.dev/python/docs/library).```python
# pip install -U autogen-agentchat autogen-ext[openai,web-surfer]
# playwright install
import asyncio
from autogen_agentchat.agents import AssistantAgent, UserProxyAgent
from autogen_agentchat.conditions import TextMentionTermination
from autogen_agentchat.teams import RoundRobinGroupChat
from autogen_agentchat.ui import Console
from autogen_ext.models.openai import OpenAIChatCompletionClient
from autogen_ext.agents.web_surfer import MultimodalWebSurferasync def main() -> None:
model_client = OpenAIChatCompletionClient(model="gpt-4o")
assistant = AssistantAgent("assistant", model_client)
web_surfer = MultimodalWebSurfer("web_surfer", model_client)
user_proxy = UserProxyAgent("user_proxy")
termination = TextMentionTermination("exit") # Type 'exit' to end the conversation.
team = RoundRobinGroupChat([web_surfer, assistant, user_proxy], termination_condition=termination)
await Console(team.run_stream(task="Find information about AutoGen and write a short summary."))asyncio.run(main())
```### AutoGen Studio
Use AutoGen Studio to prototype and run multi-agent workflows without writing code.
```bash
# Run AutoGen Studio on http://localhost:8080
autogenstudio ui --port 8080 --appdir ./my-app
```## Why Use AutoGen?
![]()
The AutoGen ecosystem provides everything you need to create AI agents, especially multi-agent workflows -- framework, developer tools, and applications.
The _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.
- [Core API](./python/packages/autogen-core/) 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.
- [AgentChat API](./python/packages/autogen-agentchat/) implements a simpler but opinionated API rapid for 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 familiar multi-agent patterns such as two-agent chat or group chats.
- [Extensions API](./python/packages/autogen-ext/) 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.The ecosystem also supports two essential _developer tools_:
![]()
- [AutoGen Studio](./python/packages/autogen-studio/) provides a no-code GUI for building multi-agent applications.
- [AutoGen Bench](./python/packages/agbench/) provides a benchmarking suite for evaluating agent performance.You can use the AutoGen framework and developer tools to create applications for your domain. For example, [Magentic-One](./python/packages/magentic-one-cli/) is a state-of-art multi-agent team built using AgentChat API and Extensions API that can handle variety of tasks that require web browsing, code execution, and file handling.
With AutoGen you get to join and contribute to a thriving ecosystem. We host weekly office hours and talks with maintainers and community. We also have a [Discord server](https://aka.ms/autogen-discord) for real-time chat, GitHub Discussions for Q&A, and a blog for tutorials and updates.
## Where to go next?
| | [![Python](https://img.shields.io/badge/AutoGen-Python-blue?logo=python&logoColor=white)](./python) | [![.NET](https://img.shields.io/badge/AutoGen-.NET-green?logo=.net&logoColor=white)](./dotnet) | [![Studio](https://img.shields.io/badge/AutoGen-Studio-purple?logo=visual-studio&logoColor=white)](./python/packages/autogen-studio) |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Installation | [![Installation](https://img.shields.io/badge/Install-blue)](https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/installation.html) | \* | [![Install](https://img.shields.io/badge/Install-purple)](https://microsoft.github.io/autogen/stable/user-guide/autogenstudio-user-guide/installation.html) |
| Quickstart | [![Quickstart](https://img.shields.io/badge/Quickstart-blue)](https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/quickstart.html#) | \* | [![Usage](https://img.shields.io/badge/Quickstart-blue)](https://microsoft.github.io/autogen/stable/user-guide/autogenstudio-user-guide/usage.html#) |
| Tutorial | [![Tutorial](https://img.shields.io/badge/Tutorial-blue)](https://microsoft.github.io/autogen/stable/user-guide/agentchat-user-guide/tutorial/index.html) | \* | [![Usage](https://img.shields.io/badge/Quickstart-blue)](https://microsoft.github.io/autogen/stable/user-guide/autogenstudio-user-guide/usage.html#) |
| API Reference | [![API](https://img.shields.io/badge/Docs-blue)](https://microsoft.github.io/autogen/stable/reference/index.html#) | \* | [![API](https://img.shields.io/badge/Docs-purple)](https://microsoft.github.io/autogen/stable/user-guide/autogenstudio-user-guide/usage.html) |
| Packages | [![PyPi autogen-core](https://img.shields.io/badge/PyPi-autogen--core-blue?logo=pypi)](https://pypi.org/project/autogen-core/)
[![PyPi autogen-agentchat](https://img.shields.io/badge/PyPi-autogen--agentchat-blue?logo=pypi)](https://pypi.org/project/autogen-agentchat/)
[![PyPi autogen-ext](https://img.shields.io/badge/PyPi-autogen--ext-blue?logo=pypi)](https://pypi.org/project/autogen-ext/) | \* | [![PyPi autogenstudio](https://img.shields.io/badge/PyPi-autogenstudio-purple?logo=pypi)](https://pypi.org/project/autogenstudio/) |\*_Releasing soon_
Interested in contributing? See [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines on how to get started. We welcome contributions of all kinds, including bug fixes, new features, and documentation improvements. Join our community and help us make AutoGen better!
Have questions? Check out our [Frequently Asked Questions (FAQ)](./FAQ.md) for answers to common queries. If you don't find what you're looking for, feel free to ask in our [GitHub Discussions](https://github.com/microsoft/autogen/discussions) or join our [Discord server](https://aka.ms/autogen-discord) for real-time support. You can also read our [blog](https://devblogs.microsoft.com/autogen/) for updates.
## Legal Notices
Microsoft and any contributors grant you a license to the Microsoft documentation and other content
in this repository under the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/legalcode),
see the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https://opensource.org/licenses/MIT), see the
[LICENSE-CODE](LICENSE-CODE) file.Microsoft, Windows, Microsoft Azure, and/or other Microsoft products and services referenced in the documentation
may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries.
The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks.
Microsoft's general trademark guidelines can be found at .Privacy information can be found at
Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents,
or trademarks, whether by implication, estoppel, or otherwise.