> ## Documentation Index
> Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AG2

> AG2 is an open-source Python framework for building multi-agent LLM applications, with agents, tools, middleware, and multi-agent networks

<Card title="AG2" href="https://github.com/ag2ai/ag2" icon="globe" horizontal>
  [](https://github.com/ag2ai/ag2)
</Card>

AG2 1.x is a ground-up redesign of the framework, built around an `Agent` primitive, a
middleware pipeline, and multi-agent networks. It ships as the `ag2` package and is imported as
`ag2`.

The 0.x line — imported as `autogen` — is maintained as **[AG2 Classic](https://github.com/ag2ai/ag2classic)** and uses a different
API built around `ConversableAgent`. Both lines can be traced in Phoenix, through different
mechanisms; see the tracing guide below.

<Columns cols={2}>
  <Card horizontal title="AG2 Tracing" href="/docs/phoenix/integrations/python/ag2/ag2-tracing" />
</Columns>
