AgentOps is a Python SDK for monitoring AI agents, tracking LLM costs and benchmarking. It records session replays and step-by-step execution graphs, and integrates with CrewAI, AG2, Agno, LangGraph, LangChain and more.
Install with pip install agentops, call agentops.init() with your API key at the start and agentops.end_session() at the end. There is a self-hosting option, and the SDK is MIT licensed.