mini-ork
OPEN SOURCE Apache-2.0 · Python 3.11+ →

A task operating system for AI agents.

You hand it a goal, it picks a recipe, runs every node on a chosen model lane, verifies the result with checks the agents cannot game, publishes only what passed, recovers what failed, and learns from every run — including improving its own code.

$ git clone --recurse-submodules https://github.com/SourceShift/mini-ork.git
Runs in Routes each node across Opus Sonnet GLM Kimi Codex DeepSeek MiniMax Gemini
✓Dark-mode toggle
code-fix
Add a dark-mode toggle to Settings → Appearance. Use the theme tokens we already have.
A previous ui_change run broke the light theme by inlining colors, so the kickoff limits color changes to tokens.ts. Starting code-fix in a new worktree; the review panel runs on three model families.
✦Learning applied: g-118 “Theme colors live in src/theme/tokens.ts”
✓ run run-1791302645-a41c worktree mo/run-a41c
$0.41 · 6m 32s
±
3 files changed · +38 −4Applied to your checkout as agent edits · worktree removed
src/theme/tokens.ts +22 −0 modified
src/settings/Appearance.tsx +9 −4 modified
src/settings/Appearance.test.tsx +7 −0 new file
Done. The change is in your project; review it above or in Review Changes.
  • Verified: tests.sh and lint.sh passed (rc=0).
  • Reviewed: 3 of 3 lenses approved across GLM, Kimi and Codex.
✓ Base replay passedthe test fails on the old code

The engine around every agent

Everything the engine does is visible in the mini-ork IDE, a fork of Zed. These are its panels, running on sample data. Try them.

THREADS

Every run, live, in one rail

The Threads board counts what needs you, what is working, what failed and what landed. A run in flight opens into its node roster, and any thread can ask the orchestrator about a run in plain words.

→Counters that filter the board→Node rosters with model, status and elapsed time→Search across every run, not just the first 50
⌖Click a counter or a card, or reply in the thread
Threads50+
⌕ Search runs — feature, kickoff, result
⌄ 9 of 12 nodes ○ planner — ✓ code_impact_lens 7m ✓ prior_art_lens 2m ✓ spec_test_author 6m ✓ implementer 2m ✓ static_check_verifier 1s ✓ test_verifier 31s ✓ kickoff_contract_verifier 1s ✓ spec_test_verifier 1s ◓ reviewer 25s ○ publisher ○ rollback
✣update me on the status of this run: run-1792249139-6289
⚒Bash: git log --oneline -20 --grep='roster' ◌Thinking ⚒Bash: cat .mini-ork/runs/run-1792249139-6289/diffstat ◌Thinking
run-1792249139-6289 — published ✓
  • Recipe: framework-edit · cost $1.47 · wall time ~29 min · all 10 nodes done
  • Reviewer: pass. Verifiers: static, test, kickoff-contract, spec-tests all pass.
  • Verdict: pass, 0 failed nodes, publish decision.
Where it landed: commit f0733db7 is on origin/main. Your local main is 37 commits behind. Want me to fast-forward local main to origin/main?
+⚙deepseek-v4-flash ⌄
RUN GRAPH

Watch the DAG execute. Inspect any node.

Each node shows its model, status, cost and time. The level vector says exactly what the publisher proved, and the inspector opens the node itself: its overview, its agent session and what it was taught.

→Level vector: applies, executes, target, preserve, contract→Stream filtered by tools, thinking or text→Steering reaches a node while it runs
⌖Click a node, then switch the inspector tabs
RSI Tier-0 #9: supervisor rule R8 dispatches one ready epic per sweep Done10/12 nodes$1.38framework-edit25m 36s
DAGOutcomeChecks 3ChangesOrchestratorKickoffAgents 12Learnings 8Artifacts 119
✓ Published · verified checks 4/4·applies PROVEN·executes PROVEN·target UNVERIFIED·preserve UNVERIFIED·contract PROVEN
depends_on → · verifiers check the node before them · rollback runs on escalates_to after a failure
✓prior_art_lensdone rsi-t0-epic-dispatch › prior_art_lens
StatusdoneModelDeepSeek · codex_lensDuration2m 20sCost$0.05
Found the supervisor rules, scheduler reuse and CLI config to follow, and wrote lens-prior_art.md.
BOARD

