# AutoGen — Multi-Agent Conversation Framework > Microsoft framework for building multi-agent conversational AI systems. Agents chat with each other to solve tasks. Supports tool use, code execution, and human feedback. 56K+ stars. ## Install Save as a script file and run: ## Quick Use ```bash pip install autogen-agentchat autogen-ext ``` ```python from autogen_agentchat.agents import AssistantAgent from autogen_ext.models.openai import OpenAIChatCompletionClient model = OpenAIChatCompletionClient(model="gpt-4o") agent = AssistantAgent("assistant", model_client=model) async def main(): response = await agent.run(task="What is the capital of France?") print(response.messages[-1].content) ``` --- ## Intro AutoGen is Microsoft's open-source framework for building multi-agent conversational AI. Agents can chat with each other, use tools, execute code, and get human feedback — collaborating to solve complex tasks that single agents can't handle alone. Supports customizable conversation patterns, nested chats, and teachable agents. 56,000+ GitHub stars, the most popular multi-agent framework. **Best for**: Building multi-agent systems where agents collaborate through conversation **Works with**: OpenAI, Anthropic, local models, Azure OpenAI --- ## Core Concepts ### Conversable Agents Every agent can send and receive messages, forming conversations: ```python assistant = AssistantAgent("coder", model_client=model) reviewer = AssistantAgent("reviewer", model_client=model, system_message="Review code for bugs and suggest improvements.") ``` ### Multi-Agent Teams Agents work together in teams with defined conversation patterns: ```python from autogen_agentchat.teams import RoundRobinGroupChat team = RoundRobinGroupChat([coder, reviewer, tester]) result = await team.run(task="Build a REST API for todos") ``` ### Code Execution Agents can write and execute code in sandboxed environments. ### Human-in-the-Loop Insert human approval at any point in the agent conversation. ### AutoGen Studio Visual UI for building and testing multi-agent workflows without code. --- ### FAQ **Q: What is AutoGen?** A: Microsoft's open-source multi-agent conversation framework. Agents collaborate through chat to solve complex tasks with tool use, code execution, and human feedback. 56K+ GitHub stars. **Q: How is AutoGen different from CrewAI?** A: AutoGen focuses on conversational patterns between agents (chat-based collaboration), while CrewAI uses role-based task delegation. AutoGen also includes code execution and AutoGen Studio for visual building. --- ## Source & Thanks > Created by [Microsoft](https://github.com/microsoft). Licensed under MIT. > [microsoft/autogen](https://github.com/microsoft/autogen) — 56,000+ GitHub stars --- Source: https://tokrepo.com/en/workflows/99cd6575-668b-4cbc-8b32-a3aa04138188 Author: Script Depot