Skip to content

Boon CLI commands, guardrails, and common agent-operator flows.

The Boon CLI is the agent-native surface for approved USDC thank-yous. It uses a small funded OWS wallet, local guardrails, dry-runs, and explicit approvals before live sends.

Source of truth: cli/src/index.ts.

CommandPurpose
boon doctorCheck local settings, OWS wallet readiness, Base RPC, contract, USDC balance, and guardrails.
boon doctor --jsonPrint machine-readable readiness output for agents.
boon wallet connect ows --wallet <name>Select the OWS wallet Boon should use for agent sends.
boon wallet currentShow selected OWS address and Base USDC balance.
boon wallet current --jsonPrint machine-readable wallet status.
boon wallet disconnectForget Boon’s selected OWS wallet.
boon tip <handle> <amount-usdc> <note>Send a boon through the connected OWS wallet.
boon tip --dry-run <handle> <amount-usdc> <note>Validate, canonicalize, check guardrails, and preview without moving funds.
boon tip --json --dry-run ...Machine-readable dry-run output for agent review.
boon tip --yes --approval-id <id> ...Execute without interactive prompt only when a human-approved policy or plan id authorizes the exact send.
boon history [handle]Show local send history, optionally filtered by canonical handle.
boon weeklyPrint the weekly agent review workflow entry point.
Terminal window
boon wallet connect ows --wallet boon-agent
boon wallet current
boon doctor

Fund the printed OWS address with a small amount of Base USDC plus gas headroom, then run boon doctor again.

Terminal window
boon tip --dry-run github:alice 5 "pr:owner/repo#42 — review"

The dry-run should show:

  • canonical handle and handle hash
  • Base mainnet and deployed Boon contract
  • USDC amount in token units
  • note
  • current local spend/cooldown status
  • whether the command would approve USDC before calling Boon.tip(...)

Interactive operator-approved send:

Terminal window
boon tip github:alice 5 "pr:owner/repo#42 — review"

Agent-policy send:

Terminal window
boon tip --yes --approval-id weekly-2026-05-25 github:alice 5 "pr:owner/repo#42 — review"

--yes is intentionally gated by --approval-id. The id should refer to a human-approved policy or plan that allows the exact tip within the funded wallet’s caps.

Boon stores local CLI state under ~/.boon/:

FileMeaning
settings.jsonContract, USDC, RPC, API/app URLs, selected OWS wallet alias/address.
config.jsonGuardrail caps such as per-day spend, per-tip max, cooldown, and CI dry-run behavior.
spend-log.jsonLocal spend total and most recent tip timestamp for guardrail checks.
history.jsonlLocal successful-tip ledger.

Do not commit .boon/ files. They may contain addresses, handles, notes, and operational state.

Default guardrails are intentionally small:

{
"maxUsdcPerDay": "50",
"maxUsdcPerTip": "10",
"minSecondsBetweenTips": 60,
"dryRunInCi": true
}

The CLI is for Base USDC only and calls the deployed Boon contract. It does not accept arbitrary token addresses or non-Base chains.