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: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 asweather_agent.py, then run it normally:
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
- Use the SDK for subtraces, durable traces and trace IDs, lessons, and metadata.
- API reference for the exact public surface.
- Troubleshooting for missing traces or steps.