llm-orchestrator GitHub
ORDER #014221:04

/task

"users can't reset their password"

FIRED
#0142-AW·T1

Trace route

haiku · low · ×2

G1 OK
#0142-BS·T2

Test engineer

sonnet · medium

G3 OK
#0142-CS·T3

Backend fixer

sonnet · high

ON THE PASS

One ticket in.Every station fires.

Type /task once. llm-orchestrator splits the job, hands each part to the cheapest model that can do it, and nothing leaves the pass until the tests say so.

/plugin marketplace add tbogdan/llm-orchestrator
/plugin install llm-orchestrator@tbogdan

Two lines in any Claude Code session, then /llm-orchestrator:task "…".

CLAUDE CODE · CODEX · OPENCODE · KILO — OPEN SOURCE, CC BY 4.0 — v1.7.1

Pick an order

Five kinds of work, five different kitchens. Pick one and watch how it is split, which model each station gets, and what dispatch prints before a subagent starts.

/incident-start "checkout pods in CrashLoopBackOff after the deploy, 502s in prod"INCIDENT · CRITICAL · AREA payments
  1. 4× · 1/7W·T1

    Telemetry and traces

    logs, events, metrics before any theory


    haiku · low

    G1
  2. 4× · 2/7S·T2

    Specialist evidence

    trace the failing route, read the rollout diff


    sonnet · medium

    G1
  3. 1× · 3/7X·T3

    Synthesis

    one hypothesis from the evidence


    opus · high

    G2
  4. 1× · 4/7F·T3

    Advisor

    novel critical decision, no card yet


    frontier · once

    CARD
  5. 1× · 5/7S·T2

    Fix

    inside the evidenced scope


    sonnet · medium

    G4
  6. 1× · 6/7S·T2

    Verify

    checks against the recorded evidence


    sonnet · medium

    G6
  7. 1× · 7/7X·T3

    Review + skeptic

    independent, adversarial


    opus · high

    G5
Dispatches13 dispatches
Frontier1 of 13
Risk floorpayments → independent review
dispatch --dry-run, for the synthesis shard
dispatch: X T3 — claude-opus-5-5 (effort high), role orchestrator
learning: advisor — a CRITICAL synthesis decision with no stored strategy; consult the advisor once and keep its answer as a strategy card
next: consult the advisor once before dispatching (decision packet of 50 lines or fewer)

Phases, tiers and briefs are real output of llm-orchestrator route --flow and dispatch --dry-run (1.7.1, Anthropic ladder). The tasks are illustrative. Model names follow the registry and your harness.

I got tired of babysitting long AI coding tasks: splitting work by hand, keeping agents in sync, and checking whether done actually meant done.
Bogdan-Gabriel Torcescu, author · LinkedIn

Ask an agent to fix a bug and you usually get one long session: it reads a bit, guesses, edits, declares victory, and you find out later that nothing was verified.

Ask it to parallelize and you spend the afternoon writing subagent prompts by hand, then merging the mess when two of them edited the same file.

The work that makes the difference is the same every time: classify, gather evidence, write a failing test, split what can run in parallel, review independently, verify before claiming done. llm-orchestrator makes that the default, so it runs whether or not you remembered to ask.

From order to pass

