AgentOps is a Python SDK that monitors AI agents, tracks LLM costs, and records sessions for debugging. It plugs into common agent frameworks and model providers.
Overview
AgentOps targets developers who build, evaluate, and monitor AI agents from early prototypes through production. The product centers on a Python SDK that instruments agents, tools, and LLM calls with minimal setup code.
Initializing the client can enable session analytics on LLM traffic. The offering includes replay-style views of agent runs, step-by-step execution graphs, and summaries of multi-step workflows. Spend tracking covers usage across supported foundation model providers.
Native integrations are documented for ecosystems such as CrewAI, AG2 (AutoGen), Agno, LangGraph, OpenAI Agents SDK, LangChain, LlamaIndex, LiteLLM, Anthropic, Cohere, Mistral, and others. Decorators can record inputs and outputs, handle exceptions, and support async and generator functions.
An open-source application stack (dashboard plus API backend) exists for teams that want to run the full platform themselves. Hosted dashboards and API keys remain the default path for many users evaluating sessions in a central UI.
Key features
- Session replay analytics
- LLM cost tracking
- Framework integrations
- Agent execution graphs
- Input and output recording
- Custom eval metrics roadmap
- Multi-session metrics
Use cases
- Debugging multi-agent workflows
- Monitoring LLM API spend
- Tracing tool and LLM events
- Evaluating agent prototypes