Skip to main content

Nine code-agent orchestrators, read from the source

· 6 min read
Andrés Carmona Gil
Desarrollador & Creador de Contenido

Which part of an agent orchestrator should be an LLM, and which part should be plain code?

I read nine open-source orchestrators to find out. This post is the overview; the long version has file-and-line citations.

Research snapshot: nine repositories · source reading only · nothing executed · 807 file:line citations re-checked, 72 sampled (none contradicted) · reading coverage between 0.2 % and 32 % per repo.

The nine at a glance​

RepoOriginStarsLanguageLast push
deer-flowByteDance85,571Python + Next.js2026-11-21
gastownOrganization, one main author18,862Go2026-11-14
agent-orchestratorOrganization, commercial product14,996Go + Electron2026-11-21
dsh-superagent-prototypeDeepSeek, official prototype24,127TypeScript2026-11-03
cli-agent-orchestratorAWS Labs1,619Python2026-11-21
agent-swarmOrganization1,097Bun / TypeScript2026-11-21
dsh-super-agentIndependent author146TypeScript2026-11-21
cc-super-agentIndependent author7Bash + JS2026-11-02
super-super-harnessIndependent author1Python2026-11-04

GitHub data from 2026-11-21. DeepSeek's own prototype has about 24k stars and a single commit: that is brand pull, not usage.

One axis explains most of the difference: who decides​

More logic in code makes behaviour easier to verify. Nothing in the nine shows that it gives better results: that is still unmeasured.

Three ladders​

RepoWorker isolationStuck-worker detectionResult acceptance
cc-super-agentnoneLLM on a cron, warns onlyself-report
dsh-superagent-prototypenonenoneself-report
super-super-harnessnonecode, with actionself-report
LofiSuOS sandbox (macOS/Linux)code, with actionself-report
agent-orchestratorgit worktreeonly checks the process is alivederived from PR/CI facts
gastowngit worktreedaemon on one agent; the rest is LLM agentsself-report
agent-swarmDocker, opt-in, open networkcode classifierself-report
cli-agent-orchestratordisposable pods (example only)regex on the TUI screenself-report ("false victory")
deer-flowshared with the parentloops and heartbeatsverified by code

Isolation is weak by default everywhere. Only deer-flow decides acceptance in code, on tool evidence.

Scorecard (7 repos, 0 to 10)​

RepoOriginArchitectureMaintainability
deer-flowByteDance███████░░░ 7.2██████░░░░ 6.4
dsh-superagent-prototypeDeepSeek, official prototype████████░░ 7.5█████░░░░░ 5.2
agent-swarmOrganization██████░░░░ 6██████░░░░ 6
cli-agent-orchestratorAWS Labs█████░░░░░ 4.5███████░░░ 7.2
dsh-super-agentIndependent author██████░░░░ 5.5█████░░░░░ 5.2
agent-orchestratorOrganization, commercial product█████░░░░░ 5.2█████░░░░░ 4.8
gastownOrganization, one main author█████░░░░░ 5.2████░░░░░░ 4.4

Chart labels: dsh = DeepSeek's prototype, AO = agent-orchestrator, swarm = agent-swarm, CAO = cli-agent-orchestrator.

How the score works: architecture is the mean of five criteria (boundaries, coupling, extensibility, state, resilience). Maintainability is the mean of five (file size, tests, CI gates, docs, project health). File size and test ratio are mechanical; the rest are judgments with cited evidence. Files of 8,000 to 14,000 lines score 0 on size, even when their tests and CI are the best in the group.

The official prototype scores high mostly because it is small (about 15k lines, no CI, one commit). Do not compare it with projects ten to a hundred times larger.

What each one claims to be, and what the code shows​

RepoClaimsThe code showsGap
dshPure domain corePure core; the app layer is tangledShort
LofiSuSync engine plus async harnessClean core, one 3,231-line wiring moduleMedium
deer-flowThree packages, harness never imports the appOuter boundary enforced by a test; 23 mutual imports insideMedium
agent-orchestratorHexagonal, adapters are leavesHexagonal with documented leaksLong
agent-swarmAPI owns the DB, workers use HTTPBoundary checked in CI; the core is coupled to everythingMedium
cli-agent-orchestratorStrict layersLayers crossed, cycles hidden by 128 deferred importsLong
gastownRole hierarchy over a shared ledgerControl often lives in LLM prompts; Go merge engine has no callerLong

The rules that survive are the ones a machine enforces: an AST test, a CI script, the Go compiler.

Does who builds it matter?​

OriginPattern seen
Company or team (deer-flow, agent-orchestrator, agent-swarm, cli-agent-orchestrator)Best CI and tests, and the biggest files
Independent author (LofiSu, cc-super-agent, super-super-harness)Small, coherent code, but one author and no community
Official prototype (dsh)Clean code, no CI, one commit
Organization name, one main author (gastown)65 % of the top-100 commits from one person; no release since June

Treat this as a hint. It is seven to nine repositories of very different size and age, and I read the small ones more completely, which inflates them.

Worth copying​

IdeaFrom
Permission (immutable) kept apart from context (no authority)dsh
Effects queued inside the transaction (outbox)dsh
At-most-once per turn, router failover with probessuper-super-harness
Acceptance decided in code on tool evidencedeer-flow
A failed probe does not prove the session is deadagent-orchestrator

Still open​

  • Real, portable worker isolation.
  • A technical defense against prompt injection.
  • Cost caps per task.
  • Evidence that the dual router and worker design beats a single good agent.

Read the full study​

One interactive diagram per orchestrator: see the flows · open them directly.

Notes per repository, comparison tables, the scoring rubric and the interactive diagrams: agentscope/orchestrators.

Limits​

  • Reading coverage is low: from 0.2 % to 32 % of each repo's lines. Counts and import graphs cover every file; behaviour only what I read.
  • "Not found" means "not found in what I read".
  • Nothing was run. No benchmark, no timing, no cost numbers.
  • The 0 to 10 scores are judgments with explicit rules, not measurements.