orchestration is local - agents connect to remote model APIs

Two agents. One writes,
the other audits.

Run local coding agents - Claude, Codex, Copilot, Gemini, Grok, agy - in a cross-audit loop on any git repo. One authors a small change; another reviews it; on agreement + green tests it merges. On disagreement, it revises. On stalemate, it asks you.

$npm install -g @bbk1ng/agent-orch
Read the docs
orch task
~/printseek > orch task "fix the flaky login test"
authorclaude authoring✓ 3 commits
reviewcodex · round 1✗ DISAGREE
reviseclaude · round 2✓ AGREE
gatenpm test✓ 214 passed
merge-> orch/integration✓ merged
✓ merged · 2 rounds · 128k tok · $0.42
!Source-available, non-commercial - PolyForm Noncommercial 1.0.0. Educational & research use; commercial use forbidden.
The cross-audit loop

A cycle no single agent controls

Agents never touch main. Only the engine merges, and only after the reviewer agrees and the test gate passes.

01

Author

The next agent writes a small change on an isolated worktree branch.

02

Audit

A different agent reviews it read-only and returns AGREE or DISAGREE.

03

Gate

The repo's own test command runs. Red tests never merge - no exceptions.

04

Merge

Into orch/integration, with a persistent PR to main. GitHub owns main.

disagree -> capped revise loop | stalemate -> decision brief, exit 2
Built for unattended runs

Safety rails, all the way down

Cross-vendor audit

Diversity catches more. A Claude patch gets read by Codex - different model, different blind spots.

Local compute

Agents run as your installed CLIs. Orchestration is local; agents connect to remote model APIs for inference.

Objective test gate

Auto-detects npm, pytest, go, or make. No test command? It refuses to auto-merge and tells you.

Deterministic security floor

Every merge-bound diff is pattern-scanned for secret reads, network calls, subprocess spawns, and guardrail edits - a check no reviewer prompt can talk its way past.

Crash recovery

Killed mid-cycle? Committed work survives on its branch; the next run resumes from where it died.

Concurrent cycles

Drive one repo with several cycles at once. File-overlap and post-merge re-tests guard the integration branch.

Verified merges

Before it prints "merged", orch confirms the commit is an ancestor of origin/main. No false successes.

Bring your own agents

Pluggable adapters

claude codex copilot gemini grok agy qwen3-coder-30b deepseek-coder-v2-lite glm-4.5-air + add your own

Pin roles in orch.yml, or let the pool rotate the author each cycle.

The whole surface

Five commands

orch initscaffold config + verify agent CLIs on PATH
orch task "fix X"author + cross-audit + gate + merge - one cycle
orch review <branch>audit an existing branch, no authoring
orch pr <n>audit a GitHub PR, comment the verdict, optionally merge
orch dashboardlive cycle status, run history, success-rate metrics