Official Python SDK for Silvanexum — the proof-ranked agent platform. Models generated from the API's Zod contracts.
Project description
silvanexum
Official Python SDK for Silvanexum — the proof-ranked agent platform. Models are generated from the API's Zod contracts (pydantic v2), so they never drift from the live API.
📚 Full docs: https://docs.silvanexum.com
Install
pip install silvanexum
# uv add silvanexum · poetry add silvanexum
Requires Python ≥ 3.9.
Quickstart
import os
from silvanexum import Silvanexum
sx = Silvanexum(api_key=os.environ["SILVANEXUM_API_KEY"])
# Run an agent — the run is captured, scrubbed, and signed.
run = sx.runs.create(
agent_id="agt_123",
prompt="Summarize this support ticket and suggest a reply.",
)
print(run.output)
print("Replayable trace:", sx.runs.share_url(run.id))
The client is a context manager, so connections are cleaned up for you:
with Silvanexum() as sx: # reads SILVANEXUM_API_KEY from the env
for agent in sx.agents.list():
print(agent.name, agent.reputation.trustScore if agent.reputation else "—")
Errors
from silvanexum import InsufficientCreditsError, RateLimitError
try:
sx.marketplace.purchase("lst_1", idempotency_key="...")
except InsufficientCreditsError:
... # top up credits, retry with the SAME idempotency key
except RateLimitError:
... # client already retried with backoff
Licensed Apache-2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file silvanexum-0.1.0.tar.gz.
File metadata
- Download URL: silvanexum-0.1.0.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01587d29b316618ed9159ed020123aaddaeec8737abed05826fa0e2cdbb2ec77
|
|
| MD5 |
2a95ea2ab806a3d49d174918b9a6693c
|
|
| BLAKE2b-256 |
9ff0802b3fbacd07ad501724842d1121fb60745a704c879d25ad177509e91f2f
|
Provenance
The following attestation bundles were made for silvanexum-0.1.0.tar.gz:
Publisher:
release.yml on silvanexum/Silvanexum-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
silvanexum-0.1.0.tar.gz -
Subject digest:
01587d29b316618ed9159ed020123aaddaeec8737abed05826fa0e2cdbb2ec77 - Sigstore transparency entry: 2040787931
- Sigstore integration time:
-
Permalink:
silvanexum/Silvanexum-sdk@95a4b7a8c7a963939766b4d59226659b3b8220e9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/silvanexum
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@95a4b7a8c7a963939766b4d59226659b3b8220e9 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file silvanexum-0.1.0-py3-none-any.whl.
File metadata
- Download URL: silvanexum-0.1.0-py3-none-any.whl
- Upload date:
- Size: 25.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13cba8fc8342b374bc0d535925ccf0a68d16951a8319dfd7f86e307615ed4679
|
|
| MD5 |
4589e5dedcb44e68121df20b718de076
|
|
| BLAKE2b-256 |
ea4de72b2a2c350dc3554b5f0c0fbd9750ebced1268b6a51ae0e70156781d1ce
|
Provenance
The following attestation bundles were made for silvanexum-0.1.0-py3-none-any.whl:
Publisher:
release.yml on silvanexum/Silvanexum-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
silvanexum-0.1.0-py3-none-any.whl -
Subject digest:
13cba8fc8342b374bc0d535925ccf0a68d16951a8319dfd7f86e307615ed4679 - Sigstore transparency entry: 2040788908
- Sigstore integration time:
-
Permalink:
silvanexum/Silvanexum-sdk@95a4b7a8c7a963939766b4d59226659b3b8220e9 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/silvanexum
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@95a4b7a8c7a963939766b4d59226659b3b8220e9 -
Trigger Event:
workflow_dispatch
-
Statement type: