Buyer-controlled client for x402 API payments in USDC on Base.
★ 3,789⑂ 128
3,789
stars
+252
128
forks
–
watchers
–
prs
–
issues
–
releases
–
discussions
README
vAPI Network vAPI Network builds payment and trust infrastructure for AI agents on Base, with x402 API payments in USDC. One wallet, every x402 API. vapi-network is its open-source, non-custodial TypeScript client for discovering and paying x402 services from a terminal, an MCP client, or your own code. The device vault encrypts your keys on this machine, using an OS-stored device key with optional password protection. vAPI applies spend policy before signing, sends the payment straight to the service, and writes a local receipt. Local runs keep keys on this machine; experimental Railway runs require explicit member-key export. Every payment identifies this client as vapi through x402 builder-code; when an API advertises payment-identifier, the generated id is kept on that receipt. vAPI Call takes no fee. Providers are paid directly. Call, Router, Stake and Agents are live on production. Tasks is coming soon. See vapinetwork.ai and the documentation. vAPI Network is not related to Vapi.ai, the voice AI company. Install This README describes client 0.12.0. npm view vapi-network version shows the latest published release. bash npm i -g vapi-network No install? Prefix any command with npx vapi-network, for example npx vapi-network init. (npx vapi cannot work: the bare vapi name on npm belongs to an unrelated package.) An agent can set itself up from the agent skill. Tell it: "Read https://vapinetwork.ai/SKILL.md and follow it to set up vAPI." The same file ships in this package as SKILL.md, with the CLI version it describes in its frontmatter. Interactive CLI runs check for a newer release at most once a day and cache the result in ~/.vapi/update-check.json. JSON, MCP server, CI and non-TTY runs skip the check. Set VAPI_NO_UPDATE_CHECK=1 to disable it. Quickstart bash npm i -g vapi-network vapi setup [--no-cloud-backup] creates or restores the vault, derives main, links it to your owner wallet; safe to rerun vapi fund opens the hosted funding page for your address vapi search "weather" every catalogue, merged, with provenance vapi pay --max 0.02 vapi receipts one line per paid call: quote, settlement, latency Back up the recovery phrase only in a terminal; vAPI cannot recover it. Turn on encrypted cloud backup with vapi backup --cloud; only the owner can approve a restore. What you can do | Surface | What it does | Guide | | ------- | -------------------------------------------------------------------------- | ------------------------------------------------------------ | | Call | Discover, check, publish and pay for x402 APIs. | docs/call.md | | Router | Use vAPI Router for model access and balance. | docs/router.md | | Tasks | Preview ta