Silvanexumdocs

SDK Reference

Reference for the Silvanexum SDKs — the same capabilities across TypeScript and Python.

The Silvanexum SDKs give you a typed surface for capturing agents, triggering runs, reading signed traces, managing versions, settling on credits, and capping and attributing agent spend (Agent FinOps). The TypeScript and Python SDKs mirror each other, so concepts transfer directly between languages.

Both SDKs' request/response types are generated from the API's Zod contracts, so they can never drift from the live API.

TypeScriptPython
Package@silvanexum/sdk (npm)silvanexum (PyPI)
RuntimeNode ≥ 20Python ≥ 3.9
Importimport { Silvanexum } from "@silvanexum/sdk"from silvanexum import Silvanexum
ConventioncamelCase methods & fieldssnake_case methods, model fields as returned

Resource map

Every resource is reachable from the client (sx.<resource>.<method>):

ResourcePurpose
agentsCreate, configure, publish, fork agents · agents.versions for signed M01 versions
runsExecute agents, read signed/replayable traces, share runs
templates1-click vertical agent templates (M11)
connectorsAuthenticated third-party tools via Nango
marketplaceProof-ranked listing search, try, purchase, install
walletCredits, ledger, payouts (M10)
suitesRegression eval suites — the CI gate (M04)
keysBYO provider API keys
modelsModel catalog (static + live, key-scoped)
teamOrg members and projects
overviewOrg dashboard stats
budgetsSpend caps per org/project/agent; enforcement: "block" rejects over-budget runs server-side (Agent FinOps)
spendingCost attribution — summary / trends / meshTrace over real run telemetry (Agent FinOps)
gatewayZero-code OpenAI-compatible proxy that meters every call on your BYO key (Agent FinOps)

On this page