autogen/website/docs/ecosystem/agentops.md
Installation  AgentOps works seamlessly with applications built using Autogen.  1. **Install AgentOps** ```bash pip install agentops ```  2. **Create an API Key:** Create a user API key here: [Create API Key](https://app.agentops.ai/settings/projects)  3. **Configure Your Environment:** Add your API key to your environment variables  ``` AGENTOPS_API_KEY=<YOUR_AGENTOPS_API_KEY> ```  4. **Initialize AgentOps**  To start tracking all available data on Autogen runs, simply add two lines of code before implementing Autogen.  ```python import agentops agentops.init() # Or: agentops.init(api_key="your-api-key-here") ```  After initializing AgentOps, Autogen will now start automatically tracking your agent runs. 