sovseal-sdk (Python)
Official Python SDK for sovseal — client-side zero-knowledge state continuity and replication.
Installation
pip install sovseal-sdk
Quickstart
import os
from sovseal import AgentStateClient
# 1. Initialize client and 256-bit AES encryption key
client = AgentStateClient(
endpoint="https://api.sovseal.com",
api_key="your-api-key"
)
# 32-byte (256-bit) raw key bytes derived or generated locally
key_bytes = os.urandom(32)
# 2. Encrypt & Submit Zero-Knowledge State Snapshot
receipt = client.snapshot(
agent_id="agent-007",
sequence_number=1,
active_context={
"patient_id": "P-99482",
"notes": "Telehealth appointment scheduled for Tuesday."
},
key_bytes=key_bytes
)
print("Committed snapshot sequence:", receipt["sequence_number"])
# 3. Retrieve Latest Receipt
latest = client.restore(agent_id="agent-007")
print("Latest receipt:", latest)
Features
- Client-Side Zero-Knowledge Encryption: Uses AES-256-GCM (
cryptography) to encrypt payloads before transmission. - Canonical Serialization & Integrity: Computes SHA-256 canonical hash digests for snapshot verification.
- Python 3.9+ Compatibility: Fully typed async and synchronous support via
httpx.
License
Apache-2.0 © sovseal Protocol Contributors
Metadata
Release files for sovseal-sdk 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sovseal_sdk-1.0.0.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sovseal_sdk-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / sovseal_sdk-1.0.0.tar.gz
| Download URL | sovseal_sdk-1.0.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76042a6f98f0689efc5384cccc05753cf945382d8d49bfcc1be28b47315691b5
|
|
BLAKE2b-256 checksum How to use checksums |
06cfea591f54b8daa8a20c5a3df012ba778b4c39ca7d72c9010eb35b1f9e453a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / sovseal_sdk-1.0.0-py3-none-any.whl
| Download URL | sovseal_sdk-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
925b5b47a4413281d5202b41e680b0f9ba8c1616b21a4c998a124ea1b5cafe68
|
|
BLAKE2b-256 checksum How to use checksums |
0de0ee15a4c9f08703dc1e0b882915390df03542da186a5278e532d258de09b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|