CLI reference
This page documents every modulatio command and flag. The full command tree:
modulatio├── setup # First-run / re-config wizard├── kickoff # Run one GSD pass on a project├── doctor # Health check├── import # Import a .modulatio backup├── export # Export a backup or artifact├── models│ ├── list│ ├── show│ ├── add│ ├── edit│ └── remove├── auth│ ├── list│ ├── clear│ └── clear-all├── heartbeat│ ├── add│ ├── list│ ├── cancel│ ├── clear-done│ └── run-once├── cron│ ├── add│ ├── list│ ├── enable│ ├── disable│ ├── remove│ ├── run-now│ └── dispatch-due├── daemon│ ├── on│ ├── off│ └── status├── telegram│ ├── setup│ ├── enable│ ├── disable│ ├── status│ └── test└── project ├── show ├── runs └── cleanPlus three sibling entry points installed alongside modulatio:
modulatio-tui— launch the TUImodulatio-standards— manage TQM standardsmodulatio-memory— inspect per-agent + team memory
(A fourth entry point, modulatio-api — a FastAPI server for a planned web dashboard — is on the long-horizon roadmap but did NOT ship in this release. The console script is intentionally not declared until the underlying module exists. See Roadmap.)
Run any command with --help for inline help.
Top-level
Section titled “Top-level”modulatio setup
Section titled “modulatio setup”Run the setup wizard (first-run or re-config). See Setup wizard for the full flow.
modulatio setupNo flags; the wizard is interactive.
modulatio kickoff
Section titled “modulatio kickoff”Run one GSD pass on a project objective. This is the work verb — it’s what plans get launched through (alongside conversational launches via the TUI).
modulatio kickoff --code <CODE> --objective "<TEXT>" [OPTIONS]Required:
--code TEXT— Project code (e.g.,essays,prime-vital). Must already exist in the vault.--objective TEXT— Top-level objective for this kickoff.
Common options:
--name TEXT— Display name (defaults to objective).--leader-model TEXT— Preset key or raw LiteLLM ID for Leader. Strategic / reasoning model.--planner-model TEXT— Preset key or LiteLLM ID for the task-planning call. Defaults to--leader-model(planning is the Leader’s job).--specialist-model TEXT— Preset key or LiteLLM ID for the producer/drafter (and QC if--qc-modelnot set). Prefer a non-reasoning / reasoning-OFF model.--qc-model TEXT— Preset key or LiteLLM ID for QC. Architecture prefers a different (smart agentic) model from the specialist for diversity.--stub— Use canned stub runners (offline smoke test, no real LLM calls).
If a model flag is omitted, the value comes from team_template.json for that agent.
Example:
modulatio kickoff \ --code essays \ --objective "draft three essays on stoicism" \ --leader-model claude-sonnet \ --specialist-model glm-5.1modulatio doctor
Section titled “modulatio doctor”Run a battery of health checks on the install + config, plus surface the engine-calibration banner.
modulatio doctorChecks: Python version, dependency imports, vault detection, provider auth profiles, daemon socket, embedding cache, Telegram credentials, …
Output format: [✓], [!], or [✗] per check, with remediation hints for failures.
Run this first whenever something feels off.
Engine calibration banner: between the Sandbox section and the Alerts section, doctor surfaces what the engine is and isn’t sized for. This sets correct expectations on first contact:
✓ Single-phase deliverables— calibrated for jobs that fit in one phase (short ebooks, small apps, single-file tools, research briefs, code modules).✓ Python repos— full symbol-aware code map (classes, methods, signatures via stdlibast).! Other languages (JS / TS / Ruby / Go / Rust)— visible by filename only; multi-language symbol map is on the roadmap.! Multi-phase / long-running work— NOT yet supported. For now, manage phase boundaries yourself or scope down.! Build / test feedback loop— NOT yet wired. The producer writes code; QC reads it. Connect your own pytest / npm test via a custom skill, or wait for the build-test smoke skill.
The banner appears inline in doctor’s output and is intentionally hard to miss.
modulatio export
Section titled “modulatio export”Export a .modulatio backup of vault + config.
modulatio export <FILE> [--include-secrets] [--code CODE [--code CODE ...]]By default, secrets (vault .env contents, Telegram bot token) are stripped from the backup. The resulting .modulatio is share-safe — you can email it, attach it to a bug report, or commit it to a shared sync location. After importing, re-authenticate providers and re-set the Telegram token.
To produce a self-contained backup that re-imports without re-auth, pass --include-secrets. The CLI prints a clear warning to stderr when this flag is used.
--code filters to specific project codes; repeat for multiple. By default all projects under the vault root are included.
Importable on another machine with modulatio import.
modulatio import
Section titled “modulatio import”Import a .modulatio backup.
modulatio import <FILE>Restores vault content and config. Default backups have secrets stripped; you’ll need to re-auth providers and re-set the Telegram bot token after import.
modulatio models
Section titled “modulatio models”Manage your model presets.
models list
Section titled “models list”modulatio models listShows all entries in <vault>/model_presets.json with label, provider URL, model ID, and capabilities (tools, images, context window).
models show <KEY>
Section titled “models show <KEY>”modulatio models show grok-fastShow all fields of a single entry.
models add
Section titled “models add”modulatio models addInteractive flow — same as the wizard’s step 3 quick-add. Prompts for label, URL, auth type, auth value, model ID, then probes the endpoint to confirm it works.
models edit <KEY>
Section titled “models edit <KEY>”modulatio models edit grok-fastInteractive — pre-populates current values, lets you edit each field.
models remove <KEY>
Section titled “models remove <KEY>”modulatio models remove grok-fastRemoves the entry. Warning: any agent currently pointing at this label will fail to load until you point it at a different model.
modulatio auth
Section titled “modulatio auth”Manage auth profiles. Mostly for OAuth providers — api_key entries don’t usually need auth-management commands beyond what models provides.
auth list
Section titled “auth list”modulatio auth listShows all configured auth profiles, their status (active, expired, expiring-soon), and refresh history.
auth clear <PROVIDER_ID>
Section titled “auth clear <PROVIDER_ID>”modulatio auth clear oauth_anthropicClear the cached tokens for one provider. Forces re-auth on next use.
auth clear-all
Section titled “auth clear-all”modulatio auth clear-allClear all cached auth state. Nuclear option.
modulatio heartbeat
Section titled “modulatio heartbeat”Manage one-shot scheduled tasks (think at for Modulatio). Different from cron (which is recurring).
heartbeat add
Section titled “heartbeat add”modulatio heartbeat add --at "2026-05-15 09:00" --task "review-q1-essays"Schedule a one-shot task. The daemon fires it at the given time.
Flags:
--at TEXT(required) — Wall-clock time (RFC3339 or “natural” parseable formats).--task TEXT(required) — Task description / objective.--project TEXT— Project code (defaults to active project).
heartbeat list
Section titled “heartbeat list”modulatio heartbeat list [--status pending|done|cancelled]Show scheduled / completed heartbeat tasks.
heartbeat cancel <TASK_ID>
Section titled “heartbeat cancel <TASK_ID>”modulatio heartbeat cancel hb-018heartbeat clear-done
Section titled “heartbeat clear-done”Remove all done and cancelled heartbeat entries.
heartbeat run-once <TASK_ID>
Section titled “heartbeat run-once <TASK_ID>”modulatio heartbeat run-once hb-018Fire a heartbeat task immediately (regardless of its scheduled time). Useful for testing.
modulatio cron
Section titled “modulatio cron”Manage recurring scheduled tasks.
cron add
Section titled “cron add”modulatio cron add --schedule "0 9 * * 1-5" --task "morning-summary" [OPTIONS]Add a recurring task.
Flags:
--schedule TEXT(required) — Cron expression (5-field standard, UTC).--task TEXT(required) — Task description.--project TEXT— Project code.--agent TEXT— Pin the task to a specific agent (defaults to dynamic dispatch).
cron list
Section titled “cron list”modulatio cron listShow all cron jobs with schedule, next run, last run, status.
cron enable <JOB_ID> / cron disable <JOB_ID>
Section titled “cron enable <JOB_ID> / cron disable <JOB_ID>”Toggle a job without removing it.
cron remove <JOB_ID>
Section titled “cron remove <JOB_ID>”Permanently remove a cron job.
cron run-now <JOB_ID>
Section titled “cron run-now <JOB_ID>”Fire a cron job immediately (regardless of schedule).
cron dispatch-due
Section titled “cron dispatch-due”Dispatch all due jobs (normally the daemon does this; useful for one-shot manual runs).
modulatio daemon
Section titled “modulatio daemon”Manage the headless daemon that drives plan execution and scheduled tasks.
daemon on
Section titled “daemon on”modulatio daemon onStart the daemon as a background process.
daemon off
Section titled “daemon off”modulatio daemon offStop the daemon. In-flight plans transition to paused and resume when the daemon comes back up.
daemon status
Section titled “daemon status”modulatio daemon statusShow daemon state (running/stopped), uptime, current job count, last error.
modulatio telegram
Section titled “modulatio telegram”Manage the Telegram bot integration.
telegram setup
Section titled “telegram setup”modulatio telegram setupInteractive flow — bot token, your user ID (allowlist), notification preferences.
telegram enable / telegram disable
Section titled “telegram enable / telegram disable”Toggle Telegram notifications without removing config.
telegram status
Section titled “telegram status”Show current Telegram config state.
telegram test
Section titled “telegram test”modulatio telegram testSend a test message to confirm token + chat ID work.
modulatio project
Section titled “modulatio project”Manage projects and their plans.
project list
Section titled “project list”modulatio project listList every project under the vault, with the current default marked *. (Switch
between projects live inside the TUI from the PROJECTS tab, or /project.)
project use <CODE>
Section titled “project use <CODE>”modulatio project use essaysSwitch the active project — the one a bare modulatio / the TUI launches on. Errors
if the project doesn’t exist; the team (agents + models) is install-level and unchanged,
only the active work switches.
project show [CODE]
Section titled “project show [CODE]”modulatio project show essaysShow project details: roster, standards, recent runs.
If no code given, shows all projects.
project runs <CODE>
Section titled “project runs <CODE>”modulatio project runs essaysList all plan runs for a project, with state and dates.
project clean <CODE>
Section titled “project clean <CODE>”modulatio project clean essays --older-than 30dRemove old run artifacts. Default: dry-run (shows what would be removed). Add --force to actually delete.
modulatio-tui
Section titled “modulatio-tui”Launch the terminal UI.
modulatio-tui [PROJECT_CODE]If PROJECT_CODE is given, opens directly to that project. Otherwise shows the project picker.
Key bindings inside the TUI:
F1-F8— focus a specific tab/panelTab/Shift+Tab— cycle focusCtrl+Corq— quit/<command>— slash commands (e.g.,/crewshows roster,/planslists plans)Enter— send message to focused agent
A dedicated TUI guide is on the docs roadmap.
modulatio-standards
Section titled “modulatio-standards”Manage TQM standards (the layer-2 and layer-3 quality rules).
standards list
Section titled “standards list”modulatio-standards list [--kind <KIND>]Show standards across artifact kinds, or filter to one kind.
standards add <KIND> "<RULE>"
Section titled “standards add <KIND> "<RULE>"”modulatio-standards add essays "Avoid academic register; aim for warm, literary tone."standards remove <KIND> <ID>
Section titled “standards remove <KIND> <ID>”Remove a specific rule by ID (shown in standards list).
standards override <PROJECT_CODE> <KIND> "<RULE>"
Section titled “standards override <PROJECT_CODE> <KIND> "<RULE>"”Add a project-specific override (layer 3) that supersedes the layer-2 rule.
modulatio-memory
Section titled “modulatio-memory”Inspect and manage per-agent + team-shared memory stores.
memory show <SCOPE>
Section titled “memory show <SCOPE>”modulatio-memory show drafter # per-agentmodulatio-memory show qc-pool # team-shared QC poolmemory clear <SCOPE>
Section titled “memory clear <SCOPE>”Clear a memory scope. Destructive. Confirms before acting.
memory export <SCOPE> --output <FILE>
Section titled “memory export <SCOPE> --output <FILE>”Export memory to JSONL for backup / inspection.
Environment variables
Section titled “Environment variables”Modulatio reads several env vars (auto-loaded from <vault>/.env and process environment):
MODULATIO_VAULT— override the configured vault pathMODULATIO_DAEMON_SOCKET— override the daemon socket locationMODULATIO_DEBUG—1enables debug loggingMODULATIO_QC_FIXER—0disables QC-as-fixer (defaults ON; producer-can’t-converge tasks normally route to QC for a final patch)<PROVIDER>_API_KEY— provider-specific API keys (e.g.,XAI_API_KEY,OPENROUTER_API_KEY,OPENAI_API_KEY,ANTHROPIC_API_KEY)LITELLM_PROXY_URL— route all model calls through a LiteLLM proxy if set
Exit codes
Section titled “Exit codes”0— success1— generic error2— user input error (bad flag, missing required arg)3— config error (malformed config file, missing required setting)4— auth error (provider auth failure, no credentials)5— daemon error (daemon not running when needed, socket error)6— plan error (plan not found, invalid state for action)
Next steps
Section titled “Next steps”- Troubleshooting — error-to-fix mappings
- Plan lifecycle — what each
projectcommand’s underlying state transitions look like