Skip to content

Install Orbit

Install the CLI, then let your agent’s orbit-setup skill set up the repository, or run each step yourself.

  • macOS or Linux, on x64 or arm64. On Windows, use WSL2.
  • Node 18 or newer, for the npm install.
  • At least one signed-in agent CLI, such as Claude Code or Codex. Orbit runs every agent step through one. The setup explorer lists the supported CLIs.
  • The GitHub CLI (gh), signed in, if you want pull requests.
Terminal window
npm install -g @orbit-tools/cli
orbit init

orbit init asks for a machine name and a task-ID prefix, detects your agent CLIs, links Orbit’s skills into your agents, and on Linux prepares the sandbox.

GitHub releases may also attach a desktop app, a native window for the dashboard, as .deb and .AppImage bundles for Linux. macOS bundles require signing and notarization credentials. The app needs this CLI install. See Use the desktop app.

Native Windows is not supported: the npm install fails there with EBADPLATFORM. Open a WSL2 Linux shell and install inside it:

Terminal window
npm install -g @orbit-tools/cli

WSL2 has not yet been verified on a Windows host. The Windows WSL2 guide covers setup.

The plugin gives one agent Orbit’s MCP tools and skills without orbit on your PATH. It launches the pinned npm CLI. The dashboard and setup across several agents still need the CLI install above.

# Claude Code
/plugin marketplace add constellation-works/orbit
/plugin install orbit
# Codex CLI
codex plugin marketplace add constellation-works/orbit --ref agent-main
codex plugin add orbit@orbit
# Cursor, from a checkout of the Orbit repository
mkdir -p ~/.cursor/plugins/local && ln -sfn "$(pwd)/plugin" ~/.cursor/plugins/local/orbit

In Claude Code, the plugin also adds a live task band, an interactive board, and a ship view. See Use the Claude Code mod.

Open your agent in the repository and ask it to set up Orbit for this repo.

The orbit-setup skill registers the repository, connects your agent over MCP, checks your agent CLIs and the sandbox, and runs orbit doctor. It asks only for what it cannot infer, such as the branch pull requests should target. When it finishes, start a fresh agent session so the Orbit tools load.

Use the same skill later to add a provider, schedule work, upgrade, or fix a failing orbit doctor.

The steps the skill runs:

Terminal window
orbit init
cd <repo>
orbit workspace init --mcp
orbit task list
orbit doctor

orbit init creates the machine database and orbit workspace init the task index, but neither creates the workspace’s search index; the first command that opens the workspace does, and orbit task list is the simplest. orbit doctor only observes, so until then it reports a search-index warning. If a database is missing altogether, it reports a single runtime error row that names this step instead of the full report. Run orbit task list once, then orbit doctor.

orbit init sets up this machine under ~/.orbit/. It asks for:

  • a machine name, which you can change later;
  • a task-ID prefix of 2–5 uppercase letters, such as ABC, which can never change. ORB and ADR are reserved.

For an unattended setup, pass both:

Terminal window
orbit init --non-interactive --machine-name build-01 --task-prefix ABC

orbit init also adds a human crew for tasks Orbit tracks for you but never hands to an agent. Its name defaults to your OS user name; pass --human-name <name> to choose another.

orbit workspace init registers the repository and keeps its state under .orbit/. Its options:

Option Effect
--mcp Connects your agent clients with operator authority, so they can ship tasks and run governed operations. For an agent-only connection, see Connect your agent.
--base-branch <branch> Sets the branch pull requests target. The default is the branch checked out when you run the command, or main.
--ship-mode local Merges in place instead of opening pull requests.
--install-browser-kit Installs the headless browser kit without asking when the repository has a web UI (a package.json or HTML file). Without it, the command asks at a terminal and otherwise only says how.
--preset <file> Applies a workspace preset that a distribution supplies.

Orbit runs each agent in an OS-level sandbox. macOS needs no setup. On Linux the sandbox is Bubblewrap, and runs stay blocked until orbit doctor providers reports it ready.

orbit init prepares it: if Bubblewrap is missing or does not work for your account, it installs one and asks for your password. Run orbit init as the account that will run Orbit, not through sudo.

An unattended orbit init never waits for a password, so it prepares the sandbox only as root or with passwordless sudo. Otherwise it warns and sets up the rest. Fix the cause the warning names, then run orbit init --host-prerequisites-only.

A run that fails with bwrap: setting up uid map: Permission denied points to this step, not your task. The Linux sandbox runbook has the fix for each failure.

orbit init writes ~/.orbit/config.toml with the built-in crews, enables those whose agent CLI it finds, and picks a default from them. If it finds none, enable a crew before you dispatch. What orbit init seeds lists the other values it sets.

