---
title: "Self-host quickstart"
description: "Self-host Cadence on Linux by creating local state, starting the daemon, and opening the loopback board."
---

> 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.

# Self-host quickstart

Use this on Linux to **self-host** a local Cadence team from a fresh CLI install. (For a hosted workspace, connect directly over [Workspace MCP](/mcp/) without a local daemon.) Setup creates missing local state and leaves anything already present alone. It prints the board URL. It does not open a browser.

1. **Create local state**

   ```bash
   cadence setup
   ```

   Setup checks the state directory, the issue tracker, the Cadence skill, the daemon, the board, detected provider CLIs, and operator login. Exit code 1 means a check failed. `--json` prints one object per check.
2. **Keep the controller running**

   ```bash
   cadence daemon start
   cadence skill install
   ```

   `daemon start` runs the controller detached. `skill install` copies the `cadence` skill to the agent CLIs Cadence knows about.
3. **Name a PM and a worker**

   Provider CLIs must already be installed and signed in. This example uses a headless Claude PM and a detached Devin worker. Swap the provider for one you actually have (`codex`, `claude`, `pi`, `cursor`, or `devin`).

   ```bash
   cadence claude --alias pm --role pm
   cadence join pm devin --alias w1 --detach
   ```

   `join` attaches the worker to the PM. Results route back to that PM. `--detach` leaves this shell free.
4. **Assign an existing issue**

   ```bash
   cadence dispatch CAD-1 --to w1 --reply-to pm
   cadence status
   cadence ui status
   ```

   `CAD-1` must already exist in the tracker. `status` is the fleet overview. `ui status` reports the board setup started. Open the URL `cadence setup` printed. It is a loopback board.

Use `cadence ui run` only when you intend to serve a board in the foreground and one is not already running.

Task worktrees, when you opt a worker into one, live under `.cadence/wt/` in the repo checkout.

`cadence dev up` (alias `sandbox`) starts a disposable second instance with its own state directory, tracker, and board port. Do not point experiments at a store you care about.

Provider support is tested per adapter. Packaging a platform does not mean every provider session type works there. A managed Codex worker also depends on that CLI's sandbox (`codex sandbox`) being allowed to run on the host.

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