Skip to main content
Sovara records supported LLM, MCP, and explicitly traced tool calls inside an SDK trace. Every Python integration starts with one project-bound SovaraClient.

Install

Use Python 3.10+ and install the CLI for local recording. For remote setup, see the API reference. Install the example’s dependencies:
Set OPENAI_API_KEY in the environment before running the example. The model calls use your provider account and incur its normal API charges.

A complete example

Two child agents compare sample temperatures. Sovara records their model and tool calls; trace adds the comparison step. The weather values are demo data.
Use trace for custom operations; supported framework tools and MCP calls are recorded automatically. Use optional subtraces to group child agents.

Verify one trace

Save the example as weather_agent.py, then run it normally:
Open the weather-agent project and select Traces to inspect the recording. Open the trace to see both subtraces, their model and tool calls, and the comparison step. Logged input and output also appear in the Traces table.

Next steps