Integrating Agno with AgentOps
AgentOps provides automatic instrumentation for your Agno agents to track all operations including agent interactions, team coordination, tool usage, and workflow execution.Prerequisites
-
Install AgentOps
Ensure you have the AgentOps package installed:
-
Authentication
Go to AgentOps and copy your API key
Logging Model Calls with AgentOps
This example demonstrates how to use AgentOps to log model calls.Notes
- Environment Variables: Ensure your environment variable is correctly set for the AgentOps API key.
- Initialization: Call
agentops.init()
to initialize AgentOps. - AgentOps Docs: AgentOps Docs