Epics and tickets on one board

Epics are grouped by what the scheduler is doing with them. GitHub issues, Linear and Jira tickets come in as tasks without a config file edit.

→Backlog, working, needs you, done→Attempts and recipe on every card→Sources connect from the board
⌖Click a backlog card to start it
BoardEpics grouped by what the scheduler is doing with them.
New taskSync ticketsEpics
Backlog30
Working0 Nothing here.
Needs you7
Done30
ORCHESTRATOR

One control plane for how work gets in

The orchestrator thread decides per request whether to answer, start a run or edit directly. Its lane, default recipe and workspace mode are one click each, and other agents reach the engine through an MCP context server.

→Kickoffs are linted before they run→Races run one kickoff on several lanes→19 MCP tools, control tools gated
⌖Pick a lane, start a kickoff, or keep a race winner
Orchestrator & intakemini-ork acpNew thread
How work gets in: the orchestrator thread, kickoffs, races and the tools other agents call.
✋ 7 things need you6 watching 6 runs need attention · spec_test_author — nothing new for 5m03s · intake chain: local trigger
Orchestrator lane Current value from the built-in default.
Recipe
Workspace
EVERYWHERE

Always know what needs you

The title bar carries what needs you, today’s spend against the cap, the scheduler and where runs execute. ⌘J reaches any run or page from the keyboard.

→Needs-you count and daily spend in the title bar→Live counters in the status bar→⌘J jump palette for runs and pages
⌖Type in the palette to filter
mini-ork ⌄⎇ main ✋ 6 need you $13.19 of $225 today◷ scheduler on○ Daytona
⌕ ⌘J
✋ 6 need you● 34 working✗ 14 failed$13.19 / $225 Python 3.13.11 (venv)mini-ork
CLOUD & SANDBOXES

Orchestrate on your laptop. Execute in the cloud.

Placement is chosen per run. mini-ork keeps the plan, the router and the gates; the work runs in a local worktree, an isolated sandbox, or a remote node such as Daytona, E2B or Modal.

Remote nodes
Sandboxes
Local
Daytona remote node Cloud sandboxes driven by the node agent. The default placement on the reference home.
mini-ork on your machine
planner + schedulerrouter + cost guardverifiers + gatesstate.db + learning
git bundle →
secrets · per lane →
← patch · traces · verdicts
☁Daytonacloud sandbox ●node agent · tree sync · per-lane secrets
●run-a41c· sandbox 1code-fix
plannerimplementerverifierreviewerpublisher
●run-77d2· sandbox 2docs
plannerimplementerverifierreviewerpublisher
●run-e81f· sandbox 3framework-edit
plannerimplementerverifierreviewerpublisher
One workspace protocol Local, docker, microVM and remote sandboxes share one interface, so recipes do not change. runtime/sandbox.py
Tree sync by git bundles Remote nodes receive the tree as a git bundle and hand back a patch the publisher can verify. remote/
Per-lane secret scoping Each lane gets only the keys it needs inside the remote workspace. dispatch/providers.py
RECIPES

Recipes are state machines that keep improving.

Write a recipe, or let recipe-creator draft one. It runs as a typed graph of states and transitions, and the improvement loop proposes, measures and promotes new versions of it.

● code-fix · run-a41c running state: verifier
implementer → verifier depends_on · the patch goes to the recipe verifiers
verifier → implementer retries · findings go back to the target node, at most 2 rounds
implementer → verifier depends_on · the revised patch is verified again
verifier → reviewer depends_on · verifier evidence reaches the reviewer
Families Delivery / code change Writing, domain, smoke Orchestration / meta RSI Audits & judge panels Research
THE ECOSYSTEM

A loop, not a pipeline

Seven zones around one spine. Two services answer every node: who runs it, and is the output real. Two feedback loops close around the engine: one makes future runs better, one rescues failed ones.

