SDKs
SDKs
Client libraries for Solvela — TypeScript, Python, Go, Rust CLI, and MCP
Official SDKs are available for four languages plus an MCP server. All SDKs handle the x402 payment handshake automatically — pass a private key and the SDK signs transactions for you.
Note
@solvela/sdk@0.2.2 (published 2026-05-14) ships the v2 wire-format fix and is wire-aligned with the live gateway. Pin to ^0.2.2 — earlier 0.2.x releases predate the v2 payment envelope and will not complete a real payment against api.solvela.ai.
Comparison
| Language | Package | Install | x402 Auto-payment | Async |
|---|---|---|---|---|
| TypeScript | @solvela/sdk | npm install @solvela/sdk@^0.2.2 | Yes | Yes |
| Python | solvela-sdk | pip install solvela-sdk | Yes | Yes (async-only) |
| Go | github.com/solvela-ai/solvela/sdks/go | go get github.com/solvela-ai/solvela/sdks/go | Yes (BYO Signer) | Yes (context-based) |
| Rust CLI | solvela-cli | cargo install solvela-cli | Yes | — |
| MCP Server | (in-monorepo, not on npm) | see MCP page | Yes | — |
Source code
All four language SDKs live in the solvela-ai/solvela monorepo under sdks/. The standalone single-SDK repositories were consolidated and archived 2026-05-12; legacy clone URLs redirect to the new monorepo paths.
- TypeScript/Node.js SDK —
sdks/typescript/ - Python SDK (async-only) —
sdks/python/ - Go SDK —
sdks/go/ - MCP server —
sdks/mcp/ - Vercel AI SDK provider, OpenClaw provider, npm CLI shim, signer-core primitives —
sdks/ai-sdk-provider/,sdks/openclaw-provider/,sdks/cli-npm/,sdks/signer-core/
The Rust client SDK was consolidated into the monorepo on 2026-05-16 (#316) at sdks/rust/; the standalone solvela-ai/solvela-client repo is archived. The four legacy Rust crates (solvela-client, solvela-client-cli, solvela-client-cli-args, solvela-client-proxy) remain published on crates.io at 0.2.1 — cargo install solvela-client-cli still works. The monorepo's flagship CLI is solvela-cli (cargo install solvela-cli); a monorepo-native publish workflow for the four legacy crates is the remaining runbook step.