Skip to main content

Sovara Python SDK

Record supported LLM, MCP and tool calls, logs and custom spans.

uv add sovara
import sovara
from sovara import SovaraClient

sovara.auto_instrument()  # Before creating provider clients.
client = SovaraClient(project_name="My Project")
with client.trace("support-agent", trace_id="conversation-123"):
    with client.turn(turn_input="Hello"):
        run_agent()
  • auto_instrument(): records provider calls (httpx, requests, urllib3, aiohttp), MCP calls and Google ADK tools.
  • trace(), turn(), subtrace(): recording, interaction and child work.
  • @trace, start_step(), record_step(): calls that aren't recorded automatically.
  • open_recording() / resume_recording(): share one recording across processes.
  • sovara.integration: building blocks for integration packages.

Framework integrations are separate packages: sovara-langchain, sovara-openai-agents and sovara-claude-code (integrations).

Requires a Sovara server compatible with this SDK. The server is base_url, else SOVARA_SERVER_URL, else the server from sovara login.

Quickstart · Usage · API · Provider compatibility · Release policy

API keys

Use SOVARA_API_KEY with a project or organization key. Project keys are managed under Project settings → Project access; organization keys are managed under Organization settings → API Keys. Both support recording with optional lesson retrieval. Organization keys can access existing projects across their organization.

Configure the key on SovaraClient. See the API-key guide for examples, permissions, expiration, and replacement.

Metadata

Release files for sovara 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for sovara 0.11.0
File Interpreter ABI Platform Actions
sovara-0.11.0-py3-none-any.whl Python 3 none any Details for sovara-0.11.0-py3-none-any.whl

Release files / sovara-0.11.0-py3-none-any.whl

Download URL sovara-0.11.0-py3-none-any.whl
Size 120.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1958be932a840f1856c3ea54827776be77748f1b778935fe48a53d470e560c8
BLAKE2b-256 checksum
How to use checksums
6778689bece8bd9bd09a726d79f8bf55a99e0465fa67dc8312b40e82cbd39c97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for sovara 0.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for sovara-0.11.0-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.11.0 This release

1 release file Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page