Runs on the subscriptions you already pay for
Engines are vendor CLIs in their own headless modes. orchid never holds an API key, never meters tokens and never proxies a request.
Use orchid through Claude Code, Codex, Hermes or OpenCode. Ask your agent to plan or continue a project; orchid coordinates implementation, independent reviews and verified merges. Your tests decide what passes, and decisions that need you come back to you.
brew install bilal-/tap/orchid
bash "$(brew --prefix orchid)/libexec/install.sh"curl -fsSL https://raw.githubusercontent.com/bilal-/orchid/v1.0.0-beta.1/install.sh | bashOpen to anyone. Stable 1.0 still needs genuine third-party beta qualification. What has been checked
Models supply judgment. A bash state machine checks the evidence and commits durable decisions to git. Your agent retrieves current context and the protocol details it needs.
Engines are vendor CLIs in their own headless modes. orchid never holds an API key, never meters tokens and never proxies a request.
Candidates get an independent review: another engine, or a labeled fresh-session fallback. Reviews and verification evidence must name the candidate they checked.
orchid verify runs the command you configure. Passing tests, review evidence and state gates all matter; an engine saying "tests pass" is not a verify log.
Tasks, reviews and the journal are committed on the integration branch. Runtime job records and logs stay local; an optional heartbeat can wake the runner.
Epoch checks fence stale actors. Recovery verbs reconcile interrupted work; inspect the committed state, journal and working tree before resuming.
Roles declare capability requirements. orchid checks an engine's declared capabilities for the work it is given; orchid doctor reports readiness andorchid plugins test exercises a binding's qualification.
orchid jobs ls is the process table: each job's task, role, engine, state and budget. Liveness is computed, never read off a file.
A transition is refused unless its gate holds: a passing verify log, review envelopes bound to this exact commit, a journaled reason. Pick a state to see what moves it on.
On the roadmap, waiting for the tasks it depends on.
orchid task advance T001 implementingThe implementer engine (codex by default) edits a worktree of its own. The adapter, not the engine, commits.
runners/orchid-launchYour own test command runs against the recorded candidate commit.
orchid verify T001One or two reviewers, by risk tier, each from a different engine or at least a fresh session. Nobody signs off on their own work.
orchid task advance T001 reviewingAgreement is recorded with a reason. Disagreement goes to the orchestrator, which reads the diff and decides.
orchid task arbitrate T001 --result approve --reason "…"The suite runs again in a temporary worktree before the integration branch moves.
orchid merge T001Merged on the integration branch, with its evidence beside it. Task done is not run accepted: that stays your call.
orchid run acceptBack to the implementer with the failing output or the review attached. Three attempts by default.
rework spec writtenA real decision, an exhausted budget, or something orchid will not do on its own. One message reaches your phone.
orchid task unblock T001 --reason "…"Every engine gets a request document and leaves a result envelope. The kernel reads both and commits the outcome, and nothing an engine says is taken at face value.
This is source-level mediation, not OS containment: a shell-capable engine is still a process on your machine. The README says exactly what is enforced and what is policy. Architecture, in five diagrams
Your agent uses orchid's skills and live context to plan and continue the work. You provide the goal, the constraints and the decisions that need your judgment.
After installation, run the setup command for your host. Each host gets the same portable skills and command contract.
If the host's profile did not exist during installation, setup creates it; rerun the install commands above to register its skills. Restart the host and approve the hook if it asks. Setup details, including Hermes's Python requirements
Open the repository in your agent and describe the work. Put the goal, constraints and acceptance criteria in requirements.md, or work them out together.
Use orchid to plan this project from requirements.md. Inspect the repository, propose the verification command, and ask before starting unattended work.
For an existing project:
Use orchid to continue this project. Check the current state and explain what needs my decision.
Your verification command defines what passing means. Stay in the agent session, or explicitly authorize unattended work after reviewing the repository. Merged tasks still need a separate decision to accept the run.
Follow the full project workflowDefault responses are compact structured context for agents. Scoped help and protocol sections supply the next detail; JSON is available when a tool needs it. This context was captured from the released beta in a disposable example project.
❯ orchidrepo: ~/acme/apiinitialized: truerun: id: r-001 status: planningepoch: 1boundary: nulloperator_owned: falsetasks: items[1]{id,status,title}: T001,pending,Add a health endpoint count: 1 total: 1 by_status: pending: 1 next[2]: "orchid task create 'T001' \"<title>\"",orchid task show 'T001' shown: 1jobs: items: [] count: 0 total: 0 next[1]: orchid jobs ls --all by_state: shown: 0 empty: 0 resultsnext[2]: orchid task show 'T001',orchid jobs ls --allbin: $ORCHID_ROOT/bin/orchiddescription: "Coordinate coding agents with a deterministic Bash, Git and jq kernel."For human-readable terminal inspection, use the explicit raw mode:
❯ orchid doctor --rawWARN: unattended trust (headless execution gated): deniedok: plugin discovery: no collisionsok: plugin manifests: validate cleanok: git repositoryok: jqok: worktree supportok: verify command configuredok: role orchestrator -> claude, codexok: role implementer -> codex, claudeok: role reviewer -> agyok: role arbiter -> claude, codexok: role plan_critic -> codex, claudeok: notify return leg: no notify channel configured (notify.channel unset)ok: integration branch exists or creatableok: no split-brain checkout stateok: task files: none on disk yet (nothing to check)ok: no stale integration checkout stateOne-time project initialization creates the integration branch and installs a pre-push guard. --raw changes presentation; initialization still changes the repository.
❯ orchid init --rawpre-push guard installed: ~/acme/api/.git/hooks/pre-push (integration branch: orchid/integration)initialized: orchid/integrationintegration branch: orchid/integrationnext: git worktree add ../api-orchid orchid/integration && cd ../api-orchidA design fork, an exhausted rework budget, something orchid won't do on its own: one message reaches your phone over Telegram or WhatsApp, with the exact command to answer it.
BLOCKERS.md and the terminal do the same job.q-4-7f2a: Sign-in: keep magic links, or move to passkeys?task: T003 — sign-in with passkeysattempt: 2choices: magic-links | passkeysreply: ORCHID_REPO="/Users/sam/acme/api" orchid answer q-4-7f2a <choice> --nonce 9c1e04b7d2a85f36
passkeys
nonce checked · answer recorded
An engine can hold any role its declared capabilities satisfy. The defaults below reflect the built-in checks and the author's dogfood runs. Use orchid plugins testto qualify other bindings; orchid doctor reports their readiness.
| Engine | orchestrator | implementer | reviewer | arbiter | plan_critic |
|---|---|---|---|---|---|
claudeshell, git, workspace write | default | eligible | eligible | default | eligible |
codexshell, git, workspace write | eligible | default | eligible | eligible | default |
codex-reviewworkspace read, git | – | – | eligible | – | eligible |
agystructured text | – | – | default | – | – |
hermesstructured text | – | – | eligible | – | eligible |
Release checks and public curl and Homebrew installs have passed. Native integrations have been tested with fixtures; real model sessions across all four hosts and genuine third-party beta qualification remain to be proved.
orchid has no push, deploy or publish verb. Engines are instructed to raise external changes as a blocker; that instruction is policy, not OS enforcement over a shell-capable engine.
Plugins are trusted code. Vendor sandbox flags are a real second layer; full OS containment is on the roadmap, not claimed.
No server, no dashboard, no accounts. orchid status --html writes a local file.
A merged task is a fact about one commit. Accepting the run is a separate decision, and it is yours.
The docs live with the code on GitHub. The curl command and beta release link identify the pinned version; workflow docs track the current project.
An existing repository, from install to the first merged task.
start hereA new product with no code yet.
start herePinned one-liner, Homebrew, channels, uninstall, from a clone.
Dual review, epoch fencing and the rest of the visual tour.
diagramsThe tick, step by step: the procedure every orchestrator follows.
Every key, its default, and where it is read from.
Native setup for Claude Code, Codex, Hermes and OpenCode.
Compact context, scoped help, protocol sections and structured results.
What the beta checks prove, and what stable 1.0 still needs.
Each adapter, the exact CLI invocation it verified, and why.
From mkdir to a green conformance run, in under an hour.
extendThe seven checks an engine plugin has to pass.
extendIncident by incident, with the operator verb that fixes it.
The annotated bibliography behind the design, link-checked.
Public beta for macOS and Linux, Bash 3.2 or newer. Install pins to v1.0.0-beta.1; upgrade with the next version's pinned line.
brew install bilal-/tap/orchid
bash "$(brew --prefix orchid)/libexec/install.sh"curl -fsSL https://raw.githubusercontent.com/bilal-/orchid/v1.0.0-beta.1/install.sh | bashorchid is the third of shellbell and sous. Read the README or star it on GitHub.