---
title: "Concepts"
description: "How MCP connections, owner approvals, agents, issues, and review fit together in hosted and self-hosted Cadence."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.agenticos.hk/llms.txt
> Use this file to discover all available pages before exploring further.

# Concepts

Cadence supports two ways to run:

- **Hosted Cadence:** a shared workspace connected to external AI clients over [Workspace MCP](/mcp/) and to third-party tool servers over [Custom MCP servers](/custom-mcp/), with mutating calls queued for owner approval in Home.
- **Self-hosted CLI:** a single-host setup where the `cadence` CLI coordinates coding agents with persisted messages, a private git repo of Markdown issues, and commit-pinned code review.

- **Agents** — Named endpoints with a role. A PM dispatches; a worker implements; a reviewer judges a revision.
- **Issues** — One folder per issue in a private git tracker. The CLI and the board share one writer.
- **Review** — Workers report a git `sha`. A verdict binds to that head. `cadence audit` flags merges with no passing verdict.

## Agents

An agent is a real session, not a label in a spreadsheet. Interactive providers run in owned tmux panes (Devin, Cursor, and Claude with `--tui`). Headless providers are managed endpoints (Codex, Claude stream-json, and Pi via `join <pm> pi`). Sessions resume by their native ids.

Roles on `cadence join` are `pm`, `worker`, and `reviewer`. `reviewer` is who a delivery review may be routed to. It does not grant PM authority. Aliases (`--alias pm`, `--alias w1`) are how you address agents in later commands.

`cadence dispatch ISSUE --to ALIAS` sends an existing issue to a worker. From inside an agent's pane, only a group root may join, and only into its own group. Codex workers record a filesystem sandbox (`read-only` or `workspace-write`); other providers store that value and keep their own defaults.

`cadence status` and `cadence agent` show the fleet. A failed provider preflight (for example Codex sandbox refused by the host) leaves the agent needing attention before work can be assigned.

## Issues

Issues live in a private git repository, by default `~/pm`, or `CADENCE_PM_DIR` when set. Each issue is a folder: `issue.md` (frontmatter plus body), comments, and small artifacts. Every write is one commit, so `issue log` and git blame work without the daemon.

The board and `cadence issue` share one writer. The board is a loopback SPA and JSON API. Tracker reads still work if the daemon is down; the runtime strip then shows the daemon as unreachable.

Typical fields are id, title, status, priority, optional owner, claim, component, and tags. File status `done` or `dropped` is terminal. A claim records who holds an in-flight issue. Dispatch refuses an issue another lane already holds unless you pass an explicit take-over reason, which is recorded on the issue.

Create and update issues with `cadence issue` (list, show, new, comment, set) or the board. Do not hand-edit tracker files while a writer is active.

## Review

Delivery is tied to a git revision. The worker's report includes `sha:`. A reviewer records a verdict against that exact head. Moving the branch after the report does not move the verdict.

`cadence audit` checks for merges that landed without a passing verdict on the reviewed revision. `cadence review` is the local command for that workflow. Review evidence stays with the run; it is not inferred from a green chat transcript.

The same rule is why remote retries are narrow: if a remote write's outcome is ambiguous, read the issue again before sending the write a second time.

Source: https://docs.agenticos.hk/concepts/index.mdx
