Start using AgentOps with just 2 lines of code
Install the AgentOps SDK
Add 2 lines of code
agentops.init
before calling any openai
, cohere
, crew
, etc models..env
variable for easy access.Run your agent
Clickable link to session
@operation
decorator, which will create spans that track function execution, parameters, and return values. These operations will be displayed in your session visualization alongside LLM calls.@agent
decorator.@session
decorator. Sessions serve as the root span for all operations.