AutoGen

Stale
GitHub Python CC-BY-4.0

Description

Microsoft AutoGen is a multi-agent conversation framework that lets you create multiple agents to collaborate through dialogue and solve complex tasks.

Key Features

  • Multi-agent conversation framework — create multiple agents to collaboratively solve complex tasks through dialogue
  • MCP server integration — external capabilities like web browsing and file operations via Playwright MCP tools
  • AgentTool orchestration — wrap agents as tools for multi-tier expert system collaboration
  • AutoGen Studio — no-code GUI for rapid prototyping and running multi-agent workflows
  • Layered extensible architecture — Core, AgentChat, Extensions layers for different abstraction levels
  • Multi-model support — supports OpenAI, Anthropic, Google and other LLM backends with flexible switching

Use Cases

💡 Complex task decomposition: break hard problems into subtasks assigned to specialized agents (math, chemistry, etc.)
💡 Automated research assistant: multi-agent collaboration for literature search, data analysis, and report generation
💡 Code review pipeline: agents separately analyze code quality, security, and performance then aggregate findings
💡 No-code agent prototyping: rapidly build and test multi-agent workflows through AutoGen Studio
💡 Human-AI collaboration: agents handle repetitive work while human experts focus on decision-making

Strengths & Limitations

Strengths

  • High community interest (60.5k stars)
  • Established track record (3 years in production)

⚠️ Limitations

  • No clear open-source license

Quick Start

# Install AutoGen AgentChat and OpenAI extension
pip install -U "autogen-agentchat" "autogen-ext[openai]"

# Set OpenAI API key
export OPENAI_API_KEY="sk-..."

# Run Hello World example
python -c "
import asyncio
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.models.openai import OpenAIChatCompletionClient

async def main():
    client = OpenAIChatCompletionClient(model='gpt-4.1')
    agent = AssistantAgent('assistant', model_client=client)
    print(await agent.run(task='Say Hello World!'))
    await client.close()

asyncio.run(main())
"

Related Projects

Microsoft Agent Framework

12.8k · Python
Active A

Microsoft's comprehensive multi-language framework for building, orchestrating, and deploying AI agents and multi-agent workflows with support for Python and .NET.

agent-frameworkmulti-agentworkflow +3
  • · Multi-language support — first-class Python and C#/.NET with consistent APIs
  • · Graph-based orchestration patterns: sequential, concurrent, handoff, and group collaboration
  • · OpenTelemetry built-in for distributed tracing, monitoring, and debugging

GPTeam

1.7k · Python
Active A

An open-source multi-agent simulation platform where multiple LLM-powered agents collaborate on complex tasks in shared environments, with customizable roles, memory systems, and environment interaction for studying multi-agent collaboration.

pythonmulti-agentagent +3
  • · GPT-4 powered multi-agent simulation with autonomous collaboration on predefined goals
  • · Agent memory and reflection system inspired by Generative Agents research paper
  • · Spatial movement: agents move between locations and perform tasks in different environments

Cultivation World Simulator

2.0k · Python
Active A

An open-source Cultivation World Simulator using Agentic Workflow to create a dynamic, emerging Xianxia world. Showcases multi-agent collaboration in complex scenarios.

multi-agentworkflowagent +1
  • · Every NPC is an independent LLM-driven agent with unique personality, memory, relationships, and decision-making logic
  • · Emergent storytelling with no preset scripts — sect wars, rivalries, and character arcs arise from world rules and AI interactions
  • · Rich cultivation world system including spirit roots, realms, techniques, sects, alchemy, artifacts, and martial tournaments

BettaFish

42.0k · Python
Active A+

An accessible multi-agent sentiment analysis assistant that breaks filter bubbles, reveals true public opinion, and predicts trends — built from scratch without external frameworks.

multi-agentagentpython +2
  • · Multi-agent Collaboration — Query/Media/Insight/Report agents collaborate through Forum mechanism
  • · Full-domain Social Monitoring — AI crawlers cover 30+ platforms including Weibo, Xiaohongshu, Douyin, Kuaishou
  • · Multimodal Content Analysis — Deep analysis of short videos, images and multimedia extracting structured info

Related Articles