To use a different default crew in this workspace:

Terminal window
orbit config set --seed-from-global workflow.default_crew opus

--seed-from-global starts a workspace config that does not exist yet from the global one.

orbit doctor checks the workspace, and orbit doctor providers shows whether each agent CLI and the sandbox are ready. Configuration lists every setting.

When your tasks involve user interfaces, agents can capture screenshots and verify visual changes using a headless browser kit. The kit is host-owned and belongs to the user account that runs workers, rather than to a repository.

Run browser-kit setup on the host as the user who runs workers. Do not run it as root, and do not run it from inside an agent worker: the worker sandbox gives each run an isolated scratch space and forbids elevation. On a multi-host setup, install the kit on each worker machine that handles UI tasks.

  • Location: The kit installs under ~/.local/chromium-deps/.
  • Node: Requires Node 18 or newer with node and npm on PATH. Orbit checks for Node but does not install it.
  • Pinned downloads: Orbit downloads Playwright and the pngjs pixel helper at the versions pinned by your Orbit release, plus its matching Chromium headless shell (chromium-headless-shell) from Playwright’s CDN.

To install and verify the browser kit in one step:

Terminal window
orbit config browser-kit install

install downloads the pinned Playwright package and Chromium headless shell, configures the environment script (env.sh), and automatically runs the verification smoke test. If an existing kit is already present at the pinned version, Orbit adopts it, skips completed steps, and preserves an operator-managed env.sh.

Chromium requires system shared libraries on Linux (such as GTK, ATK, X11, and font libraries). You have two options:

  • Rootless unpack (default): On Debian and Ubuntu, orbit config browser-kit install downloads and unpacks the needed packages directly into ~/.local/chromium-deps/root/ without requiring sudo, setting up LD_LIBRARY_PATH inside env.sh.

  • System-wide packages: To install dependencies system-wide using sudo, pass --with-deps:

    Terminal window
    orbit config browser-kit install --with-deps

On other Linux distributions, install and status report any unresolved libraries and the packages needed to satisfy them.

To inspect the kit:

Terminal window
orbit config browser-kit status

status reports the kit location, installed Playwright version, Chromium revision, Node path, library status, verification timestamp, and what workers receive.

A successful verification records a pass in orbit-kit.json. Only then does Orbit’s CLI runner inject three environment variables into workers:

  • PLAYWRIGHT_BROWSERS_PATH: Path to the downloaded browsers directory.
  • PLAYWRIGHT_MODULE: Path to the kit’s Playwright ES module (index.mjs).
  • ORBIT_BROWSER_KIT_ENV: Path to env.sh, which worker checks source to load the kit’s library and font configuration.

Tasks tagged ui require a verified browser kit. If verification has not passed, workers receive none of these variables, and UI tasks wait for a host with a verified kit.

verify records the Playwright version and Chromium revision that passed. The pass remains current while those versions still match and the Playwright module, Chromium executable, and env.sh are present; status reports Linux library problems separately. If a newer Orbit release pins different package versions, status reports the mismatch, but it does not by itself revoke the previous pass, so workers continue receiving its variables until install updates the kit. Each verify run clears the previous pass first, so a failed or timed-out run leaves workers without the kit variables.

To repair the kit:

  1. Run orbit config browser-kit status to inspect unresolved libraries or configuration problems.

  2. If the installed versions match this release’s pins, the required files are present, and status reports no unresolved libraries, re-run the loopback smoke test:

    Terminal window
    orbit config browser-kit verify

    verify starts a local loopback server, launches headless Chromium, captures a screenshot, checks pixel decoding, and records a fresh pass upon success. Any failure immediately revokes the pass.

  3. If status reports a package version mismatch or a required file is missing, run orbit config browser-kit install to update the kit; it verifies automatically when its dependencies are resolved. If status or install reports unresolved Linux libraries, follow the reported fix, then run orbit config browser-kit verify.

To delete the kit and stop providing browser variables to workers:

Terminal window
orbit config browser-kit remove --confirm

--confirm is required to delete ~/.local/chromium-deps.

Ask your agent to upgrade Orbit; the orbit-setup skill checks for running Orbit processes first. To upgrade by hand, stop running Orbit sessions and orbit web serve, then run:

Terminal window
npm install -g @orbit-tools/cli@latest
orbit workspace sync --all
  • orbit update --check tells you whether a newer release is out. With an npm install, orbit update prints the npm command instead of replacing the binary.
  • orbit workspace sync --all brings every registered workspace’s managed defaults up to date. Run it once on each host. See Synchronize shipped defaults.
  • Required state migrations apply the next time Orbit opens a workspace. orbit migrate lists the others, and orbit migrate --confirm applies them.