What happens after you press enter on /task. You are not in the loop for any of these steps. If something is missing, it asks you once, with every question together.

  1. #0142 · 1/8orchestrator

    Classify

    Bug, feature, incident, refactor, investigation, review, deploy, config or research. Each has its own workflow, gates and evidence rules.

  2. #0142 · 2/8orchestrator

    Read your project

    Languages, frameworks, test and build commands, CI, and the rules you wrote in AGENTS.md. Your rules tighten the defaults; they are never dropped.

  3. #0142 · 3/8orchestrator · S·T3

    Build the flow

    Phases, parallel groups, dependencies. Each shard gets its own scope, owner, acceptance conditions and iteration budget.

  4. #0142 · 4/8orchestrator

    Write the prompts

    Each subagent gets a dispatch contract: the facts its shard needs, the tools it may use, what it must produce. It does not get the whole conversation.

  1. #0142 · 5/8dispatch

    Pick a model per shard

    Before each subagent starts, one command, dispatch, picks its tier, thinking level and model: the cheapest that clears that part's risk.

  2. #0142 · 6/8subagents · 2–4

    Run them in parallel

    Clean sessions and disjoint file ownership, so no two agents edit the same file. 2 agents for a moderate task, up to 4 for a critical one.

  3. #0142 · 7/8G0 → G6

    Gate every phase

    Seven gates, in order. A phase does not start until the gate before it resolves.

  4. #0142 · 8/8fresh output

    Prove it, then stop

    Done needs fresh test output, not the agent's own summary. Then a memory checkpoint, and a strategy card if a top-tier model helped.

Stations never share a file

Each shard owns its files for the length of its run. Parallel work stays parallel, and nobody spends the afternoon merging two agents' edits to the same function.

#0142-BRW

Test engineer

  • tests/auth/reset.test.ts
#0142-CRW

Backend fixer

  • src/auth/token.ts
  • src/auth/reset.ts
#0142-DRO

Reviewer

  • reads the diff
  • independent seat

The bill matches the work

Four model tiers and six thinking levels. Each part goes to the cheapest model that does it reliably, at the lowest thinking level that is enough. In a risky area such as auth or payments, the builder gets more thinking and the reviewer moves up a tier.

W

Mechanical

Reads, searches, renames, simplification. The smallest model at thinking T0–T1.

S

Everyday

Most implementation and tests. A mid model at T2–T3.

X

Hard and review

Complex work, and the independent reviewer that 21 risk areas such as auth, payments, refunds and migrations require.

F

Frontier, as advisor

Consulted at a decision, while the everyday model does the job. Held to 10% of the last 100 dispatches; a frontier seat a risk floor requires always runs and is counted.

See the cost model yourself

No percentage on this page, because no benchmark of llm-orchestrator has been published yet. The router can price a whole flow from dated list prices in its registry of 33 models. This prints the estimate:

npx llm-orchestrator route --task FEATURE --complexity COMPLEX --flow --provider anthropic

Three real briefs, one per tier

First lines of dispatch --dry-run for three shards from the examples above.

dispatch: W T1 — claude-haiku-5-5 (effort low), role production-telemetry-collector
dispatch: S T3 — claude-sonnet-5 (effort high), role backend-fixer
dispatch: X T3 — claude-opus-5-5 (effort high), role orchestrator

The cheapest model that clears the shard's risk. Auth lifts the fixer to T3 thinking and seats an independent reviewer on X; a critical incident synthesis goes to X, and asks the advisor once when no strategy card matches.

The expensive model is a consultant

At a hard plan, a design choice or a diagnosis that will not converge, the top-tier model is consulted once, as an advisor. The everyday model does the work. What the advisor decided is written down, so the next task of that kind does not need it.

ORDER #0141NEW CLASS

First time

Novel auth decision, and no stored strategy matches it.


advisor · tier F · one decision packet, 50 lines or fewer

ADVISOR CALLED
s-0141 · BUG_FIX / fix / auth

Token expiry on reset

When
a reset or session bug touches token lifetime
Steps
trace issue and check paths; test the expiry boundary; fix the comparison, not the clock
Traps
a mocked clock that hides the off-by-one
Verify
failing test passes, expired token still refused
provisional3 passes → promoted2 failures → retired
ORDER #0142SAME CLASS

Next time

Card matched by task type, phase, area and tags.


card injected · everyday model · tier S

ADVISOR NOT CALLED

The cap is counted

Every dispatch is written to a ledger: tier, kind, time and hashes, and never the prompts. At most 10 of the last 100 may run on the frontier tier, and at most 3 of those may be exploratory upgrades of a small task. A frontier dispatch that a risk floor requires always runs and is counted. Nothing is re-run for comparison, so learning costs no extra calls.

