diff --git a/docs/v2/integrations/ag2.mdx b/docs/v2/integrations/ag2.mdx index 948c8be21..2c3a5ce9c 100755 --- a/docs/v2/integrations/ag2.mdx +++ b/docs/v2/integrations/ag2.mdx @@ -9,16 +9,20 @@ description: "Track and analyze your AG2 agents with AgentOps" ```bash pip - pip install agentops pyautogen + pip install agentops ag2 ``` ```bash poetry - poetry add agentops pyautogen + poetry add agentops ag2 ``` ```bash uv - uv pip install agentops pyautogen + uv pip install agentops ag2 ``` +> ⚠️ **Important:** `pyautogen` is deprecated. `ag2` is now the recommended package. +> +> **API Migration:** The `ag2` package uses a different API than `pyautogen`. The examples below use the legacy `autogen` API and will be updated in a future version. For the current `ag2` API, see the [AG2 documentation](https://docs.ag2.ai/). + ## Setting Up API Keys Before using AG2 with AgentOps, you need to set up your API keys. You can obtain: