Skip to content

Command reference

Terminal window
bee --help
bee <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
Terminal window
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 context
bee remember history --since 7d
bee remember stats
Terminal window
bee hook install --harness claude|codex|hermes --scope user|project|local
bee hook session-start
bee hook prompt # reads the envelope on stdin
bee 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 list
bee hook rule rm <id>
Terminal window
bee compact [--limit N] [--json]
bee compact --archive
bee compact --archived
bee compact --restore <id>

There is no delete. See Over a long run.

Terminal window
bee lint [paths…] [--rules] [--detect] [--fix]
[--install] [--install-machine]
[--memory N] [--timeout SECONDS] [--json]
Terminal window
bee steering [--since 7d] [--limit N] [--json]

Counts are a lower bound. See What bee held back.

Terminal window
bee handover [--session [ID]] [--since 12h] [--limit N] [--json]
Terminal window
bee ask "how does the outbox retry?"
echo "summarise this diff" | git diff | bee ask
bee ask --tools "..." # lets the model call bee's own tools
bee ask --tools --allow-write "..." # write tools are default-deny
Terminal window
bee soul # the active identity
bee soul list
bee soul use <name>
bee soul add <name> --title --prompt --tone --emoji
bee soul show <name>
bee soul remove <name>