Integrate Agno with AgentOps to send traces and logs to a centralized observability platform.
pip install agentops
export AGENTOPS_API_KEY=<your-api-key>
import agentops from agno.agent import Agent from agno.models.openai import OpenAIChat # Initialize AgentOps agentops.init() # Create and run an agent agent = Agent(model=OpenAIChat(id="gpt-4o")) response = agent.run("Share a 2 sentence horror story") # Print the response print(response.content)
agentops.init()
Was this page helpful?