Reference
CLI Commands Reference
Complete reference for all Jetpack CLI commands.
Command Overview
| Command | Description | Example |
|---|---|---|
| init | Initialize database and project | jetpack init |
| start | Start coordinator + agents + web UI | jetpack start -a 5 --strategy best-fit |
| agent | Join swarm as a single agent | jetpack agent --skills typescript,react |
| load | Load a plan from markdown/JSON | jetpack load plan.md --name 'Auth' |
| task | Create a single task | jetpack task -t "Fix bug" -p high |
| tasks | List all tasks | jetpack tasks |
| agents | List registered agents | jetpack agents |
| status | Show swarm status | jetpack status |
| reset | Reset stuck agents and recover orphaned tasks | jetpack reset |
| recover | Recover stuck tasks from stale agents | jetpack recover |
| check-reservations | Check file reservation conflicts | jetpack check-reservations |
| hook | Install/uninstall pre-commit Git hook | jetpack hook install |
| web | Start dashboard only | jetpack web |
jetpack init
Initialize Jetpack in a project directory.
jetpack init # Use defaults (current directory)
jetpack init -d /path/to/project # Specify directory
jetpack init --turso-url <url> --turso-token <token> # Use Turso cloudCreates:
.jetpack/jetpack.db- SQLite database (local mode).tasks/- Task graph and execution log.memories/- Vector-enabled memory database.turso/- Embedded replica and sync metadata (if using Turso)- Updates
CLAUDE.mdwith usage instructions
jetpack start
Start the full Jetpack system.
jetpack start # Uses config defaults
jetpack start -a 5 # 5 agents
jetpack start --strategy graph-prioritized # Use smart prioritization
jetpack start --tui # Terminal UI dashboard
jetpack start --no-browser # Don't auto-open browserLaunches:
- SwarmCoordinator - manages agent lifecycle and work distribution
- AI Agents - execute tasks via AgentHarness (default: 3)
- Web Dashboard - http://localhost:3000
- Health monitoring - heartbeat checks and stale agent recovery
jetpack task
Create a new task.
# Simple task
jetpack task --title "Fix login bug"
# Complex task
jetpack task \
--title "Add dark mode support" \
--description "Implement theme switching across the app" \
--priority high \
--skills react,frontend,typescript \
--estimate 45jetpack status
Get current system status.
jetpack status
# Output example:
# === Jetpack Status ===
#
# Agents:
# agent-1: busy
# Working on: bd-a1b2
# agent-2: idle
# agent-3: busy
# Working on: bd-c3d4
#
# Tasks:
# Total: 10
# Pending: 3
# In Progress: 2
# Completed: 5
# Failed: 0jetpack load
Load a plan from a markdown or JSON file.
# Preview what will be created
jetpack load plan.md --dry-run
# Load with a name
jetpack load plan.md --name "Auth System"
# Load from JSON
jetpack load plan.jsonMarkdown headers map to hierarchy: # = epic, ## = task group, - = leaf task (claimable).
jetpack agent
Join the swarm as a single agent.
# Join with specific skills
jetpack agent --skills typescript,react
# Join with a custom name
jetpack agent --name my-agent --skills backend,databasejetpack recover
Recover stuck tasks from stale or crashed agents.
jetpack recover
# Finds agents with no heartbeat and resets their claimed tasks to pending