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

LanguagePackageInstallx402 Auto-paymentAsync
TypeScript@solvela/sdknpm install @solvela/sdk@^0.2.2YesYes
Pythonsolvela-sdkpip install solvela-sdkYesYes (async-only)
Gogithub.com/solvela-ai/solvela/sdks/gogo get github.com/solvela-ai/solvela/sdks/goYes (BYO Signer)Yes (context-based)
Rust CLIsolvela-clicargo install solvela-cliYes
MCP Server(in-monorepo, not on npm)see MCP pageYes

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.

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.1cargo 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.