⌖ Hover an arrow to see what flows between zones. Click a zone to open it, or pick a loop above to play it.
A
Run lifecycle & orchestration The engine every run passes through.
Run driver ✓on
Flags, guards, classify → profile → plan → execute → repair handoff → verify → reflect → teardown cli/main.py
Classify + profile ✓on
Keyword scorer over recipes' task_class.yaml (no LLM); run_profile.json with lanes, roots, scope, questions cli/classify.py
Planner ✓on
LLM plan with a repair loop and a profile gate that refuses under-specified kickoffs cli/plan.py, planning/
Workflow compiler ✓on
Typed node/edge graph, artifact ports, retries repair edges, recursion: block workflow/compiler.py
DAG wave dispatcher ✓on
Runs nodes in readiness waves; serial / parallel / partitioned; node handler registry cli/execute.py
Revise loop ✓on
A failing check sends findings back to its target node (≤2 rounds); CoBa stops low-value rounds learning/revise_value.py
Run orchestrator ✓on
At each wave boundary: ADVANCE / REPAIR / MUTATE (proposes a graph patch); a watcher sends steering hints orchestration/runner_orchestrator.py
Durable resume ✓on
Node checkpoints → recover --from-node; completion ledger → run --resume; git ref per node stores/checkpoints.py
Epics + scheduler + conductor !opt-in
Roadmap → epics with dependencies; pool dispatch with budgets, retries, hooks scheduler.py, orchestration/conductor.py
Goal-loop, spawn, threads !opt-in
Goal-driven waves of child runs; bounded recursive spawn; threads that launch or steer runs recipes/goal-loop, cli/spawn.py

One engine, wherever you work

Start a run from the terminal, the IDE, another agent, your own code, or an issue tracker. It is the same run, the same gates and the same state.db.

$ mini-ork run "<goal>"
CLI 65 subcommands, from run and recover to supervise and certify.
⌘ Open run · Review changes
IDE Threads, run graphs and review panes in a Zed fork, plus web pages on :7090.
⇄ acp agent · mcp context
ACP & MCP Use mini-ork as an ACP agent, or serve its context to other agents over MCP.
>>> client.run(goal)
Python SDK Launch and watch runs from your own code.
# issue → thread → run
Intake GitHub, Linear, Jira or local issues become threads, then runs.
LIMITS

Wired, but not live yet

These exist in code but do not affect runs today. Every status on this page is what the code does, not what a doc promises.

○Learning that never closes mini-ork eval always reports a zero utility delta, so improve → eval → promote can never promote. Learned routing decides 97 of ~11k routes.
○Measurements starved of data Collapse history (2 rows), item-utility ranking (0 rows), CoBa (2 of 20 needed samples), lesson conflicts (0), diagnosis ledger (0).
○Self-driving escalation Fully wired, never fired on the live home; 24 fix epics wait because no scheduler daemon runs.
○Decorative config Per-node gates: in workflow.yaml are never read by the executor; most recursion: keys are unread; several edge types collapse to depends_on.
○Dead code OTel/Langfuse export, the healer/cleaner/finalize chain, chat integrations, epic auto-merge/PR, cache.py, GEPA (package not installed).
○Known sharp edges The cost pause records but does not halt; three recipes declare the same task class; web stop/kill routes take no token; publish happens before the post-run verify.

Start your first run

Clone the repo, then run install.sh → onboard → doctor. Every claim on this page names the code behind it.

Get the source ↗ Read the README
mini-ork
OPEN SOURCE Apache-2.0 · Python 3.11+ →

A task operating system for AI agents.

You hand it a goal, it picks a recipe, runs every node on a chosen model lane, verifies the result with checks the agents cannot game, publishes only what passed, recovers what failed, and learns from every run — including improving its own code.

$ git clone --recurse-submodules https://github.com/SourceShift/mini-ork.git
Runs in Routes each node across {{ fm.n }}
{{ run.m }}Dark-mode toggle
code-fix
Add a dark-mode toggle to Settings → Appearance. Use the theme tokens we already have.
A previous ui_change run broke the light theme by inlining colors, so the kickoff limits color changes to tokens.ts. Starting code-fix in a new worktree; the review panel runs on three model families.
✦Learning applied: g-118 “Theme colors live in src/theme/tokens.ts”
{{ run.m }} run run-1791302645-a41c worktree mo/run-a41c
{{ run.cost }} · {{ run.time }}
{{ ln.t }}
±
3 files changed · +38 −4Applied to your checkout as agent edits · worktree removed
{{ f.path }} {{ f.add }} {{ f.del }} {{ f.status }}
{{ fileBar.msg }}
Done. The change is in your project; review it above or in Review Changes.
  • Verified: tests.sh and lint.sh passed (rc=0).
  • Reviewed: 3 of 3 lenses approved across GLM, Kimi and Codex.
