crewboss v0.2.0
Open-source AI agent orchestrator · MIT

Run your AI crew.
Spend less.

Orchestrate Claude Code, Codex, opencode, and agy on the cheapest model that still has quota. Talk to agents live while they work, schedule routines, and keep everything in one local SQLite file.

npx crewboss init
Read the docs GitHub

Node.js 22.13+ Zero dependencies Local SQLite MCP + HTTP API

Terminal demo: initialize crewboss, skip a Codex model over quota, launch an agent, follow its question, and answer it
Real CLI session · init → quota skip → agent question & reply Quick start guide →
Quota-aware routing

Use the subscriptions you pay for. Skip what is exhausted.

Personas pick a tier (small, medium, or large). crewboss walks candidates cheapest-first and explains every skip before launching.

Cheapest available candidate wins

Mix your existing Claude Code, Codex, agy, and free opencode models in three tiers. Paid candidates stay locked unless you explicitly pass --allow-paid.

Plug in any quota check script

Before launch, your quota plugin inspects each candidate and returns {"skip": null} or a reason. Exhausted windows are bypassed automatically.

Automatic failover on startup errors

If a runner fails within 60 seconds or hits 429, quota, model_not_found, or free-tier limits, crewboss tries the next candidate in the same tier.

terminal · stderr
model selection
$ crewboss agent dev "Add pagination to /orders"
Skipped: codex:gpt-6-luna (quota limit exceeded: codex 5h window at 97%)
Skipped: claude:opus (paid; use --allow-paid)
Choice: agy:gemini-4-neon-high (tier: medium)
crewboss.json
json
{
  "tiers": {
    "small":  [{"tool": "claude", "model": "haiku"}],
    "medium": [
      {"tool": "codex", "model": "gpt-6-luna"},
      {"tool": "agy",   "model": "gemini-4-neon-high"}
    ],
    "large":  [{"tool": "claude", "model": "opus", "paid": true}]
  },
  "quota": {"command": ["tools/check_quota.sh"]}
}
Why crewboss

Built for real multi-agent workflows.

Everything you need to run coding agents reliably across repositories, with zero cloud lock-in.

Quota routing

Spend less on every run

Personas pick a tier. crewboss tries candidates cheapest first, skips paid models unless you pass --allow-paid, skips quota-exhausted models, and fails over on startup errors.

CLI + MCP

Talk while agents work

Agents send questions or blockers with notify; follow live events with events --follow and answer with say — from the terminal or any MCP client.

systemd / launchd

Schedule recurring routines

Run collectors and review prompts on systemd timers or macOS launchd. High and medium findings become deduplicated tasks in your tracker, with one report per run.

Local-first

Everything local in one SQLite

Run history, tasks, reports, run events, and scoped memory live in .crewboss/crewboss.db using Node's built-in node:sqlite. No account or hosted server required.

Pluggable

Plug in your own tools

Connect Claude Code, Codex, opencode, or agy; wire Jira, Linear, or custom trackers via JSON plugins; drop in quota scripts, MCP clients, static office UIs, and Git mods.

Node 22.13+

Zero runtime dependencies

Pure ES modules on Node.js 22.13+ with zero npm dependencies. Easy to audit, fast to start, and completely open source under the MIT license.

Live communication & MCP

Agents are not black boxes.

Every runner gets CREWBOSS_RUN_ID and CREWBOSS_CONFIG. Agents ask questions with notify; you follow with events --follow and answer with say, from your shell or any MCP client.

Watch questions and reply from the terminal

events & say
bash
$ crewboss events --follow
#3 15:27:13 run 3 dev@api started: Add pagination to /orders
#5 15:27:22 run 3 dev@api question: Cursor or offset pagination?

$ crewboss say 3 "Cursor-based, keep page numbers for mobile"
sent to run 3 (event #7)
#8 15:31:25 run 3 dev@api finished: ok, exit 0, 4m12s

Connect Claude Code, Cursor, or Codex over MCP

mcp · stdio
bash
# Register crewboss in Claude Code
$ claude mcp add crewboss -- \
    crewboss --config /path/crewboss.json mcp

# 18 tools over stdio JSON-RPC:
# agent_start · run_show · runs_list · events · say
# task_* · memory_* · routines_list · routine_run · personas_list
Pluggable architecture

Plug anything.

Swap agent CLIs, task trackers, quota scripts, MCP or HTTP clients, and static office UIs without changing how your crew works.

crewboss connects to agent CLIs, task trackers, quota checks, clients, and offices and mods
Five plug points around a single local SQLite store.
Plug point Built-in options How to wire it
Agent CLIs Claude Code, Codex, opencode, agy "tiers": {"small": [{"tool": "claude", "model": "haiku"}]}
Task trackers Local SQLite, files, or any command (Jira, Linear, custom) "tracker": {"type": "file", "dir": "reports"}
Quota Any executable that returns skip JSON on stdout "quota": {"command": ["tools/check_quota.sh"]}
Clients CLI, MCP over stdio, local HTTP API crewboss mcp · crewboss serve
Offices & mods office-3d, custom static UIs, personas and routines from Git crewboss mod add github:PabloTheBlink/crewboss-office-3d
Offices & mods

Watch your crew in a live 3D office.

Offices are static UI mods served by crewboss serve. Install the official office-3d mod or publish your own.

office-3d preview: agents working at project desks, task whiteboard, and main session in the executive office
office Official mod

office-3d

See running agents at project desks, main sessions in the executive office, and floating hand-raises when an agent asks a question or gets blocked. Includes tasks, routines, reports, runs, and memory.

crewboss mod add github:PabloTheBlink/crewboss-office-3d
Quick start

Up and running in four commands.

Requires Node.js 22.13+ and at least one installed agent CLI (claude, codex, opencode, or agy).

my-project · quick start
bash
# 1. Detect installed CLIs and create crewboss.json + agents/dev.md
$ npx crewboss init

# 2. Preview chosen model, mode, and command without running anything
$ npx crewboss agent dev "Add a test for the login flow" --dry-run

# 3. Launch the agent and inspect run events
$ npx crewboss agent dev "Add a test for the login flow"
$ npx crewboss events
12 guides

Documentation

Quick start, model routing, live communication, MCP tools, routines, tasks, memory, API, plugins, and troubleshooting.

Open Documentation →
Community & official

Mods & Offices

Install Git-pinned office UIs, persona packs, and routine bundles, or publish your own with the crewboss-mod topic.

Explore Mods →
v0.2.0 + main

Changelog

Track every release from v0.1.0 through local SQLite, macOS launchd scheduling, MCP, live events, and mods.

Read Changelog →