Python SDK
Install and use the silvanexum package — a typed, pydantic-based client for Python 3.9+.
silvanexum is the official Python client. It targets Python ≥ 3.9, returns
fully typed pydantic v2 models, and mirrors the
TypeScript SDK method-for-method. All models are generated from the API's Zod
contracts.
The client is synchronous today (built on httpx). An async client is on
the roadmap.
Install
Construct the client
It's also a context manager, which closes the underlying HTTP connection pool:
Errors
Every failure raises a subclass of SilvanexumError carrying status, code,
body, and request_id.
sx.agents
sx.agents.versions — signed M01 versions
sx.runs
sx.templates (M11)
Template endpoints are part of the M11 P0 spec and may be planned (not yet
live) on your deployment — see the API reference.
sx.connectors
sx.marketplace, sx.wallet, sx.suites, sx.keys, sx.models, sx.team
Models are importable for type hints: from silvanexum import models →
models.AgentView, models.ExecutionView, etc.