by vAPI-Network
Buyer-controlled client for x402 API payments in USDC on Base.
# Add to your Claude Code skills
git clone https://github.com/vAPI-Network/vapi-networkvapi-network is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by vAPI-Network. Buyer-controlled client for x402 API payments in USDC on Base. It has 6,040 GitHub stars.
vapi-network's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/vAPI-Network/vapi-network" and add it to your Claude Code skills directory (see the Installation section above).
vapi-network is primarily written in TypeScript. It is open-source under vAPI-Network on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh vapi-network against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
One wallet, every x402 API. vapi-network is the open-source, non-custodial
TypeScript client for discovering and paying x402 services in USDC, from a terminal,
an MCP client or your own code. It pays on Base by default and on Arc when you enable
it; Networks lists what works where.
The client gives one local wallet to you and to your agents. You search every x402 catalogue at once, pay an API per call under spend caps you set, and keep a receipt for each payment. The same wallet gives each agent its own capped account, buys model access on vAPI Router and moves USDC between your accounts.
vAPI Network builds payment and trust infrastructure for AI agents. Call, Router, Stake and Agents are live on production. Tasks V2 is live on Base mainnet. See vapinetwork.ai and the documentation.
vAPI Network is not related to Vapi.ai, the voice AI company.
This README describes client 0.17.0. npm view vapi-network version shows the latest published release.
The client needs Node.js 22 or newer.
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 <listing-ref> --max 0.02
vapi receipts # one line per paid call: quote, settlement, latency
No install? Prefix any command with npx vapi-network, for example
npx vapi-network setup. (npx vapi cannot work: the bare vapi name on npm
belongs to an unrelated package.)
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.
On a server, a container or GitHub Codespaces, read
Linux without a keyring before vapi setup.
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.
The device vault encrypts your keys on this machine, using an OS-stored device key with optional password protection. vAPI applies your spend caps before signing, sends the payment straight to the service, and writes a local receipt. There is no payment proxy and no server-side signer. vAPI Call takes no fee; providers are paid directly.
Local runs keep keys on this machine; experimental Railway runs require explicit
member-key export. Call and discovery metrics are measured locally and nothing is
uploaded unless you send a report yourself. 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.
Everything that runs on your machine is in this repository under the Apache-2.0 license. That covers the wallet and its spend caps, x402 signing, the receipt ledger, catalogue search, the CLI, the MCP server, the SDK and the desktop app. You can read how a payment is built and signed before you make one.
The client also talks to hosted vAPI services. Their source is not in this repository.
| Hosted service | The client uses it to |
|---|---|
| vAPI Call | search the vAPI registry, and publish or claim a listing |
| Owner link | connect this device's accounts to your owner wallet during vapi setup and vapi login |
| vAPI Router | buy and use model access, and read your balance and stake status |
| Transfer relay | submit a transfer you signed between your own accounts, and pay its gas |
| Cloud backup | keep an encrypted vault copy that only the owner can restore |
| Funding page | take a card, wallet or bridge deposit and deliver USDC on Base |
| Tasks | audited task posting and USDC escrow on Base mainnet |
A payment to an x402 API does not pass through these services. The client signs it
and sends it to the API's own endpoint. Search also reads Coinbase Bazaar, x402scan
and a local file, and VAPI_REGISTRY_URL points the client at another registry.
Payments are in USDC. Base is on by default; you enable the other networks per machine.
| Network | Pay x402 APIs | Send between accounts | Sweep | How to enable |
|---|---|---|---|---|
| Base mainnet | yes | yes | USDC and ETH | on by default |
| Arc mainnet | yes | yes | USDC | vapi init --networks base,arc or vapi accounts --enable arc |
| Arc testnet | yes | no | USDC | set ARC_TESTNET_RPC_URL |
| Base Sepolia and other EVM networks | when configured | no | USDC when configured | add the RPC URL and USDC address to config.json |
| Solana mainnet | not yet | no | no | listings are searchable; paying one returns unsupported_network |
The hosted funding page delivers USDC on Base. On Arc, USDC is also the gas token. Identifiers, token addresses and RPC defaults are in docs/configuration.md.
The CLI, the MCP server and the SDK share one vault, one set of spend caps and one
receipt ledger under ~/.vapi/.
Register the MCP server with your agent client, then ask it to "Search vAPI for a weather API":
vapi mcp install <claude-code|claude-desktop|cursor|codex>
Call the same client from TypeScript:
import { createVapiClient } from "vapi-network";
const vapi = await createVapiClient({ account: "researcher" });
const listings = await vapi.call.search("Base DEX volume");
const result = await vapi.call.pay({ id: "base-dex-volume", maxPriceUsd: 0.05 });
console.log(result.body);
The MCP server has no tool that reveals a recovery phrase or a private key, and no tool that creates or retires a Call registry listing. The tool list is in docs/mcp.md.
| 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 |
| Coding tools | Run Claude Code and Codex on your daily Compute allowance. | docs/code.md |
| Tasks | Post tasks and bounties with audited USDC escrow on Base mainnet; no new pools for now. | docs/tasks.md |
| Agents | Run capped local agents with dedicated wallets and profiles. | docs/agents.md |
| Swarms | Group capped local agents around a treasury and capital policy. | docs/swarms.md |
| MCP | Use namespaced payment tools from an MCP client. | docs/mcp.md |
| SDK | Use Call, vAPI Router and local agents behind one wallet-bound API. | docs/sdk.md |
| Vault | Manage the owner wallet, device vault, accounts and spend caps. | docs/wallets.md |
| Backup | Store encrypted vault copies and restore with owner approval. | docs/backup-and-recovery.md |
| Sending | Move USDC between your accounts or to your owner wallet; vAPI pays the gas. | docs/sending.md |