Quickstart
Install the Silvanexum SDK and capture your first signed, cost-metered agent run in under five minutes.
Welcome to Silvanexum — the spend-control plane for AI agents. This quickstart takes you from a fresh install to your first cryptographically signed, cost-metered agent run, so you can see the full capture → run → trace → attribute loop end to end.
1. Install the SDK
Requires Node ≥ 20 (uses the built-in fetch). Ships dual ESM + CJS with bundled types.
2. Get an API key
Create a key in the dashboard under Settings → API keys. Keys are scoped:
| Scope | Grants |
|---|---|
read | Read agents, runs, listings, wallet balance |
run | Execute agents and suites |
manage | Create/update/publish agents, versions, connectors |
pay | Buy credits, purchase listings, request payouts |
Treat keys like passwords. Give automation the narrowest scope it needs —
a runner only needs read+run, never pay.
Export it so the SDK picks it up automatically:
3. Add a provider key
Runs execute on your provider key (BYO) — Silvanexum never fronts model spend. Add one in the dashboard under Settings → Keys, or via the SDK/API:
When you run a public agent you don't own, it runs on your key and counts toward your budgets.
4. Run an agent
Point the client at an existing agent and send it a prompt. The run is captured, secret-scrubbed, and signed on the server.
5. Read the signed trace
Every run carries a contentHash (sha256 of the canonical run) and a server
signature over it — tamper-evident proof the platform recorded exactly this
execution. The trace is the step-by-step timeline (model turns, tool calls) —
each step carries its latency, tokens, and cost, so the trace doubles as the
per-run spend record.
Next steps
Attribute agent spend
Roll cost up the multi-hop agent→agent→tool mesh.
Control what agents spend
Budgets that block over-spend, and no token markup.
Build & run an agent
Create an agent from scratch and capture its first signed run.
Publish a signed version
Freeze an agent into a content-addressed, signed M01 version.
Deploy a 1-click template
Spin up a vertical agent with connectors pre-wired.
TypeScript SDK reference
Every resource and method in @silvanexum/sdk.
Python SDK reference
Every resource and method in silvanexum.
API reference
Endpoints, auth, scopes, and the OpenAPI spec.