WSXF, capped at 10

Illustration of a 100-dispatch window in which the frontier tier stays at or under 10 dispatches.

Nothing leaves unstamped

Seven checkpoints, in order, from "plan approved" to "verified on the real system". A phase does not start before the gate ahead of it resolves.

Docket · #01427 gates, in order
  1. G0

    Plan approved

    Every shard has a scope, an owner, outputs, acceptance checks and a routing decision.

  2. G1

    Evidence complete

    Every required input is gathered and written down before a theory is formed.

  3. G2

    Hypothesis or design valid

    One falsifiable hypothesis for a bug, or an approved design for a feature.

  4. G3

    Test red

    A failing test for the exact problem exists, and it was seen failing.

  5. G4

    Build green

    All tests pass, lint is clean and the build succeeds, on fresh local output, not a builder's report.

  6. G5

    Review pass

    No ownership conflicts, the full suite green, and an independent reviewer wherever a risk floor applies.

  7. G6

    Verification complete

    Smoke checks pass on the surfaces the change touched.

For the team that has to trust it

You get back a result that has been reviewed and verified, plus a written trail of what was decided and why.

What a lead can check

Receipt #0142-T · llm-orchestrator 1.7.1 · released behaviour only

  • 16 roles, nine task typesFrom a read-only explorer to a migration author, a payment-webhook specialist and an independent reviewer. Each task type has its own flow.
  • Risk floors21 risk areas, from auth and payments to schema migrations, set a floor for the builder and an independent reviewer at a higher tier.
  • It keeps itself on trackHooks notice a skipped plan, a forgotten tool or a turn that stops on "next, I'll…", and send one reminder. Where reminders were ignored, the rule is enforced: no subagent starts before dispatch chose its model.
  • Brings its toolsSuperpowers, MemPalace, Sequential Thinking, Caveman, RTK, Context7, Exa, Serena, Impeccable, copywriting skills and Playwright, each when the task needs it. Skip one with llm-orchestrator tools skip <tool>.
  • A ledger, not transcripts.orchestrator-run/ keeps ids, tiers, counts, timestamps and hashes. Prompts, tool inputs and file contents are never written.
  • Survives a closed laptopThe plan, the evidence, each gate and each decision are written to memory as the task moves. A new session resumes from that record.
  • Safe first tryEvery install is a dry run until --apply. Uninstall removes only the files it wrote.
  • On by default, off in one fileInstalled once, it engages in every project. A project opts out with an empty .orchestrator-off.
  • Your rules tighten itRules in AGENTS.md under ## Orchestration bindings (project) can add or tighten obligations, never loosen a core one. It also tells the agent which MCP servers and skills your project has.
  • One flow, four toolsClaude Code, Codex, OpenCode and Kilo run the same flow, rendered into each one's commands and agents.

We don't rebuild good tools

These projects already do one job well, so llm-orchestrator does not do it a second time. It knows which tool fits each task type, reminds the agent to use it, and tells you when one is missing, with the exact install command. A tool you do not want is skipped with one command, and every report says what was skipped.

Stations we send work to

Receipt #0142-S · each figure comes from that tool's own setting, read on 1 December 2026. Where we found no measurement, we say what the tool does and stop there.

  • SuperpowersProven workflows: brainstorm before building, test first, debug by evidence, verify before done.Every task
  • MemPalaceLong-term memory across sessions and projects.96.6% R@5 on LongMemEval, raw retrieval recall. Project-reported, reproduced by users; 87.0% under the official scorer.Every task
  • Sequential ThinkingShort, written decision checkpoints for planning and diagnosis.Non-trivial tasks
  • CavemanShort, complete messages between agents, with the same facts in fewer tokens.42.9% cheaper sessions across 32 tasks. Project-reported.Every task
  • RTKCompresses shell output before the model reads it.36% fewer tokens on command-heavy tasks. Independent benchmark.Every shell command
  • Context7Current documentation for the exact library version in use.Code that uses a library
  • ExaWeb search with sources, for anything recent or external.External facts, research
  • SerenaFinds and edits code by symbol: a definition, every caller, a rename across files.Any task on code
  • ImpeccableA design pass before building and a polish pass before review.UI work
  • Copywriting skillsClear text for people, with no invented claims.Copy, docs, release notes
  • PlaywrightReproduces and confirms a UI bug in a real browser.UI bugs

