orch

module
v0.31.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2026 License: MIT

README

orch

Run AI agents as a team. Show your client a live page, not a status thread.

Site: tryorch.us — try a spec in your browser.

orch is a local orchestrator for freelancers and agencies building with AI. It splits the work into a graph of tasks and runs each one on the coding agent CLI you route it to — claude, codex, opencode, gemini, agy or muse — in parallel, and keeps a page your client can open to see where the work stands. No client? The same page is your own status board.

curl -fsSL https://raw.githubusercontent.com/Guria-Studio/orch/main/scripts/install.sh | sh
cd my-project                        # a git repository
orch start "what you want to build"
  • Your client stops asking how it is going. One page — phases, blockers in plain language, hours left — published as a static site or served live behind a token. You write no status update.
  • The agents run in parallel without burning your quota. Each task gets its own git worktree, branch and pull request; a rolling token window per provider pauses that provider before it locks you out of your own terminal.
  • It runs on your machine, with your CLIs and your keys. One Go binary, no daemon, no hosted service. orch never holds a model key.

A real run, sped up: orch init --template python-api, orch run with claude, two PRs with green CI, and the client page updating itself. What is real and what was set up off camera: docs/media/GIF-NOTES.md.


How it works

1. orch start "idea"      # set up, plan the idea with claude, estimate, run the first tasks
2. orch run               # dispatch every ready task to its agent, in parallel
3. orch dashboard         # watch the agents, review their work, share a live link
4. orch publish           # write the client page as a static site

orch start sets the project up with the CLIs it finds, lets claude plan the idea with you (/orch-plan), checks and estimates the plan, and runs the first two tasks with the dashboard open. From then on orch run carries on with the rest.

Other ways in, once you know the first one:

  • orch dashboard run outside a project opens a welcome page that walks the same path in the browser: it checks your AI CLIs, sets up a folder, lets claude plan your idea, shows the tasks and their estimate, and runs the first ones.
  • orch dashboard --demo opens a full synthetic project, so you can look around before you run anything. It touches nothing of yours.
  • orch init --template <name> + orch run is the same path step by step, from one of five project templates or your own specs.

orch is a single Go binary — no Python, no venv, no pip. See Install below for the manual download, and the manual for the full walkthrough.


Install

Script (Linux/macOS, amd64/arm64):

curl -fsSL https://raw.githubusercontent.com/Guria-Studio/orch/main/scripts/install.sh | sh

Downloads the matching tarball from the latest GitHub Release, verifies its checksum, and installs to ~/.local/bin (INSTALL_DIR=... to override).

Manual: grab a tarball from the Releases page and put orch on your PATH yourself.

From source (go install, Go ≥ 1.25): the CLI only.

go install github.com/Guria-Studio/orch/cmd/orch@latest

It builds without the web bundles, so orch dashboard answers "no index.html in the embedded SPA — run make web", orch publish has no client page, and orch --version reads dev. For those, use the script or a release tarball (or make build in a checkout).

Verify either way with orch --version. See docs/RELEASING.md for the tag scheme and how releases are built, and docs/MANUAL.en.md for the full CLI walkthrough.


What makes it different

orch isn't competing with LangChain or Devin — it's one of several small, open-source boards for running CLI coding agents (Claude Code, Codex, OpenCode…) in parallel. Here's an honest comparison against the projects builders in that space actually reach for today.

Multica Vibe Kanban Agetor Claude Squad orch
GitHub stars 49.6k 28.1k 65 8.5k 2
Stack Go + Next.js + Postgres Rust TypeScript (Electrobun) Go Go
License Apache-2.0 + commercial Apache-2.0 MIT AGPL-3.0 MIT
CLIs/agents supported 26 10+ 5 ~6 6 (claude, codex, opencode, gemini, agy, muse)
Desktop app ✅ Electron ❌ ✅ macOS ❌ (TUI) ❌
Mobile app ✅ iOS ❌ ❌ ❌ ❌
Cloud-hosted option ✅ multica.ai ❌ (shut down w/ Bloop) ❌ ❌ ❌
Single binary ❌ ❌ ❌ ✅ ✅
Read-only client page ❌ ❌ ❌ ❌ ✅
Per-provider budget guardrail (blocks dispatch) ❌ ❌ ❌ ❌ ✅
Spec → tasks pipeline ❌ ❌ ❌ ❌ ✅
Deterministic executive summary ❌ ❌ ❌ ❌ ✅
Static export ❌ ❌ ❌ ❌ ✅ orch publish

