Skip to main content

Install

The current release is 0.6.0. Upgrade an existing environment with:
On Ubuntu/Debian, if you get externally-managed-environment error, create a virtual environment first:

Optional Dependencies

Install extras for framework auto-tracking:
Additional integration extras are also available: agno, bedrock, gemini, llamaindex, pydantic-ai, and semantic-kernel. See the Agno, Bedrock, Gemini, LlamaIndex, Pydantic AI, and Semantic Kernel guides for setup details. Install the tracer extra for OpenTelemetry sessions, spans, and the optional GenAI input-emission API introduced in 0.6.0:

Recent releases

For 0.5.0, an explicitly self-hosted or localhost base_url keeps telemetry on that deployment. Set ingest_url when you need a separate collector endpoint. This routing behavior continues in 0.6.0.

Requirements

Configuration

The SDK can be configured via constructor arguments, environment variables, or a combination of both.

Environment Variables

Constructor vs Environment

Constructor arguments take precedence over environment variables:

Verify Installation

Next Steps

Client Reference

All constructor parameters and configuration options

Framework Guides

Auto-tracking for OpenAI, Anthropic, CrewAI, LangChain, AutoGen