Skip to main content

Set Up the SDK

1

Create an API Key

Keep your API key secure. Never commit it to version control.
2

Install the SDK

Requires Python 3.10+.
3

Initialize the SDK

4

Trace Your LLM Calls

The SDK automatically instruments LLM calls from OpenAI, Anthropic, and other providers. Add workflow and task structure to your traces:
5

View Your Traces

Next Steps

Python Configuration

Configure the Python SDK.

JavaScript Configuration

Configure the JavaScript SDK.

Distributed Tracing

Learn about tracing and span attributes.

Cost Tracking

Monitor your AI spend.