| Requirement / Path | Version / Scope | Description |
|---|---|---|
| Node.jsrequired | >= 22.13 default: — |
Provides built-in node:sqlite and ES modules with zero external dependencies. |
| Agent CLIrequired | claude | codex | agy | opencode default: at least 1 |
Installed and authenticated locally on your PATH. |
| .crewboss/crewboss.dbgenerated | SQLite file default: gitignored |
Stores tasks (local tracker), run history, run events, reports, and memory. |
| logs/crewboss/generated | directory default: gitignored |
Per-run prompt.txt, agent.log, answer.md, choice.json, and routine artifacts. |
Requirements
- Node.js 22.13 or later. Check with
node --version. - At least one agent CLI, installed and signed in: Claude Code (
claude), Codex (codex),agy, oropencode. crewboss runs them for you; it does not replace them. - Linux (systemd) or macOS (launchd), only if you want crewboss to schedule routines automatically (
crewboss routines install). Anywhere else you can run routines manually or from your own scheduler.
Install and initialize
You can run crewboss directly via npx or install it globally:
npm install -g crewboss
npx crewboss --help
In your project folder, run crewboss init to detect installed CLIs and models, create crewboss.json and agents/dev.md, and add .crewboss/ and logs/crewboss/ to .gitignore:
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
crewboss init reads the top-level model from ~/.codex/config.toml for Codex and runs opencode models or agy models to discover listed models. It prefers opencode models ending in -free, marks other opencode models paid: true, and places subscription CLIs (Claude and Codex) ahead of agy and paid opencode candidates within each tier.
Manual setup
A workspace is any folder containing crewboss.json (read from the current directory, --config PATH, or $CREWBOSS_CONFIG). Define three tiers from cheapest to most expensive:
{
"tiers": {
"small": [{"tool": "claude", "model": "haiku"}],
"medium": [{"tool": "claude", "model": "sonnet"}],
"large": [{"tool": "claude", "model": "opus", "paid": true}]
}
}
Create a persona at agents/dev.md:
---
name: dev
size: medium
dir: .
---
You are a careful developer. Make small, focused changes, run the existing tests,
and list the tests you ran in your final answer. Do not commit.
Then inspect results in your browser with crewboss serve (open the printed URL containing the access token) and keep .crewboss/, logs/, and reports/ out of git.