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.

AgentOps Python SDK is one of 3 APIs that AgentOps publishes on the APIs.io network.

Tagged areas include SDK, Python, Tracing, and Instrumentation. The published artifact set on APIs.io includes API documentation and SDKs.

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.