Skip one: llm-orchestrator tools skip <tool> · Install routes in the reference.

86'd: what it does not do

In a kitchen, 86 means it is off the menu. These limits are in the README too.

  • 86It cannot see which model your IDE really ran. The 10% cap counts the dispatches the orchestrator reports, so it holds when the agent follows the flow.
  • 86The hooks see the main agent, not its subagents. A reminder does not prove that a tool ran.
  • 86A strategy card is tested by the next real task, so a bad card is found at its second use. That is why cards are short and retired after two failures.
  • 86New models have list prices but no measured score yet. They are kept out of critical review seats until they are measured.
  • 86On OpenCode and Kilo there is no turn-end continuation, and the headless advisor command is not verified.

Built on techniques with published results

Each mechanism in llm-orchestrator has related results published in 2026, on current models. Some of them argue against overdoing it, and those are here too. The figures below are results for the technique in its own setting, not measurements of this product. Sources were read on 1 December 2026.

TechniquePublished findingSettingSource
Cheap model first16.4% less GPU timeat equal accuracy; resolve rate 71.2% → 73.4%SWE-bench Verified. A small open model tries first, a larger one takes over on failure.Open-weight GLM-4.7 pair in a trace-driven simulation; wall-clock time rose.Cascade routing for coding agents, AMD, Nov 2026
Frontier as advisor+2.7 points, −11.9% costper agentic task, everyday model with a top-tier advisorSWE-bench Multilingual, executor alone against executor plus advisor.Reported by the vendor.The advisor strategy, Anthropic, Apr 2026
Advisor, the caveat+1.7 points at about 2.1× costat the edge of run-to-run noiseA strong executor with an advisor on an internal agentic-coding benchmark.On GPQA Diamond the advisor was consulted on none of the 198 questions. Gains depend on how often the executor asks.Optimizing for cost and intelligence, Anthropic docs
Reusable experience21.0% → 25.7% resolvedwith 17% fewer steps and 11% fewer tokensChainSWE, successive coding tasks with memory of earlier ones.A 27B open model with post-training, not a frontier model.CoReMem, Nov 2026
Subagents+1 to +5 points at up to 3.8× coston random tasks; the gain concentrates on hard, long tasksNL2Repo and ProgramBench with current frontier models.Why llm-orchestrator fans out by complexity: 2 agents for moderate work, up to 4 for critical.Parallel subagents for repository tasks, UIUC, Nov 2026
Independent review+3.9 to +9.5 pointsat 1.00× to 1.25× the cost17 harness designs, 7 frontier models, SWE-bench Verified and Terminal-Bench.Review of the changes beat review of the whole trajectory.Harness design for coding agents, Cornell, Oct 2026
Fresh-context verifierMore of 46 seeded faults foundthan the builder's own tests (p = 0.006)Pre-registered study of model-written services.A verifier from a second provider added nothing; separate context did.Verifier separation study, ETS Montréal, Oct 2026
Self-reviewRight 53% of the timewhen an agent is asked whether its implementation is correctBOBA-Bench, 10 agents, 280 chains of 20 requests.This is why "done" needs fresh test output.BOBA-Bench, Amazon, Nov 2026
Tests as feedback81.5% → 85.7% resolvedwith generated tests; 61.6% → 62.3% on SWE-bench ProSWE-bench Verified with a current frontier model.Weak tests lowered a smaller model from 61.2% to 57.3%. Test quality decides it.Tests as agent feedback, Microsoft Research, Sep 2026
Early gatesDecisive error at step 7median, in runs of 27 steps1,184 failed Terminal-Bench runs, 7 frontier models, 3 scaffolds.A post-hoc taxonomy, not an intervention. It is why evidence and plan gates come first.Where agents fail, Jul 2026

