Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.breadbox.sh/llms.txt

Use this file to discover all available pages before exploring further.

This page lists every command the CLI exposes. Scope codes follow the same convention as the REST API:
  • R — readable with any API key (read_only or full_access).
  • W — requires a full_access key.
  • L — local-only; talks to the service layer or filesystem directly (no HTTP call). Stripped from the lite build.
  • — no auth (version, auth login, completion).
Standard flags apply to every command — --host, --json, --ndjson, --fields, --limit, --all, --quiet, --debug. See Output and exit codes for what they do. Per-command flags are listed inline below; full flag sets live in breadbox <noun> <verb> --help.

Auth

CommandScopeDescription
breadbox auth login --host URL [--token KEY]Add a host. With --token, validates and saves the key (paste mode). Without it, runs the interactive device-code flow.
breadbox auth logout [name]Drop credentials for one host, or every host if no name.
breadbox auth statusList configured hosts and the current default.
breadbox auth use <name>Set the default host.
breadbox auth bootstrap [--base-url URL]LMint a full_access user key via the service layer and save as host local.
breadbox auth whoamiRPrint the actor (type + name) and host the current key authenticates as.
See CLI authentication for the full flow.

Server and process management

These commands operate on the local box (filesystem, DB, embedded migrations) — they do not call the REST API. They are stripped from the lite (-tags=lite) build.
CommandScopeDescription
breadbox serve [--no-dashboard]LStart the HTTP server (REST + MCP-over-HTTP + dashboard + hosted-link + webhooks). --no-dashboard suppresses the dashboard at runtime without recompiling.
breadbox mcpLMCP server over stdio; Claude Desktop spawns this per session and blocks until stdin closes.
breadbox mcp-stdioLDeprecated hidden alias for breadbox mcp. Kept so existing Claude Desktop configs keep working.
breadbox initLFirst-run setup: mints ENCRYPTION_KEY if absent, creates the first admin login + household user, prints the first API key.
breadbox reveal-keyLPrint the configured ENCRYPTION_KEY to stdout for recovery. Exit 1 when no key is set.
breadbox migrate [--down] [--to N]LRun goose migrations against DATABASE_URL. Local-only — there is no remote migration endpoint by design.
breadbox doctor [--skip-external] [--with-live]R/LRemote mode (host configured) consumes GET /api/v1/headless/bootstrap; local mode (no host) runs env / DB / provider preflight. --with-live fires the agent SDK round-trip (~$0.01, local-only).
breadbox versionPrint build version, commit, and upgrade availability.
breadbox completion [bash|zsh|fish]Print a shell-completion script.

Accounts

CommandScopeDescription
breadbox accounts listRList household bank accounts.
breadbox accounts get <id>RSingle account summary.
breadbox accounts detail <id>RDetail + last 25 transactions + per-currency balances.
breadbox accounts update <id> [--name] [--excluded] [--dependent-linked]WPatch display name; hide from views (--excluded); exclude from household totals (--dependent-linked, e.g. a kid’s account you fund but don’t count toward your spending).
breadbox accounts links list <account-id>RList account-link reconciliation rows where this account is primary or dependent.
breadbox accounts links add <primary-id> --dependent <id> [--strategy] [--tolerance-days]WLink a dependent account to a primary for reconciliation.
breadbox accounts links remove <link-id>WDelete an account-link row.

Transactions

CommandScopeDescription
breadbox transactions list [filters]RCursor-paginated list. Filters: --account, --category, --from, --to, --search, --user, --tag, --has-comment, --cursor. --all walks every page.
breadbox transactions get <id>RSingle transaction.
breadbox transactions count [filters]RCount matching the same filters as list.
breadbox transactions summary [--by=category|month|week|day] [filters]RAggregates with grouping dimension.
breadbox transactions update <id> [--category] [--note] [--tags]WAtomic multi-field update.
breadbox transactions batch <file>WBatch update from a JSON file (max 50 rows).
breadbox transactions categorize <id> <category>WSet category as an override.
breadbox transactions uncategorize <id>WDrop the override; revert to provider-default category.
breadbox transactions recategorize --target-category <slug> [filters]WServer-side recategorize: every row matching the filters becomes --target-category.
breadbox transactions delete <id>WSoft-delete (sets deleted_at).
breadbox transactions restore <id>WRestore a soft-deleted transaction.
breadbox transactions tag <id> <slug>WAttach a tag.
breadbox transactions untag <id> <slug>WDetach a tag.
breadbox transactions annotations <id>RActivity-timeline rows (category changes, comments, tags, system events).
breadbox transactions comments add <id> <message>WAdd a comment.
breadbox transactions comments list <id>RList comments on a transaction.
breadbox transactions comments edit <id> <comment-id> <message>WEdit an existing comment.
breadbox transactions comments delete <id> <comment-id>WDelete a comment.

Categories

CommandScopeDescription
breadbox categories listRList every category.
breadbox categories get <id>RSingle category.
breadbox categories create [--name] [--parent]WCreate a category.
breadbox categories update <id> [...]WUpdate name or parent.
breadbox categories delete <id>WDelete (blocked if any transactions reference it).
breadbox categories merge <from> <to>WMerge fromto (migrate transactions, drop source).
breadbox categories export [--format=tsv|json]RDump the category tree.
breadbox categories import <file>WImport categories from TSV.

Tags

CommandScopeDescription
breadbox tags listRList every tag.
breadbox tags get <slug>RSingle tag.
breadbox tags create <slug> [--label] [--color]WCreate a tag.
breadbox tags update <slug> [...]WUpdate label or color.
breadbox tags delete <slug>WDelete the tag (transactions keep their other tags).

