Two paths
AXON is a dual-sided platform. Pick the path that matches what you’re building:I want my agent to spend safely
Buyer path — AXON governs your agent’s x402 spending with mandates, approvals, and on-chain safety. Continue below.
I want to monetize an endpoint or file
Seller path — paste an endpoint or upload a file, set a price, and get a paid AXON URL. See Seller Quickstart.
This page is the hosted runtime bootstrap path powered by
@axon402/init.
If you are bringing up your own Decision daemon, Supabase project, and Base
RPC, use Live Onboarding instead.Bootstrap with one command
@axon402/init is the one-shot onboarding helper. It walks you through one prompt (your email), generates a fresh wallet locally, mints a wallet-scoped starter API key against the hosted Decision API at https://api.axon402.com, and merges a hosted HTTP MCP entry into ~/.claude.json so Claude Code can call AXON immediately.
@axon402/init is a one-shot bootstrap, not an ongoing CLI. For day-to-day wallet, key, deposit, and allocation management, use @axon402/cli (bin: axon-op) after you finish this quickstart.1
Run the installer
- Generates a fresh BIP-39 mnemonic locally (never sent to the server).
- Derives two addresses — a vault (HD index 0) and an agent (HD index 1).
- Calls
POST https://api.axon402.com/v1/cli/initwith your email and the two addresses. - Gets back an organization, both wallets, a starter spending mandate (10 USDC/day, 0.50/tx, 300/mo, hard-stop), and a wallet-scoped API key bound to the agent wallet.
- Writes everything to
~/.axon/config.json(chmod 0600) and merges a hosted HTTP MCP entry into~/.claude.json(the original is backed up first).
2
Confirm the email
A confirmation email arrives from
noreply@mail.app.supabase.io. Click the link — it grants you access to the hosted dashboard at axon402.com where you can edit mandates, view ledger entries, and manage approvals.3
Fund the wallet the runtime key will use
The CLI currently prints a QR code for the vault address. That does fund the
organization treasury, but the runtime key issued by
@axon402/init is bound to
the agent wallet.For today’s hosted path, use the dashboard after email confirmation to open the
agent wallet and choose Deposit to Wallet. That deposit address is the
copy-paste-safe way to fund the wallet your runtime key can actually spend from.4
Start Claude Code
Open a new terminal and run
claude. The MCP config is already wired — your agent has the AXON tools (governed_fetch, read_spending_policy, get_balance, etc.) available. Try:Usegoverned_fetchto retrievehttps://example.comand tell me the title.
Develop locally (contributors)
If you want to run AXON from source — to modify the Decision API, write tests, or use the demo mode that ships zero secrets — start from an AXON source checkout:Demo mode (zero secrets)
Live mode (self-hosted)
For a production self-hosted Decision API with real Supabase + real Base settlement, see Live Onboarding.Manual MCP configuration
The CLI auto-configures Claude Code. If you need to wire MCP by hand, use the hosted HTTP shape below for the hosted service. Use the stdio shape only when you are running AXON yourself from source.- Hosted (recommended)
- Self-hosted (live mode)
@axon402/init does not install or launch a local MCP process. It writes
the hosted HTTP entry shown above into ~/.claude.json.Verify end-to-end
The minimum tool sequence to confirm a working agent flow:read_spending_policy— see the active mandateget_financial_status— confirm wallet balancegoverned_fetch— make a governed x402 call, or receive the approval/browser-signing handoff required before settlementget_receipt— fetch the receipt after settlement completesexplain_denial— if anything got rejected, see why