Set Up the SDK
1
Create an API Key
- CLI
- Webapp
2
Install the SDK
- Python
- JavaScript
3
Initialize the SDK
- Python
- JavaScript
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:
- Python
- JavaScript
5
View Your Traces
- CLI
- Webapp
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.

