Eric Zhu d96aaebc8d
Update agent documentation (#6394)
* Replace on_messages and on_messages_stream with run and run_stream to
unify interface documentation with teams
* Remove magentic-one-cli from homepage as it has not been maintained
and improved for a while.
2025-04-24 18:29:39 -07:00

4.6 KiB

myst html_theme.sidebar_secondary.remove sd_hide_title
html_meta
description lang=en
Top-level documentation for AutoGen, a framework for developing applications using AI agents
false true

AutoGen

AutoGen

A framework for building AI agents and applications

::::{grid} :gutter: 2

:::{grid-item-card} {fas}palette;pst-color-primary Studio PyPi autogenstudio :shadow: none :margin: 2 0 0 0 :columns: 12 12 12 12

An web-based UI for prototyping with agents without writing code. Built on AgentChat.

pip install -U autogenstudio
autogenstudio ui --port 8080 --appdir ./myapp

Start here if you are new to AutoGen and want to prototype with agents without writing code.

+++

:color: secondary

Get Started

:::

:::{grid-item-card} :shadow: none :margin: 2 0 0 0 :columns: 12 12 12 12

{fas}people-group;pst-color-primary AgentChat PyPi autogen-agentchat

A programming framework for building conversational single and multi-agent applications. Built on Core. Requires Python 3.10+.
# pip install -U "autogen-agentchat" "autogen-ext[openai]"
import asyncio
from autogen_agentchat.agents import AssistantAgent
from autogen_ext.models.openai import OpenAIChatCompletionClient

async def main() -> None:
    agent = AssistantAgent("assistant", OpenAIChatCompletionClient(model="gpt-4o"))
    print(await agent.run(task="Say 'Hello World!'"))

asyncio.run(main())

Start here if you are prototyping with agents using Python. Migrating from AutoGen 0.2?.

+++

:color: secondary

Get Started

:::

:::{grid-item-card} {fas}cube;pst-color-primary Core PyPi autogen-core :shadow: none :margin: 2 0 0 0 :columns: 12 12 12 12

An event-driven programming framework for building scalable multi-agent AI systems. Example scenarios:

  • Deterministic and dynamic agentic workflows for business processes.
  • Research on multi-agent collaboration.
  • Distributed agents for multi-language applications.

Start here if you are getting serious about building multi-agent systems.

+++

:color: secondary

Get Started

:::

:::{grid-item-card} {fas}puzzle-piece;pst-color-primary Extensions PyPi autogen-ext :shadow: none :margin: 2 0 0 0 :columns: 12 12 12 12

Implementations of Core and AgentChat components that interface with external services or other libraries. You can find and use community extensions or create your own. Examples of built-in extensions:

  • {py:class}~autogen_ext.tools.mcp.McpWorkbench for using Model-Context Protocol (MCP) servers.
  • {py:class}~autogen_ext.agents.openai.OpenAIAssistantAgent for using Assistant API.
  • {py:class}~autogen_ext.code_executors.docker.DockerCommandLineCodeExecutor for running model-generated code in a Docker container.
  • {py:class}~autogen_ext.runtimes.grpc.GrpcWorkerAgentRuntime for distributed agents.

+++

Discover Community Extensions Create New Extension

:::

::::

:maxdepth: 3
:hidden:

user-guide/agentchat-user-guide/index
user-guide/core-user-guide/index
user-guide/extensions-user-guide/index
Studio <user-guide/autogenstudio-user-guide/index>
reference/index