AgentOps Python SDK

The AgentOps Python SDK is the primary entry point, installable via pip install agentops and initialized with two lines of code. It auto-instruments supported agent frameworks and LLM providers, supports custom traces via the @trace decorator, and ships events to the AgentOps backend or a self-hosted deployment.

API entry from apis.yml

apis.yml Raw ↑
aid: agentops:agentops-python-sdk
name: AgentOps Python SDK
tags:
- SDK
- Python
- Tracing
- Instrumentation
humanURL: https://docs.agentops.ai/
properties:
- url: https://docs.agentops.ai/
  type: Documentation
- url: https://github.com/AgentOps-AI/agentops
  type: SourceCode
- url: https://pypi.org/project/agentops/
  type: SDK
description: The AgentOps Python SDK is the primary entry point, installable via pip install agentops
  and initialized with two lines of code. It auto-instruments supported agent frameworks and LLM providers,
  supports custom traces via the @trace decorator, and ships events to the AgentOps backend or a self-hosted
  deployment.