Getting started

Getting started

Install

On macOS (arm64 and x64) and Linux (x64):

curl -fsSL https://raw.githubusercontent.com/espetro/coordinate/main/install.sh | sh

This installs coordinate in ~/.local/bin, along with four helper scripts for coding agents. Pass --no-scripts to skip the helpers.

With mise, run mise use -g github:espetro/coordinate instead.

Windows support is best effort:

irm https://raw.githubusercontent.com/espetro/coordinate/main/install.ps1 | iex

Start the daemon

The daemon runs the jobs. Start one on each machine that should do work.

coordinate daemon &

On macOS and Linux, you can install it as a service that starts at login instead:

coordinate service install

Run your first job

Enqueue a command. coordinate prints the job id.

coordinate enqueue --shell -- 'pnpm test && pnpm build'

Watch it run.

coordinate status        # every job (historical TSV)
coordinate status 1      # one job as JSON, payload decoded
coordinate jobs --json   # canonical v1 machine records, one JSON object per line
coordinate stats         # counts per state
coordinate events --follow

Next, set up your coding agents.

Where things live

Each machine keeps its own database at $XDG_STATE_HOME/coordinate/queue.db, which is ~/.local/state/coordinate/queue.db by default. Set COORDINATE_DB to use another file. Never share one database file between machines.