orch

module
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2026 License: MIT

README

orch

Run AI agents as a team. Show clients a live page — not a Slack thread.

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

orch is a local task orchestrator for freelancers and agencies building with AI. You define the work as a DAG (tasks.json) and dispatch each task to the CLI you route it to — claude, codex, opencode, gemini, agy or muse — in parallel.

  • 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 atomize --apply   # spec.md → tasks.json → SQLite
2. orch run               # dispatch tasks to AI agents in parallel
3. orch publish           # a page for your client; --tunnel to serve it live

Quick start

curl -fsSL https://raw.githubusercontent.com/Guria-Studio/orch/main/scripts/install.sh | sh
orch dashboard            # outside a project: the welcome page walks you through it

Run outside a project, orch dashboard opens a welcome page: 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. In a terminal the same path is:

orch dashboard --demo     # a full synthetic project; touches nothing of yours
cd my-project             # a git repository
orch start "what you want to build"

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. orch init + orch run is the same path step by step; orch dashboard --tunnel gives your client a tokenized link.

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 stakeholder view ❌ ❌ ❌ ❌ ✅
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 link with your client (Cloudflare quick tunnel)

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 Tunnel page) opens a Cloudflare quick tunnel — no Cloudflare account needed, just cloudflared, whose install steps the page shows — and gives you a client-portal link with a token in it. 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.


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, and a Cloudflare quick tunnel that requires a token. The releases are the living list.

Next — a DAG visual editor, a VS Code extension, and orch dashboard --portfolio for agencies running several clients at once.

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