Capxul Docs

What is Capxul?

A typed SDK for Accounts, payments, Permissions, and Organizations.

Capxul is a financial-operations platform. The Core SDK is the primary developer interface; the React SDK projects that client into a provider, queries, and mutations. Both keep custody substrate outside normal application vocabulary.

import { createCapxulClient } from "@capxul/sdk";

const created = await createCapxulClient({ publishableKey });
if (!created.ok) throw created.error;

const account = await created.value.accounts.read();
if (!account.ok) throw account.error;

console.log(account.value.balance);

The surface is Stripe-shaped

Money is just money. A developer using the SDK never has to know the words "Safe", "UserOp", "wei", or a chain id to move money. Crypto is the substrate, never the vocabulary — any custody term appearing in the consumer-facing surface is treated as a defect (a leak). You work with:

  • Money — a currency, a decimal value, and a precision. Never wei.
  • Accounts — a person's or org's pot of money, identified by an opaque id. Never an address.
  • Payments — money sent to a validated recipient, a handle, an email, or a saved payee. Never a raw chain address.

Read the mental model and the money & accounts glossary for the full vocabulary.

Two products, one platform

  • Capxul App is the customer-facing financial-operations product.
  • Capxul SDK (these docs) is the platform layer it is built on — the same primitives are published for other product teams, external developers, and agents to build with.

Agent-native by design

The SDK is built with the expectation that agents participate in both building and operating products. Every capability is a safe, structured primitive an agent can compose: the MCP server exposes financial operations as tools, every docs page is available as raw markdown, and llms.txt indexes the whole site for machine readers.

Packages

PackageWhat it is
@capxul/sdkThe Core SDK — production client plus its ./testing entry.
@capxul/sdk-reactReact bindings — production provider/hooks plus its ./testing entry.
@capxul/mcpThe Capxul MCP server — financial operations as agent tools.
@capxul/observabilityShared product and engineering telemetry catalog, profiles, and transports.
@capxul/sandboxSandbox CLI — create test publishable keys and send testnet faucet funds.

Published packages use one synchronized stable release train. Pin exact matching versions and check Capability status before depending on an operation in production.

Where to start

On this page