Install Orbit
Install the CLI, then let your agent’s orbit-setup skill set up the
repository, or run each step yourself.
Prerequisites
Section titled “Prerequisites”- 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.
Install
Section titled “Install”npm install -g @orbit-tools/cliorbit initorbit 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 . and
. bundles for Linux. macOS bundles require signing and notarization
credentials. The app needs this CLI install. See Use the desktop app.
Windows
Section titled “Windows”Native Windows is not supported: the npm install fails there with
EBADPLATFORM. Open a WSL2 Linux shell and install inside it:
npm install -g @orbit-tools/cliWSL2 has not yet been verified on a Windows host. The Windows WSL2 guide covers setup.
Install as an agent plugin
Section titled “Install as an agent plugin”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 CLIcodex plugin marketplace add constellation-works/orbit --ref agent-maincodex plugin add orbit@orbit
# Cursor, from a checkout of the Orbit repositorymkdir -p ~/.cursor/plugins/local && ln -sfn "$(pwd)/plugin" ~/.cursor/plugins/local/orbitIn Claude Code, the plugin also adds a live task band, an interactive board, and a ship view. See Use the Claude Code mod.
Let your agent set it up
Section titled “Let your agent set it up”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 . 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 .
Set up by hand
Section titled “Set up by hand”The steps the skill runs:
orbit initcd <repo>orbit workspace init --mcporbit task listorbit doctororbit creates the machine database and orbit the task
index, but neither creates the workspace’s search index; the first command
that opens the workspace does, and orbit is the simplest.
orbit 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 once, then orbit .
Initialize the machine
Section titled “Initialize the machine”orbit sets up this machine under ~/. 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.ORBandADRare reserved.
For an unattended setup, pass both:
orbit init --non-interactive --machine-name build-01 --task-prefix ABCorbit 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 to choose another.
Register the repository
Section titled “Register the repository”orbit registers the repository and keeps its state under
.. 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 |
Sets the branch pull requests target. The default is the branch checked out when you run the command, or main. |
--ship-mode |
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. or HTML file). Without it, the command asks at a terminal and otherwise only says how. |
--preset |
Applies a workspace preset that a distribution supplies. |
Prepare the sandbox
Section titled “Prepare the sandbox”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 reports it ready.
orbit prepares it: if Bubblewrap is missing or does not work for your
account, it installs one and asks for your password. Run orbit as the
account that will run Orbit, not through sudo.
An unattended orbit 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 .
A run that fails with bwrap: points to
this step, not your task. The
Linux sandbox runbook
has the fix for each failure.
Configure and check
Section titled “Configure and check”orbit writes ~/ 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 seeds lists the
other values it sets.
To use a different default crew in this workspace:
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 checks the workspace, and orbit shows
whether each agent CLI and the sandbox are ready.
Configuration lists every setting.
Prepare a browser kit for UI tasks
Section titled “Prepare a browser kit for UI tasks”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.
Requirements and location
Section titled “Requirements and location”- Location: The kit installs under
~/.. local/ chromium-deps/ - Node: Requires Node 18 or newer with
nodeandnpmonPATH. Orbit checks for Node but does not install it. - Pinned downloads: Orbit downloads Playwright and the
pngjspixel helper at the versions pinned by your Orbit release, plus its matching Chromium headless shell (chromium-headless-shell) from Playwright’s CDN.
Install and verify
Section titled “Install and verify”To install and verify the browser kit in one step:
orbit config browser-kit installinstall downloads the pinned Playwright package and Chromium headless shell,
configures the environment script (env.), 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..
Linux shared libraries
Section titled “Linux shared libraries”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,
orbitdownloads and unpacks the needed packages directly intoconfig browser-kit install ~/without requiring. local/ chromium-deps/ root/ sudo, setting upLD_LIBRARY_PATHinsideenv..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.
Check status and worker availability
Section titled “Check status and worker availability”To inspect the kit:
orbit config browser-kit statusstatus 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.. 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 toenv., which worker checks source to load the kit’s library and font configuration.sh
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.
Repair a failed or stale verification
Section titled “Repair a failed or stale verification”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. 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:
-
Run
orbitto inspect unresolved libraries or configuration problems.config browser-kit status -
If the installed versions match this release’s pins, the required files are present, and
statusreports no unresolved libraries, re-run the loopback smoke test:Terminal window orbit config browser-kit verifyverifystarts 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. -
If
statusreports a package version mismatch or a required file is missing, runorbitto update the kit; it verifies automatically when its dependencies are resolved. Ifconfig browser-kit install statusorinstallreports unresolved Linux libraries, follow the reported fix, then runorbit.config browser-kit verify
Remove the kit
Section titled “Remove the kit”To delete the kit and stop providing browser variables to workers:
orbit config browser-kit remove --confirm--confirm is required to delete ~/.
Stay current
Section titled “Stay current”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 , then run:
npm install -g @orbit-tools/cli@latestorbit workspace sync --allorbittells you whether a newer release is out. With an npm install,update --check orbitprints the npm command instead of replacing the binary.update orbitbrings every registered workspace’s managed defaults up to date. Run it once on each host. See Synchronize shipped defaults.workspace sync --all - Required state migrations apply the next time Orbit opens a workspace.
orbitlists the others, andmigrate orbitapplies them.migrate --confirm