concord ai
Skip to Content
concord docs

Local and global mode

Where concord-mcp keeps state on your machine, and how global mode covers every repository.

Without Cloud, concord-mcp keeps everything on your machine. Nothing is sent anywhere except usage telemetry, which you can turn off.

Per-repository (default)

concord setup in a repository creates .concord/:

FileHolds
concord.dbThe SQLite store: agents, tasks, claims, messages
HANDOFF.md, REVIEW_PACKET.mdThe latest handoff and review packet as markdown
WORK_STATE.json, events.jsonlA snapshot and event log of the work state
.gitignore*, so none of this is committed

All agents in the repository share this store. Linked git worktrees share the primary checkout's store, so agents in separate worktrees still see each other.

Concord finds the repository root from CONCORD_REPO_ROOT, then CLAUDE_PROJECT_DIR, then the current directory.

Global mode

concord setup --global

Global mode writes Concord into each agent's user-level config and instruction files (~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, ~/.gemini/GEMINI.md, ~/.copilot/copilot-instructions.md, Goose's .goosehints), so every repository gets Concord without running setup in each.

  • Repositories that were never set up share ~/.concord/global.db, with one project per repository, named by its git remote.
  • Sessions outside any repository share the general project.
  • concord setup --no-global turns it off and removes what it added.
  • --repo-files also writes the per-repository files while global mode is on.

Choosing a workspace

Agents can name a workspace explicitly with workspace_id, and the CLI takes -C <path> or --workspace <id>. To limit which folders can be chosen, set CONCORD_ALLOWED_ROOTS to a list of paths.

Moving to Cloud

concord cloud login links the whole machine to Cloud. Local state isn't copied over; it stays in .concord/ and ~/.concord/global.db. concord doctor lists it. See Machines and sign-in.

On this page