concord ai
Skip to Content
concord docs

CLI reference

Every concord command and its options.

Global options: -C, --repo <path> or --workspace <id> (not both), and --version.

Setup

concord setup

Sets up the current repository for every detected agent. Safe to re-run.

FlagEffect
--global / --no-globalTurn global mode on or off
--repo-filesWrite repository files even with global mode on
--claude-hooksAdd a Claude Code pre-edit hook that blocks edits to files another task claims
--no-mcpWrite state and instructions only; don't register the MCP server
--no-adaptersSkip installing harness adapters
--require-adaptersFail unless every detected adapter is ready
--auto-adapters / --no-auto-adaptersInstall a missing adapter when a session finds it missing, or only report it

concord adapters

CommandDoes
adapters statusDetection, installation and delivery for each harness
adapters doctorProbe installed adapters and explain degraded delivery
adapters install [--require]Install adapters into every detected harness
adapters uninstallRemove globally installed adapter files (not OpenCode's)
adapters codex [args...]Start Codex with live message delivery
adapters copilot [args...]Start Copilot CLI with live message delivery
adapters opencode [args...]Start OpenCode with live message delivery
adapters gemini [args...]Start Gemini CLI with the inbox monitor running
adapters openclaw --agent <id>Run a message receiver for one OpenClaw agent

Cloud

CommandDoes
cloud login [--no-browser] [--key-stdin] [--url <url>]Sign in and link this machine to Cloud
cloud logoutForget the saved login
cloud link / cloud unlinkSwitch this machine to Cloud, or back to local, staying signed in
cloud status [--json]Login, link state and API status
cloud agents [--json]Agents Cloud has seen from this machine

See Machines and sign-in.

Looking at work

CommandDoes
statusThe workspace at a glance
whoAgents and what they're on
tasksTasks and their state
messages [--agent <id>] [--thread <id>] [--limit <n>] [--json]Message threads (read-only)
dashboardLive terminal dashboard. Keys: Tab, j/k or arrows, /, ?, q
watchStream changes
check [files...] [-t <task>]Exit 1 if the files overlap another task's claim
handoff <taskId>Write the task's handoff as markdown
review-packet <taskId>Write the task's review packet as markdown
export [format]Export work state (default markdown)
doctor [--fix]Check the install and Cloud link; --fix repairs broken adapter links

check and work refuse to run on a machine linked to Cloud.

Working from a shell

concord work

The five MCP tools as commands, for agents without MCP (such as Aider) and for scripts:

concord work start --task TASK-12 --title "Fix invoice rounding" --files src/billing/invoice.ts
concord work update --task TASK-12 --type decision --content "Round half-even, per finance."
concord work finish --task TASK-12 --expected-version 3 --outcome review_ready --summary "Rounding fixed, tests added"

Subcommands: start, inspect, update, transfer, finish. Shared options: --json <file|-> to pass the full tool input as JSON, --agent, --kind. Output is JSON; errors print {"error": ...} and exit 1.

concord inbox

Used by adapters and hooks; you rarely run these yourself.

CommandDoes
inbox status [--cloud] [--json]Inbox and endpoint state
inbox register --agent <id> --provider <name>Register a pull endpoint
inbox drain --agent <id> --provider <name> [--format ...]Deliver waiting messages
inbox watch --agent <id> --provider <name> [--once] [--interval <ms>]Watch for messages and wake the session

concord hook <event>

Entry points for harness hooks, such as pre-tool-use, session-start, post-tool-use and stop. Setup wires these up for you.

On this page