Rules

CommandScopeDescription
breadbox rules list [--enabled]RList transaction rules.
breadbox rules get <id>RSingle rule.
breadbox rules create --json <file>WCreate a rule from a DSL JSON file.
breadbox rules update <id> --json <file>WUpdate a rule.
breadbox rules delete <id>WDelete a rule.
breadbox rules preview <id>RPreview which transactions a rule would touch without applying it.
breadbox rules apply <id>WApply retroactively to existing transactions.
breadbox rules batch <file>WCreate or update many rules atomically.
See Rule DSL for the condition grammar.

Connections

A connection is a bank-side OAuth link — a Plaid item, Teller enrollment, or CSV-import bucket. Different from account-links (breadbox accounts links) which map household users to bank accounts.
CommandScopeDescription
breadbox connections listRList bank connections (active + disconnected).
breadbox connections get <id>RSingle connection.
breadbox connections link [--provider=plaid|teller] [--user] [--wait]WMint a hosted-link session. Prints the URL operators or agents open in a browser. --wait polls every two seconds until terminal status or 5-minute timeout.
breadbox connections link get <session-id>RCheck a hosted-link session’s status (active / completed / failed / expired) and the resulting connection IDs.
breadbox connections relink <connection-id> [--wait]WMint a relink hosted-link session for an existing (broken or pending-reauth) connection.
breadbox connections disconnect <id>WMark connection disconnected (preserves history).
breadbox connections delete <id>WCurrently aliases disconnect — there is no hard-delete endpoint today.

Sync

CommandScopeDescription
breadbox sync trigger [--connection] [--account]WKick a manual sync.
breadbox sync statusRLast sync per connection and scheduler state.
breadbox sync logs [--connection] [--limit] [--follow]RSync history. --follow tails new entries.

CSV

CommandScopeDescription
breadbox csv preview <file> [--account]RDry-run parse + dedupe report (no rows written).
breadbox csv import <file> --account <id>WImport a CSV into an account.
See the CSV import guide for column mapping rules.

Providers

CommandScopeDescription
breadbox providers listRWhat’s configured and per-provider status.
breadbox providers config plaid [--client-id] [--secret] [--env]WSet Plaid credentials.
breadbox providers config teller [--app-id] [--signing-secret] [--pem-file]WSet Teller credentials.
breadbox providers test <provider>WRound-trip a credentials check against the provider.
breadbox providers disable <provider>WDisable a provider (existing connections keep working until they break).

Users

CommandScopeDescription
breadbox users listRList household members.
breadbox users get <id>RSingle user.
breadbox users create --name [--email]WAdd a household member.
breadbox users update <id> [--name] [--email]WUpdate a member.
breadbox users delete <id>WRemove a member.

Logins

CommandScopeDescription
breadbox logins listWList admin login accounts.
breadbox logins create --user --email [--role]WCreate a login account linked to a household user (one-time setup_token returned in the response).
breadbox logins update <id> --roleWUpdate login role (admin / editor / viewer).
breadbox logins delete <id>WDelete a login.
breadbox logins reset-password <id>WGenerate a one-time reset token (returned in the response).

Reports

Agent reports — summaries an AI agent submits back to the household. See the agent reports concept.
CommandScopeDescription
breadbox reports list [--kind] [--status]RList agent reports.
breadbox reports get <id>RSingle report.
breadbox reports submit --kind --json <file>WSubmit a report on behalf of the current actor.
breadbox reports read <id>WMark a report read.
breadbox reports unread <id>WMark a report unread.

API keys

CommandScopeDescription
breadbox keys listWList every API key (the plaintext is never returned).
breadbox keys create [--scope=read_only|full_access] [--actor=user|agent|system] [--name]WMint a new key. The full secret is returned once in the response.
breadbox keys revoke <id>WSoft-revoke a key.

App config

The app_config table lets you override certain server settings without restarting (sync interval, agent transcript dir, dashboard banners, …). Precedence is env vars → DB → defaults.
CommandScopeDescription
breadbox config listWList app_config entries with their source (env / db / default).
breadbox config get <key>WGet one config value.
breadbox config set <key> <value>WSet a config value (DB source).
breadbox config unset <key>WRemove a DB-sourced value (falls back to env / default).
See App config precedence for what’s configurable.

Backup

Local-only. Wraps pg_dump. The server must be stopped before backup restore.
CommandScopeDescription
breadbox backup create [--out path]LDump the database.
breadbox backup listLList existing backups.
breadbox backup restore <file>LRestore from a backup.

Webhooks

CommandScopeDescription
breadbox webhooks tail [--provider]WTail recent webhook events as Server-Sent Events from the server.
breadbox webhooks replay <id>WRe-process a stored webhook event.

Agent

Drive the Claude Agent SDK subsystem (scheduled agent definitions + on-demand runs). See Scheduled agents for the full pattern and breadbox agent for cookbook examples.
CommandScopeDescription
breadbox agent list [--json]LEvery agent definition with status, schedule, model, and next-fire time.
breadbox agent run <slug> [--json] [--prefix "..."]LTrigger an immediate run — same path as the admin “Run now” button. --prefix prepends a per-run operator note to the prompt.
breadbox agent testLSmoke test: credential configured, sidecar binary discoverable, “say OK” prompt round-trips. Cost-bounded to ~5¢. Exit 3 = no auth; exit 5 = no binary.

Next steps

Headless deployment

Patterns for driving Breadbox from agent hosts.

Agent runs

Trigger and inspect scheduled agent runs.