Skip to main content

Sovara Python SDK

Sovara helps teams manage domain knowledge and put it to work in AI agents. Capture business rules, expert guidance, and lessons from experience in a shared knowledge base. Deliver relevant knowledge to agents as they work, review how they use it, and improve it together.

Use this SDK to connect your Python agents to Sovara.

Knowledge is stored as lessons: guidance paired with when an agent should use it. Share customer-support policies, operational procedures, or domain-specific decision rules across agents.

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()

Enable knowledge injection to apply your team's lessons to supported model calls. Inspect recorded runs to see which lessons were used.

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

Set SOVARA_API_KEY or pass api_key to SovaraClient. See the API-key guide for setup and permissions.

Metadata

Release files for sovara 0.11.2

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.2
File Interpreter ABI Platform Actions
sovara-0.11.2-py3-none-any.whl Python 3 none any Details for sovara-0.11.2-py3-none-any.whl

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

Download URL sovara-0.11.2-py3-none-any.whl
Size 121.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ed858b71e1e11ba7f59aad6a43f906b0ca9988a2e5146b614dec32c055d1478
BLAKE2b-256 checksum
How to use checksums
85644d9410ba20bc9562ef3ec07ce83d28fd2d6d05c4b19cb0a271bd49d99ec0
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 21, 2026.

Transparency log

Security for sovara 0.11.2

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.2-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 21, 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.2 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