Documentation
Everything from initial setup and model tier routing to live agent communication, MCP, routines, local SQLite storage, mods, HTTP API, and plugins.
Quick start npx crewboss init
Full guide & reference →Install requirements, initialize a workspace in one command, dry-run your first agent, and understand every file crewboss writes.
npx crewboss init
npx crewboss agent dev "Add a test for the login flow" --dry-run
npx crewboss agent dev "Add a test for the login flow"
npx crewboss events
Agents & model selection crewboss agent
Full guide & reference →Launch personas across Claude Code, Codex, opencode, and agy with cheapest-first tier walking, quota skipping, paid protection, and startup failover.
crewboss agent dev "Add pagination to /orders" --dry-run
crewboss agent reviewer "Audit auth middleware" --size small
crewboss agent dev "Fix flaky test" --model claude:sonnet --allow-paid
Talking to your agents notify · events · say
Full guide & reference →Exchange live questions, blockers, and answers with running agents across every CLI runner, plus main-session presence hooks.
# Inside a running agent
crewboss notify --kind question "Cursor or offset pagination?"
crewboss inbox
# From your terminal
crewboss events --follow
crewboss say 3 "Cursor-based, keep page numbers for mobile"
MCP clients crewboss mcp
Full guide & reference →Serve crewboss over stdio JSON-RPC so Claude Code, Cursor, or Codex can start detached agents, follow events, reply, and manage tasks and memory.
{
"mcpServers": {
"crewboss": {
"command": "crewboss",
"args": ["--config", "/path/crewboss.json", "mcp"]
}
}
}
Routines crewboss routines
Full guide & reference →Schedule recurring audits with collectors, turn high and medium findings into deduplicated tasks, and publish one report per run on systemd or launchd.
crewboss routines list
crewboss routines run deps-audit --dry-run
crewboss routines run deps-audit
crewboss routines install
Tasks crewboss task
Full guide & reference →Manage tasks in the local SQLite store or through a custom tracker plugin, complete with priorities, assignees, due dates, comments, and JSON output.
crewboss task list --status open --json
crewboss task add api "Add login tests" --priority high --due 2026-12-05
crewboss task update 1 --status in_progress
crewboss task done 1
Memory crewboss memory
Full guide & reference →Store short scoped notes that crewboss automatically injects into agent and routine prompts, searchable with SQLite FTS5.
crewboss memory add "Integration tests need the VPN" --scope persona:dev
crewboss memory list --scope global
crewboss memory search "vpn"
crewboss memory rm 4
Mods crewboss mod
Full guide & reference →Discover, review, pin, and update Git-backed bundles of personas, scheduled routines, and static office UIs.
crewboss mod search office
crewboss mod add github:PabloTheBlink/crewboss-office-3d
crewboss mod list
crewboss mod update office-3d
crewboss mod install
API & offices crewboss serve
Full guide & reference →Serve a token-protected JSON API under /api alongside any static office UI folder or installed UI mod.
crewboss serve --port 4317
CREWBOSS_TOKEN=secret crewboss serve --host 0.0.0.0 --public-url http://192.168.1.10:4317
curl -H "Authorization: Bearer $CREWBOSS_TOKEN" http://127.0.0.1:4317/api/status
Configuration reference crewboss.json
Full guide & reference →All top-level workspace settings and per-routine keys accepted in crewboss.json (strict JSON, no comments).
{
"root": ".",
"personas_dir": "agents",
"logs_dir": "logs/crewboss",
"memory_max_bytes": 8192,
"tracker": {"type": "local"},
"quota": {"command": ["tools/check_quota.sh"]},
"ui": "mod:office-3d",
"tiers": {
"small": [{"tool": "claude", "model": "haiku"}],
"medium": [{"tool": "claude", "model": "sonnet"}],
"large": [{"tool": "claude", "model": "opus", "paid": true}]
}
}
Plugins tracker & quota
Full guide & reference →Connect any external task manager (Jira, Linear, Tack, custom) or quota checker using a plain executable speaking JSON over stdin and stdout.
#!/usr/bin/env bash
# Read {"candidate": {"tool", "model", ...}} from stdin
# Return {"skip": null} to allow or {"skip": "reason"} to skip
echo '{"skip": null}'
Troubleshooting exit codes & paths
Full guide & reference →Common fixes for PATH issues, API tokens, schema versions, exit codes, and workspace file locations.
node --version
crewboss --help
crewboss routines install
npm install -g crewboss@latest