⚠️ This is documentation for AG2 Classic (autogen package), which is in maintenance mode. For the latest version, use AG2 v1.0+ (ag2 package) at docs.ag2.ai.

The Open-Source AgentOS

Build production-ready AI agents in minutes, not months.

You're viewing the AG2 Classic docs. Classic is the autogen package and is now in maintenance mode — receiving only critical and security updates.

For new projects, use AG2 v1.0+ (the ag2 package). Read the latest docs at docs.ag2.ai.

City Horizon Sun Cloud Cloud

The Open-Source Operating System for Agentic AI

Simple and intuitive syntax icon

Simple and intuitive syntax

Built-in conversation patterns icon

Built-in conversation patterns

Seamless Human-AI collaboration icon

Seamless Human-AI collaboration