SDKs
SDKs
Client libraries for Solvela — TypeScript, Python, Go, Rust CLI, MCP, and the Claude Code drop-in sidecar
Official SDKs are available for four languages, plus an MCP server and a Claude Code drop-in sidecar. All SDKs handle the x402 payment handshake automatically — pass a private key and the SDK signs transactions for you.
Note
@solvela/sdk@0.3.0 converts post-signing 402s to PaymentRejectedError on both paths, atop 0.2.4's opt-in escrow-program-id pinning and the native escrow-deposit signing from 0.2.3, and is wire-aligned with the live gateway. Pin to ^0.3.0 — 0.2.x releases before 0.2.2 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.3.0 | Yes | Yes |
| Python | solvela-sdk | pip install "solvela-sdk>=0.3.0" | Yes | Yes (async-only) |
| Go | github.com/solvela-ai/solvela/sdks/go | go get github.com/solvela-ai/solvela/sdks/go | Yes (built-in KeypairSigner, escrow scheme; exact needs a custom Signer) | Yes (context-based) |
| Rust CLI | solvela-cli | cargo install solvela-cli | Yes | — |
| MCP Server | @solvela/mcp-server | npm install -g @solvela/mcp-server | Yes | — |
| Claude Code sidecar | @solvela/dropin | npx solvela-dropin | Yes (spend-down channel vouchers) | — |
| Signer primitives | @solvela/signer-core | npm install @solvela/signer-core | Library — x402 signing + channel ChannelTracker | — |
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/ - Claude Code drop-in sidecar (
@solvela/dropin) —sdks/dropin/ - Signer primitives (
@solvela/signer-core— x402 payment signing, 402 parsing, spend-down channel vouchers) —sdks/signer-core/ - Vercel AI SDK provider, OpenClaw provider, npm CLI shim —
sdks/ai-sdk-provider/,sdks/openclaw-provider/,sdks/cli-npm/
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 (currently 0.4.0) — cargo install solvela-client-cli still works, and they now publish from the monorepo via a tag-triggered workflow. The monorepo's flagship CLI is solvela-cli (cargo install solvela-cli).