Vibe Kanban: Bloop shut down in April 2026 and handed the project to the community as Apache-2.0; cloud features were switched off, local/self-host use continues. Star counts and feature notes are current as of this writing — verify before citing them elsewhere, these projects move fast.


Configuration

One file. orch init writes it for you:

# .orchestrator/config.yaml
concurrency:
  global_max: 4
  per_provider:
    claude: 2
    gemini: 2

state:
  backend: sqlite         # default; `file` is legacy JSONL

dispatch:
  worktree_mode: true     # default; each task runs in its own git worktree

vcs:
  auto_pr: true           # default; one PR per finished task

dashboard:
  kanban:
    refresh_interval_s: 10

tunnel:
  enabled: false          # flip to share a live link with your client (Cloudflare quick tunnel or Tailscale)

github:
  test_command: pytest    # CI workflow orch generates for you
  auto_merge: false       # opt-in; requires branch protection

notifications:
  slack_webhook: ""       # optional: get pinged on task blocks / CI failures

Optional overrides drop in as their own files at the project root: budgets.yaml (spend guardrails), model_router.yaml (routing table — orch router add-missing populates it on demand).


What your client sees

With tunnel: enabled: true in config.yaml, orch dashboard --tunnel (or the Start button on the dashboard's Share page) opens a Cloudflare quick tunnel — no Cloudflare account needed, just cloudflared, whose install steps the page shows — and gives you a client page link with a token in it. The Share page can share through Tailscale instead (tailscale serve inside your tailnet, or Funnel for the public internet). Or skip the live link: orch publish writes the same page as a static site, to a folder or a gh-pages branch. Send it; the numbers update themselves, and stopping the tunnel revokes the link. The client gets:

  • Executive summary in plain business language, recomputed on every page load — no LLM call, so it is free and always says the same thing twice.
  • Phase timeline — progress per phase, bar width proportional to estimated effort, with the blocked phase called out.
  • Blockers with the reason attached, quoted straight into the summary: "Stripe sandbox key still pending from the client."
  • ETA — hours remaining at the current measured pace, with how fresh the numbers are.

Spend is off by default: flip dashboard.show_spend_to_stakeholder if you want your client to see what the run has cost. Either way they never see a log line, a prompt, a diff, or a per-model cost breakdown.

The demo GIF at the top was shot from docs/media/GIF-SCRIPT.md. Walk-through in docs/DELIVERING-TO-STAKEHOLDERS.md.


What's in it, by layer

Nothing below is required to start. The core is the story; the other layers are there when you need them.

Core — agents as a team, a page for your client

Command What it is for
orch start "idea" The first command: sets the project up, plans the idea with claude, estimates it and runs the first tasks.
orch run Dispatches every ready task to its agent in parallel, each in its own worktree and PR, checked before the push, with CI watched.
orch dashboard Your screen: the agents at work, what needs you, each task's diff to accept or send back, and the Share button for a live client link.
orch publish Writes the client page as a static site, to a folder or a gh-pages branch (--watch keeps it current).
The client page What your client opens: progress by phase, blockers in plain words, the estimated finish. Live behind a token, or published.

Agencies — several clients at once

Command What it is for
orch dashboard --portfolio "~/clients/*" Every client project in one dashboard, so you see which one needs you without switching folders.
orch cloud setup + orch publish --to cloud Hosts each client page on a Cloudflare Worker in your own account, with a stable link that works while your machine is off.
orch report pdf The client page as a one-page A4 PDF, to attach to an email or an invoice.
orch notify digest The executive summary and each phase's progress, printed or sent to Slack/Discord (--send); cron it for a weekly update.
presentation.branding Your agency's name, logo and colour on the client page and the PDF instead of orch's.

Integrations — the tools your client already uses

Command What it is for
orch sync issues Turns the client's labelled GitHub issues into tasks (gh-<number>), adding only what is new on each run.
orch atomize --from spec-kit / --from openspec Runs a spec-kit or OpenSpec plan: each feature's or change's tasks.md becomes tasks with dependencies, run in parallel with a PR each. See docs/SPEC-IMPORT.md.
orch export clickup Mirrors the plan into a ClickUp Folder for a client who tracks work there; re-run it and statuses follow.
orch export multica Creates the plan as Multica issues, one parent per phase.
orch ci setup / ci review / ci usage Writes the CI pipeline the repository calls for, runs an AI review of each PR inside CI, and adds up the billed Actions minutes.
orch mcp Lets an MCP-capable agent read and move orch's tasks as tools.

Advanced — tuning and repair

Command What it is for
orch bench Runs the same project on each provider and compares done tasks, time and spend (real agents, capped by --max-usd).
orch router suggest / router refresh Which route has worked for which kind of task, with cheaper or stronger suggestions; routes for models your CLIs gained.
orch knowledge curate / knowledge stats Merges and prunes the lessons agents wrote, as a PR; measures first-try success before and since the first lesson.
orch provider disable / enable Pauses a provider while it misbehaves; its tasks wait instead of failing.
orch budget set Changes a provider's token budget, window or threshold without editing YAML.
orch task salvage Accepts work an earlier attempt committed but never published, without running the agent again.
orch reset Finds tasks stuck in progress after a crash, and requeues them with --requeue.
orch dashboard token Rotates or inspects the token a client link needs.
orch config show / set / unset The effective config and where each value came from; edit keys keeping the file's comments.
orch findings The queue of bug reports agents wrote about orch itself; read each, then send or dismiss it.
orch upgrade Installs the latest release over this binary, checksum-verified.
orch claude-permissions / agy-permissions Adds the rules those CLIs need before their agents can report a task done.

docs/CLI.md has every flag; the manual has the same layers.


Roadmap

Shipped — worktrees, a pull request and CI watch per task, the budget window per provider, the client page and its PDF, the guided orch init wizard with five templates, the operator dashboard (Now, ⌘K, run receipts) in English, Spanish and Portuguese, orch dashboard --demo, orch dashboard --portfolio for agencies running several clients at once, and a live client link over a Cloudflare quick tunnel or Tailscale that requires a token. The releases are the living list.

Next — a DAG visual editor and a VS Code extension.

Every pull request here is reviewed in CI by an AI against a written checklist before a human merges it — see docs/CI-REVIEW.md.


Follow the build

A release a week, in the open: every change, what broke and the numbers behind it. Releases · Atom feed · LinkedIn, in Portuguese · X, in Spanish · tryorch.us


Documentation


Python legacy

orch was originally a Python CLI + FastAPI dashboard; it's being rewritten as a single Go binary (this README, and everything above, describes the Go version). The last Python release is frozen on the python-legacy branch, tagged v0.11.0-py — no new features land on that line, only the Go binary moves forward.

pipx install git+https://github.com/Guria-Studio/orch.git@v0.11.0-py

Its own manual is preserved at that tag. See docs/RELEASING.md for why the two lines share one tag namespace, split by a -py suffix.

Directories

Path Synopsis
cmd
orch command
Command orch walks a tasks.json DAG and dispatches each task to a local AI CLI (claude | codex | opencode | gemini | agy | muse).
Command orch walks a tasks.json DAG and dispatches each task to a local AI CLI (claude | codex | opencode | gemini | agy | muse).
orch-wasm command
Command orch-wasm is the site playground's engine: it exposes orchBuild(spec) to the page, which runs the spec through the same atomize and graph code as `orch atomize` and `orch validate` and returns the result as JSON.
Command orch-wasm is the site playground's engine: it exposes orchBuild(spec) to the page, which runs the spec through the same atomize and graph code as `orch atomize` and `orch validate` and returns the result as JSON.
sitegen command
Command sitegen writes the site pages built from orch's own data: the template gallery (site/templates) and the playground page (site/playground).
Command sitegen writes the site pages built from orch's own data: the template gallery (site/templates) and the playground page (site/playground).
internal
atomize
Package atomize ports orchestrator/atomize.py: parsing markdown specs (docs/SPEC-FORMAT.md) into tasks, and merging them non-destructively into an existing tasks.json.
Package atomize ports orchestrator/atomize.py: parsing markdown specs (docs/SPEC-FORMAT.md) into tasks, and merging them non-destructively into an existing tasks.json.
bench
Package bench runs one project once per provider and compares the runs.
Package bench runs one project once per provider and compares the runs.
budget
Package budget is the rolling-window guardrail that stops an unattended run from burning a provider subscription.
Package budget is the rolling-window guardrail that stops an unattended run from burning a provider subscription.
ci
Package ci reads a repository to find what it is built from, and proposes the GitHub Actions pipeline that checks it: install, lint, typecheck, test and build, each only where the repo actually has one.
Package ci reads a repository to find what it is built from, and proposes the GitHub Actions pipeline that checks it: install, lint, typecheck, test and build, each only where the repo actually has one.
cli
Package cli wires cobra's root command and every subcommand.
Package cli wires cobra's root command and every subcommand.
collide
Package collide finds semantic collisions between branches that git merges cleanly (#522): two tasks that each add migration 005 under different file names, say.
Package collide finds semantic collisions between branches that git merges cleanly (#522): two tasks that each add migration 005 under different file names, say.
config
Package config loads a project's `.orchestrator/config.yaml` into a typed struct with defaults filled in.
Package config loads a project's `.orchestrator/config.yaml` into a typed struct with defaults filled in.
contract
Package contract holds the types the engine trades with the packages it drives or is driven by — internal/ci and internal/verify — so they can name them without importing the engine (#550).
Package contract holds the types the engine trades with the packages it drives or is driven by — internal/ci and internal/verify — so they can name them without importing the engine (#550).
dashboard
Package dashboard will host the operator dashboard's HTTP server (G5.2, a different lane's work — replacing orchestrator/dashboard/server.py's FastAPI app).
Package dashboard will host the operator dashboard's HTTP server (G5.2, a different lane's work — replacing orchestrator/dashboard/server.py's FastAPI app).
demo
Package demo builds the synthetic project `orch dashboard --demo` serves.
Package demo builds the synthetic project `orch dashboard --demo` serves.
doctor
Package doctor ports the environment-diagnostic subset of orchestrator/preflight.py and orchestrator/doctor.py into pure checks: no stdout, no argparse — each function returns []Check for a caller (a `orch doctor` subcommand, not yet wired — see internal/cli) to print as text or marshal as JSON.
Package doctor ports the environment-diagnostic subset of orchestrator/preflight.py and orchestrator/doctor.py into pure checks: no stdout, no argparse — each function returns []Check for a caller (a `orch doctor` subcommand, not yet wired — see internal/cli) to print as text or marshal as JSON.
engine
Package engine runs dispatches: it spawns a provider's CLI, supervises it, and turns what comes back into a Result.
Package engine runs dispatches: it spawns a provider's CLI, supervises it, and turns what comes back into a Result.
estimate
Package estimate answers "what will the next `orch run` cost" before it starts (#357): which tasks it would dispatch, what they would cost and how long they would take, from this project's own past attempts.
Package estimate answers "what will the next `orch run` cost" before it starts (#357): which tasks it would dispatch, what they would cost and how long they would take, from this project's own past attempts.
evidence
Package evidence is a task's evidence bundle (#520): what orch's local verify proved about the work it pushed — the checks that ran, the app's probes, the review, the change in numbers and the E2E run with its media — kept at a path that does not change from run to run:
Package evidence is a task's evidence bundle (#520): what orch's local verify proved about the work it pushed — the checks that ran, the app's probes, the review, the change in numbers and the E2E run with its media — kept at a path that does not change from run to run:
explain
Package explain answers "where is this project and what can I do next" in one pass, and renders that answer as text for a person or as JSON for an agent.
Package explain answers "where is this project and what can I do next" in one pass, and renders that answer as text for a person or as JSON for an agent.
export
Package export sends an orch project's work out to another tracker.
Package export sends an orch project's work out to another tracker.
export/clickuptest
Package clickuptest is an in-memory ClickUp REST API for tests: the subset of endpoints internal/export uses, with the same request and answer shapes.
Package clickuptest is an in-memory ClickUp REST API for tests: the subset of endpoints internal/export uses, with the same request and answer shapes.
findings
Package findings is the path from an agent's report about orch to a public issue (#536): redaction before the operator sees it, and sending once they approve.
Package findings is the path from an agent's report about orch to a public issue (#536): redaction before the operator sees it, and sending once they approve.
graph
Package graph answers the static questions about a tasks.json DAG: is it valid, what order do the tasks go in, and what does it look like.
Package graph answers the static questions about a tasks.json DAG: is it valid, what order do the tasks go in, and what does it look like.
guard
Package guard checks a task's diff before orch publishes it (#484): secrets that must never reach a PR, and debug leftovers a reviewer should see.
Package guard checks a task's diff before orch publishes it (#484): secrets that must never reach a PR, and debug leftovers a reviewer should see.
knowledge
Package knowledge is the project's memory (#451): lessons a task learned, kept as one markdown file each under .orch/knowledge/ so they are versioned and reviewed with the code, and handed to the tasks that come later.
Package knowledge is the project's memory (#451): lessons a task learned, kept as one markdown file each under .orch/knowledge/ so they are versioned and reviewed with the code, and handed to the tasks that come later.
mcp
Package mcp serves orch's state to an agent as MCP tools over stdio.
Package mcp serves orch's state to an agent as MCP tools over stdio.
notify
Package notify POSTs short messages to Slack and Discord webhooks.
Package notify POSTs short messages to Slack and Discord webhooks.
pricing
Package pricing is the fallback price table the dashboard uses to put a number on a dispatch nobody billed for.
Package pricing is the fallback price table the dashboard uses to put a number on a dispatch nobody billed for.
project
Package project is what the CLI and the dashboard share about a project: tasks.json hydrated with the live status from the state backend, plus the per-task figures that can only be derived from the event log.
Package project is what the CLI and the dashboard share about a project: tasks.json hydrated with the live status from the state backend, plus the per-task figures that can only be derived from the event log.
prompt
Package prompt renders the per-dispatch prompt an agent receives.
Package prompt renders the per-dispatch prompt an agent receives.
providers
Package providers holds one thin adapter per external coding-agent CLI.
Package providers holds one thin adapter per external coding-agent CLI.
publish
Package publish turns the stakeholder snapshot into something a client can open: a self-contained static site, written to a directory or pushed to a branch a static host serves (G6.3 — blueprint F2.3 and F2.4).
Package publish turns the stakeholder snapshot into something a client can open: a self-contained static site, written to a directory or pushed to a branch a static host serves (G6.3 — blueprint F2.3 and F2.4).
publish/cloudfake
Package cloudfake is an in-memory orch-cloud Worker for tests.
Package cloudfake is an in-memory orch-cloud Worker for tests.
publish/cloudworker
Package cloudworker embeds the orch-cloud Worker that `orch cloud setup` deploys, so an operator needs Node.js for wrangler but not a checkout of the orch-cloud repository — and so the Worker a binary deploys always speaks the contract version that binary's client speaks.
Package cloudworker embeds the orch-cloud Worker that `orch cloud setup` deploys, so an operator needs Node.js for wrangler but not a checkout of the orch-cloud repository — and so the Worker a binary deploys always speaks the contract version that binary's client speaks.
publish/snapshot
Package snapshot builds the versioned, stakeholder-safe project snapshot (G6.1): the one JSON document a static `orch publish` export, a watch server, or a dashboard's stakeholder route can all hand to a viewer with no login and no access to the operator's project tree.
Package snapshot builds the versioned, stakeholder-safe project snapshot (G6.1): the one JSON document a static `orch publish` export, a watch server, or a dashboard's stakeholder route can all hand to a viewer with no login and no access to the operator's project tree.
pyfmt
Package pyfmt reproduces the Python string formatting that orch's user-visible messages were built on.
Package pyfmt reproduces the Python string formatting that orch's user-visible messages were built on.
receipt
Package receipt summarises one run of `orch run`: what got done, what got stuck, how long it took and what it cost.
Package receipt summarises one run of `orch run`: what got done, what got stuck, how long it took and what it cost.
report
Package report renders the stakeholder snapshot as a one-page PDF.
Package report renders the stakeholder snapshot as a one-page PDF.
router
Package router resolves a task's `model` string to the CLI and model that will actually run it.
Package router resolves a task's `model` string to the CLI and model that will actually run it.
sandbox
Package sandbox confines a dispatched agent's filesystem access to what its task needs (dispatch.sandbox, #481): read-write its worktree, the project's database directory, the git directory its commits land in, /tmp and its own CLI's config; read-only the system and the toolchains on PATH; nothing else in $HOME — not ~/.ssh, not another project, not another task's worktree.
Package sandbox confines a dispatched agent's filesystem access to what its task needs (dispatch.sandbox, #481): read-write its worktree, the project's database directory, the git directory its commits land in, /tmp and its own CLI's config; read-only the system and the toolchains on PATH; nothing else in $HOME — not ~/.ssh, not another project, not another task's worktree.
scaffold
Package scaffold creates a new orch project on disk — what `orch init` does once the flags or the wizard have decided what to build.
Package scaffold creates a new orch project on disk — what `orch init` does once the flags or the wizard have decided what to build.
sitegen
Package sitegen is what the public site (site/) needs from orch's own code: the playground's spec → DAG build, run in the browser as WebAssembly (cmd/orch-wasm), and the static template gallery written by cmd/sitegen.
Package sitegen is what the public site (site/) needs from orch's own code: the playground's spec → DAG build, run in the browser as WebAssembly (cmd/orch-wasm), and the static template gallery written by cmd/sitegen.
skills
Package skills embeds orch's Claude Code skill(s) and installs them into whichever agent CLI a project wants: Claude Code itself, Codex/OpenCode (via an AGENTS.md section — neither reads ~/.claude/skills/), or Cursor (via a .cursor/rules/*.mdc file).
Package skills embeds orch's Claude Code skill(s) and installs them into whichever agent CLI a project wants: Claude Code itself, Codex/OpenCode (via an AGENTS.md section — neither reads ~/.claude/skills/), or Cursor (via a .cursor/rules/*.mdc file).
telemetry
Package telemetry sends anonymous, opt-in usage pings — G8.6 (F4.9).
Package telemetry sends anonymous, opt-in usage pings — G8.6 (F4.9).
templates
Package templates is the file tree `orch init` scaffolds a project from, embedded in the binary.
Package templates is the file tree `orch init` scaffolds a project from, embedded in the binary.
tunnel
Package tunnel supervises the dashboard's optional shared URL.
Package tunnel supervises the dashboard's optional shared URL.
update
Package update tells the operator a newer orch is out, and replaces the binary on request (`orch upgrade`).
Package update tells the operator a newer orch is out, and replaces the binary on request (`orch upgrade`).
usage
Package usage splits a project's token use the ways that show where it went (#417): input, cached input, output and reasoning, per model, per task and per attempt, with the retries apart.
Package usage splits a project's token use the ways that show where it went (#417): input, cached input, output and reasoning, per model, per task and per attempt, with the retries apart.
vcs
Package vcs ports orchestrator/vcs/ (protocol.py, github.py, gitlab.py): opening a PR/MR, polling its CI status, fetching failed-job logs, and merging it, all through the `gh` / `glab` CLIs rather than a REST client.
Package vcs ports orchestrator/vcs/ (protocol.py, github.py, gitlab.py): opening a PR/MR, polling its CI status, fetching failed-job logs, and merging it, all through the `gh` / `glab` CLIs rather than a REST client.
verify
Package verify is orch's local gate between an agent's clean exit and the push (verify.enabled): the repository's own checks, then a read-only review by another provider.
Package verify is orch's local gate between an agent's clean exit and the push (verify.enabled): the repository's own checks, then a read-only review by another provider.
worktree
Package worktree ports orchestrator/worktree.py: per-task git worktree isolation so concurrent dispatched agents cannot overwrite each other's file changes.
Package worktree ports orchestrator/worktree.py: per-task git worktree isolation so concurrent dispatched agents cannot overwrite each other's file changes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL