Command reference
bee --helpbee <command> --help| command | what it does |
|---|---|
init |
Store the one Mongo connection everything else is pulled from |
config |
show · get · set · path — shared config and secrets |
remember |
Persistent memory. Bare text saves; search · context · stats · history query |
hook |
session-start · prompt · pre-tool · install · rule |
lint <paths> |
What this project expects of these files |
handover |
The state of play for whoever picks the work up next |
budget |
What bee costs the agent’s context per turn, by component |
compact |
Which memories are costing recall rather than adding to it |
steering |
Which rules bee decided NOT to deliver, and why |
worker |
Background maintenance |
ask |
Ask the configured model. Reads stdin — an AI-to-AI access point |
soul |
bee’s persona/identity (the SOUL protocol) |
skill |
Query a skill-bridge over MCP |
howto |
Pattern/how-to store |
remember
Section titled “remember”bee remember "<text>" [--type decision|error|learning|pattern] [--reason …] [--alternative "option: why not"] [--solution …] [--prevention …] [--category …] [--tags a,b] [--json] [--path '<glob>'] # repeatable — anchors it to those files
bee remember search "<query>" [--semantic] [--all-projects] [--since 7d] [--before 2026-08-01] [--agent <name>] [--limit N]bee remember contextbee remember history --since 7dbee remember statsbee hook install --harness claude|codex|hermes --scope user|project|localbee hook session-startbee hook prompt # reads the envelope on stdinbee hook pre-tool # reads the envelope on stdin
bee hook rule add "<text>" [--scope always|session|prompt|file] [--path '<glob>'] # repeatable; implies file delivery [--global]bee hook rule listbee hook rule rm <id>compact
Section titled “compact”bee compact [--limit N] [--json]bee compact --archivebee compact --archivedbee compact --restore <id>There is no delete. See Over a long run.
bee lint [paths…] [--rules] [--detect] [--fix] [--install] [--install-machine] [--memory N] [--timeout SECONDS] [--json]steering
Section titled “steering”bee steering [--since 7d] [--limit N] [--json]Counts are a lower bound. See What bee held back.
handover
Section titled “handover”bee handover [--session [ID]] [--since 12h] [--limit N] [--json]bee ask "how does the outbox retry?"echo "summarise this diff" | git diff | bee askbee ask --tools "..." # lets the model call bee's own toolsbee ask --tools --allow-write "..." # write tools are default-denybee soul # the active identitybee soul listbee soul use <name>bee soul add <name> --title … --prompt … --tone … --emoji …bee soul show <name>bee soul remove <name>