Skip to main content
This quickstart runs a single agentic transaction end-to-end on Base Sepolia using x402, in the recommended brickken-relayed mode (Brickken signs and broadcasts).

1. Install and authenticate

If you have not already, install the CLI and set up a private key:

2. Set your environment

Fund the wallet behind BRICKKEN_PRIVATE_KEY with a small amount of Base Sepolia Circle USDC (0x036CbD53842c5426634e7929541eC2318f3dCF7e) so it can pay the x402 send fee. In brickken-relayed mode Brickken’s relayer covers native gas.

3. Sanity checks

4. Deploy a token end-to-end

Preparing is free; the --execute flag also sends and pays the x402 charge in one step. With --execution-mode brickken-relayed you omit --signer-address and --agent-wallet — Brickken’s relayer signs, pays gas, and becomes the token owner. The --json flag makes the output machine-readable so you can pipe it into jq.
When create-token --execute succeeds, the CLI waits for the deployment receipt and adds tokenAddress to the JSON output. Capture it for follow-up commands:
Echo critical variables such as TOKEN_ADDRESS and AGENT_UUID before reusing them. If a command seems to “drop” fields, the usual cause is shell expansion or quoting — not --json. Quote every value that can contain spaces, and prefer --file for nested JSON.

What’s next

Agent commands

Register an ERC-8004 agent and manage its reputation.

Token economics

Mint, burn, transfer, and approve agentic tokens.

End-to-end guide

A full agent registration and token lifecycle walkthrough.