✓ Base replay passedthe test fails on the old code

The engine around every agent

Everything the engine does is visible in the mini-ork IDE, a fork of Zed. These are its panels, running on sample data. Try them.

THREADS

Every run, live, in one rail

The Threads board counts what needs you, what is working, what failed and what landed. A run in flight opens into its node roster, and any thread can ask the orchestrator about a run in plain words.

→Counters that filter the board→Node rosters with model, status and elapsed time→Search across every run, not just the first 50
⌖Click a counter or a card, or reply in the thread
Threads{{ uThreadCount }}+
⌕ Search runs — feature, kickoff, result
⌄ {{ ur.count }} {{ un.m }} {{ un.label }} {{ un.el }}
✣update me on the status of this run: run-1792249139-6289
⚒Bash: git log --oneline -20 --grep='roster' ◌Thinking ⚒Bash: cat .mini-ork/runs/run-1792249139-6289/diffstat ◌Thinking
run-1792249139-6289 — published ✓
  • Recipe: framework-edit · cost $1.47 · wall time ~29 min · all 10 nodes done
  • Reviewer: pass. Verifiers: static, test, kickoff-contract, spec-tests all pass.
  • Verdict: pass, 0 failed nodes, publish decision.
Where it landed: commit f0733db7 is on origin/main. Your local main is 37 commits behind. Want me to fast-forward local main to origin/main?
{{ mg.t }}
+⚙deepseek-v4-flash ⌄
RUN GRAPH

Watch the DAG execute. Inspect any node.

Each node shows its model, status, cost and time. The level vector says exactly what the publisher proved, and the inspector opens the node itself: its overview, its agent session and what it was taught.

→Level vector: applies, executes, target, preserve, contract→Stream filtered by tools, thinking or text→Steering reaches a node while it runs
⌖Click a node, then switch the inspector tabs
RSI Tier-0 #9: supervisor rule R8 dispatches one ready epic per sweep Done10/12 nodes$1.38framework-edit25m 36s
DAGOutcomeChecks 3ChangesOrchestratorKickoffAgents 12Learnings 8Artifacts 119
✓ Published · verified checks 4/4·applies PROVEN·executes PROVEN·target UNVERIFIED·preserve UNVERIFIED·contract PROVEN
depends_on → · verifiers check the node before them · rollback runs on escalates_to after a failure
{{ uSel.m }}{{ uSel.id }}{{ uSel.st }} rsi-t0-epic-dispatch › {{ uSel.id }}
{{ kv.k }}{{ kv.v }}
{{ uSel.did }}
● {{ uSel.st }} · {{ uStreamN }} events · {{ uSel.role }}
{{ ev.m }}{{ ev.t }} {{ ev.b }}
{{ uSel.steer }}
Injected into {{ uSel.id }} ✓Prior same-class runs · 5 framework-edit runs ✦Verified theme · “Opt-in supervisor rules ship behind a features.yaml flag” !Failure mode · “Scheduler reuse beats a second dispatch loop” The injection ledger records this exact text, so the learning loop can credit it against the run's outcome.
BOARD

Epics and tickets on one board

Epics are grouped by what the scheduler is doing with them. GitHub issues, Linear and Jira tickets come in as tasks without a config file edit.

→Backlog, working, needs you, done→Attempts and recipe on every card→Sources connect from the board
⌖Click a backlog card to start it
BoardEpics grouped by what the scheduler is doing with them.
New taskSync ticketsEpics
{{ col.t }}{{ col.n }} Nothing here.
{{ so.i }} {{ so.t }}{{ so.d }}
Tickets arrive as threads, then runs. Secrets are written to the vault, never to a config file.
ORCHESTRATOR

One control plane for how work gets in

The orchestrator thread decides per request whether to answer, start a run or edit directly. Its lane, default recipe and workspace mode are one click each, and other agents reach the engine through an MCP context server.

