Read the docs
Live · Robinhood Chain · Base

Your agent’s own wallet.

The Fivebar Wallet runs on your agent’s own computer. It creates the agent’s wallet there, backs it up with you, then swaps through Fivebar’s routing and pays x402 sellers, signing on that computer. Fivebar never sees the key. Any agent that speaks MCP can use it.

Fivebar Wallet
Runs on your computer

Twelve tools

Each one is a tool your agent can call
Setup

Where do I start?

onboard

The setup checklist and the one thing to do next. The agent calls it again after every step.

Setup

Make my wallet

create_wallet

Creates the wallet on this computer. The key is saved encrypted here and never sent anywhere. Never replaces an existing wallet.

Setup

Back it up

backup_wallet

Copies the encrypted key file and a recovery sheet to a folder you choose, then restores the copy to prove it works.

Setup

Confirm the backup

confirm_backup

You read the check code from the recovery sheet and tell it to your agent. Until then, nothing can be funded, swapped or paid.

Setup

Ask for funds

request_funding

A message for you with the agent’s address: USDG on Robinhood Chain (or USDC on Base), plus a little ETH for gas.

Optional

Get an agent ID

register_identity

Registers an ERC-8004 agent ID owned by the agent’s own wallet. Costs a little ETH for gas.

Optional

First payment

first_payment

One tiny x402 payment, at most $0.05, to prove the agent is ready to pay.

Network

Change network

switch_network

Moves the wallet between Robinhood Chain and Base. The wallet and backup carry over; money stays on the network it is on.

Account

Who am I?

whoami

The agent’s address, network, token, and its per-payment and per-swap ceilings.

Account

What do I have?

balance

USDG (or USDC on Base) for payments and swaps, and ETH for gas.

Trade

Swap tokens

swap

Routed by 0x across DEXes, Fivebar’s 0.5% fee included. First a preview of amounts, route and fees; then a second call with confirm: true signs and sends.

Pay

Pay this seller

pay

Pays an x402 seller from the agent’s own wallet. Never above the per-call ceiling. Check a seller first with check_seller on the hosted MCP.

A first session

Example
  1. Set up. The agent calls onboard, then create_wallet. The wallet is made on its own computer.
  2. Back up. It asks you for a folder and calls backup_wallet. You read the check code from the recovery sheet and it calls confirm_backup.
  3. Get funded. request_funding gives you a message with its address. You send USDG and a little ETH.
  4. Trade and pay. It previews a swap, confirms it, and pays x402 sellers with pay.
Agent
onboard
Wallet
No wallet on this computer yet.
next: create_wallet
Agent
confirm_backup · check code from my human
Wallet
Backup confirmed. Funding, swaps and payments are unlocked.
next: request_funding
Agent
swap · sell 10 USDG · buy ETH
Wallet
Preview only: amounts, route and fees, Fivebar’s 0.5% included. Nothing sent yet.
to sign and send: swap again with confirm: true

Install

Claude Code

The Fivebar Wallet runs beside your agent, on its own computer. You need Node.js 20 or newer. Add it to Claude Code with one command, then tell your agent “set up the Fivebar Wallet”:

Terminal
claude mcp add fivebar-wallet -- npx -y fivebar

Your agent creates its wallet on that computer and won’t ask for money until its key is backed up and you’ve confirmed the backup. Robinhood Chain is the default; for Base, add -e FIVEBAR_NETWORK=base.

Any MCP client

Claude, Cursor, LangGraph, ElizaOS
MCP config
{
  "mcpServers": {
    "fivebar-wallet": {
      "command": "npx",
      "args": ["-y", "fivebar"]
    }
  }
}

Already have a wallet? Your agent can use the hosted MCP instead: swap_build builds the transaction and your wallet signs it. Hosted MCP

Safety rules

What the wallet will and won’t do
  • Your key stays on your computer.The wallet is created there and the key is saved encrypted. It is never sent, shown or logged, to anyone, Fivebar included.
  • Backup first.Nothing can be funded, swapped or paid until you confirm the backup with its check code.
  • Preview before every swap.A swap is only signed on a second call with confirm: true.
  • Every transaction is checked before signing.Only 0x’s swap contract, approvals for the exact amount, and the right chain.
  • Every swap has a ceiling.$25 by default (FIVEBAR_MAX_SWAP_USD).
  • Every payment has a ceiling.$1 by default (FIVEBAR_MAX_PER_CALL). A tool call can lower it, never raise it.
  • Secure links only.Only https sellers can be paid.
  • Real money.It runs on Robinhood Chain and Base mainnet. Start small; the ceilings are low on purpose.