No benchmark of llm-orchestrator itself has been published yet. When one is, it will name the tasks, the models, every arm and the cost, and it will be linked here.

Pick your station

Every install is a dry run until you pass --apply. init is read-only: it proposes a harness and lists missing tools with the exact command for each.

Claude Code

Install as a plugin from any session. Commands are namespaced as /llm-orchestrator:task.

/plugin marketplace add tbogdan/llm-orchestrator
/plugin install llm-orchestrator@tbogdan

Codex

Writes an AGENTS.md span, the skill and ~/.codex/prompts. Start a new Codex session after.

npx llm-orchestrator install --project . --harness codex --apply

OpenCode

Writes .opencode/commands and the skill. Restart opencode after.

npx llm-orchestrator install --project . --harness opencode --apply

Kilo

Writes .kilo/commands and the skill. Restart Kilo after.

npx llm-orchestrator install --project . --harness kilo --apply

Once for every project: npx llm-orchestrator install --global --harness codex,opencode,kilo --apply. Check what is missing first: npx llm-orchestrator init --project . · Full guide on GitHub.

Questions at the pass

What is llm-orchestrator?

An open-source orchestration layer for AI coding agents. You type /task once; it classifies the work, plans it, splits it across parallel subagents, routes each part to the cheapest model that can do it, gates every phase and verifies the result with fresh test output before it says done.

Does it make my coding agent cheaper or smarter?

It is built to. Each part runs on the cheapest model that clears its risk level, the frontier model is consulted only at decisions and held to 10% of dispatches, and what it decided is reused as a strategy card. Gates, failing-test-first and independent review exist so that "done" means verified.

No benchmark of llm-orchestrator itself has been published yet, so this site states no percentage. The research section lists published results for each technique, and route --flow prints a cost estimate from dated list prices.

Which coding agents does it work with?

Claude Code, Codex, OpenCode and Kilo. The same flow is rendered into each one's native commands and agents. Routing follows the models your harness actually exposes.

Which models does it use?

Models from 11 providers. The registry carries 33 models with dated list prices, and routing follows the models your harness actually exposes. A shard with no eligible model is blocked rather than silently downgraded.

Is it free? What is the license?

Free. It is released under CC BY 4.0: use, adapt and redistribute it, including commercially, as long as you credit Bogdan-Gabriel Torcescu, link the license and keep the attribution markers.

Does it store my prompts or code?

The dispatch ledger in .orchestrator-run/ keeps tiers, kinds, timestamps and hashes, never prompts, tool inputs or file contents. Plans, evidence and decisions go to your memory store as the task moves, and strategy cards live on your machine under ~/.local/state/portable-orchestrator/strategies/. Your agent runs on your own harness and account.

Do I need all the extra tools it mentions?

It tells you up front which ones are missing, with the exact install command, and asks once. If you decline, the work continues and every report says what was skipped. A tool you do not want is skipped with llm-orchestrator tools skip <tool>. npx llm-orchestrator init lists what is missing.

How do I turn it off for one project?

Add an empty .orchestrator-off file to the project root, or the line orchestrate-core: off to AGENTS.md or CLAUDE.md, or set LLM_ORCHESTRATOR_OFF=1.

Write /task once.Get verified work back.

/plugin marketplace add tbogdan/llm-orchestrator
/plugin install llm-orchestrator@tbogdan

Built by Bogdan-Gabriel Torcescu, who got tired of babysitting long AI coding tasks.

Running agents on real work? Tell me what broke, what worked, or what you'd route differently.

Let's connect on LinkedIn