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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sovara-0.11.1-py3-none-any.whl | Python 3 | none | any | Details for sovara-0.11.1-py3-none-any.whl |
Release files / sovara-0.11.1-py3-none-any.whl
| Download URL | sovara-0.11.1-py3-none-any.whl |
|---|---|
| Size | 120.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a02043c7946aaab3d866bafc93352483f7c834f306b7747579d846fa4777e51
|
|
BLAKE2b-256 checksum How to use checksums |
0d5c0b56b7859f2b214f913d51341fe6b15bc556a48f2f2390c3648e8370f2ff
|
| 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 logSecurity for sovara 0.11.1
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.1-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 logA 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.