→Kickoffs are linted before they run→Races run one kickoff on several lanes→19 MCP tools, control tools gated
⌖Pick a lane, start a kickoff, or keep a race winner
Orchestrator & intakemini-ork acpNew thread
How work gets in: the orchestrator thread, kickoffs, races and the tools other agents call.
✋ 7 things need you6 watching 6 runs need attention · spec_test_author — nothing new for 5m03s · intake chain: local trigger
Orchestrator lane {{ uLaneNote }}
Recipe
Workspace
{{ kk.m }} {{ kk.t }}{{ kk.sub }}
Lint checks paths that do not exist, a missing success section, and sections the recipe's examples have and yours lacks.
rate-limit-upload · the same kickoff on three lanes, verified side by side
{{ rr.lane }} {{ rr.res }} {{ rr.cost }} {{ rr.time }} {{ rr.tag }}
MCP context server · 19 tools Grey tools are read-only and served to every agent in Zed. Blue tools are control tools for the orchestrator only. Drafts and proposals never take effect without a button.
{{ mc.t }}
EVERYWHERE

Always know what needs you

The title bar carries what needs you, today’s spend against the cap, the scheduler and where runs execute. ⌘J reaches any run or page from the keyboard.

→Needs-you count and daily spend in the title bar→Live counters in the status bar→⌘J jump palette for runs and pages
⌖Type in the palette to filter
mini-ork ⌄⎇ main ✋ 6 need you $13.19 of $225 today◷ scheduler on○ {{ place.name }}
⌕ ⌘J
No run or page matches.
✋ 6 need you● 34 working✗ 14 failed$13.19 / $225 Python 3.13.11 (venv)mini-ork
CLOUD & SANDBOXES

Orchestrate on your laptop. Execute in the cloud.

Placement is chosen per run. mini-ork keeps the plan, the router and the gates; the work runs in a local worktree, an isolated sandbox, or a remote node such as Daytona, E2B or Modal.

{{ pg.label }}
{{ place.name }} {{ place.kind }} {{ place.desc }}
mini-ork on your machine
{{ c }}
{{ lk.t }}
{{ place.icon }}{{ place.name }}{{ place.where }} ●node agent · tree sync · per-lane secrets
●{{ bx.id }}{{ bx.unit }}{{ bx.recipe }}
{{ bn.t }}
{{ cf.t }} {{ cf.d }} {{ cf.code }}
RECIPES

Recipes are state machines that keep improving.

Write a recipe, or let recipe-creator draft one. It runs as a typed graph of states and transitions, and the improvement loop proposes, measures and promotes new versions of it.

{{ rhead.m }} {{ rhead.t }} {{ rhead.tag }} {{ rhead.note }}
{{ recipeFile.title }} {{ recipeFile.desc }}
{{ ch }}
✎recipe-creator Describe the job and recipe-creator drafts the three files, prompts and verifiers. The new recipe is classified like any other from its first run.
$mini-ork run "create a recipe for …"
{{ lg.route }} {{ lg.what }}
{{ rp.i }}{{ rp.t }}{{ rp.st }} {{ rp.d }} {{ rp.code }}
Families {{ r.name }}
THE ECOSYSTEM

A loop, not a pipeline

Seven zones around one spine. Two services answer every node: who runs it, and is the output real. Two feedback loops close around the engine: one makes future runs better, one rescues failed ones.

{{ tip.route }} {{ tip.what }} {{ tip.code }}
{{ cap.route }} {{ cap.what }} ⌖ Hover an arrow to see what flows between zones. Click a zone to open it, or pick a loop above to play it.
{{ sel.id }}
{{ sel.name }} {{ sel.role }}
{{ f.name }} {{ f.m }}{{ f.status }}
{{ f.desc }} {{ f.code }}

One engine, wherever you work

Start a run from the terminal, the IDE, another agent, your own code, or an issue tracker. It is the same run, the same gates and the same state.db.

{{ sf.p }} {{ sf.cmd }}
{{ sf.t }} {{ sf.d }}
LIMITS

Wired, but not live yet

These exist in code but do not affect runs today. Every status on this page is what the code does, not what a doc promises.

○{{ g.t }} {{ g.d }}

Start your first run

Clone the repo, then run install.sh → onboard → doctor. Every claim on this page names the code behind it.

Get the source ↗ Read the README