Appendix › How bots share the work

How bots share the work

7 min read

Appendix. Background reading on how Operation Kit is built. You don't need it to install or use Operation Kit; start with the main docs.

How one large card becomes several smaller jobs running side by side, how the card that coordinates them keeps track, and the rules that stop parallel jobs from stepping on each other. For the practical side, see The board.

On this page
  1. The short version
  2. One card plans, the others do
  3. Separate copies, narrow windows
  4. An independent check on every piece
  5. Stopping double work
  6. Running in parallel across model accounts
  7. References

The short version

  • One card plans, others do. A card in Delegator mode doesn't do the work itself. It splits it into smaller cards, starts them, and checks what comes back.
  • Every piece is checked on its own. Each smaller card is graded by an independent AI reviewer before the coordinating card accepts it.
  • Parallel jobs stay apart. Each one has its own working copy and sandbox, and can see only the final results of its sibling cards, not their working notes.
  • No double work. The server refuses to start a second job on a card or branch that already has one running.

This page explains the design. How cards, columns and parent and child cards look on the board is covered in The board.

One card plans, the others do

Some work is too big for one job to finish well in one go. Fernleaf Garden Supply might create a card that says "Prepare the spring catalogue": new product pages, updated prices, a newsletter and a social calendar. One job could try all of it, but it would run out of room, and a mistake in step two would surface only at step nine.

Instead, an admin can tick Delegator mode when creating the card. That card becomes a delegator: it keeps the plan and makes the decisions, and short-lived worker cards do the work. The delegator never builds anything itself, and a worker never decides what comes next. Software engineers will recognise this as the strategy pattern; people who have run a team will recognise it as a lead who delegates.

How the loop works

  1. Plan

    The delegator splits the card into two to five independent pieces. For each one it writes a self-contained brief and three to seven concrete checks ("acceptance criteria") that will be used to grade it. It records the plan and a list of its workers in its NOTES.md.

  2. Start the workers

    Each worker is a real card on the board, linked to the delegator, with its own job, sandbox and working copy. At most five run at the same time.

  3. Stop and wait

    The delegator ends its turn instead of sitting there checking. It uses a model account only while it is awake.

  4. Wake on results

    When a worker's job ends, the worker is first graded by the independent reviewer. Once the verdict is in, the server adds a [child-complete] note to the delegator's NOTES.md and wakes it. Several workers that finish within a few seconds of each other are delivered in one wake, and the wake message says how many finished, so none are missed.

  5. Decide

    For each finished worker: if it passed, accept it. If it failed even after its own fix-and-recheck rounds, re-scope it into a new worker or flag it for you. Then start the next waiting worker.

  6. Finish

    When every worker is accepted or flagged, the delegator writes a short summary of what was done. The card then waits in Needs You for your sign-off.

Everything the delegator needs to pick up where it left off lives in its NOTES.md, so it can be stopped and restarted at any point without losing track.

Why this beats one long job

Room to thinkA model's working space is limited. A single job that holds the plan, every intermediate result and every error fills up fast, and early details get squeezed out. Each worker starts fresh with only what it needs.
Mistakes stay smallIn one long job, an error early on may surface only near the end, and the job has to dig back through its own reasoning to find it. With workers, the faulty piece fails its own review and only that piece is redone.
Pieces run in parallelIndependent workers run side by side. One long job is one step at a time.

Stay in your lane

A job that works on a repository is told which card and branch it is bound to, and that work belonging to another card is out of bounds. If a worker spots something worth doing outside its brief, it notes it and says so in its report; it does not build it. The delegator then decides whether that becomes a new card. If a follow-up message asks a job to do work outside its card, it stops and replies that the work needs its own card.

This shape is well studied. AutoGen (Wu et al., 2023) found that a coordinator that only routes work is more reliable than one that also does it, because its state stays small and its decisions are easy to audit. MetaGPT (Hong et al., 2023) showed that clear roles with defined hand-offs prevent the chains of errors that appear when agents call each other freely.

Separate copies, narrow windows

Workers that change the same repository at the same time never share files: each gets its own working copy on its own branch and its own sandbox. How that works is in How a job runs.

What a worker may see of its siblings

Workers sometimes need to know what a sibling delivered before they can carry on. There is one supported way to ask: a read-only request that returns a small, fixed set of facts about the other cards under the same parent.

About a sibling cardVisible?Why
Number and titleYesTo know what it is
StatusYesTo wait until it's finished
Reviewer's verdictYesTo decide whether to rely on its result
Summary of its last runYesWhat it concluded, in brief
Last updatedYesTo check it's current
Its brief, plan or checksNoWould bias the reader toward the sibling's approach
Its working notes, live output or reviewer findingsNoHalf-finished thinking, not a result

The list is an allow-list: anything not on it is withheld, including any new field added to cards in the future. A worker that reads another worker's scratch notes tends to anchor on ideas the other worker later dropped. Reading only outcomes (what was delivered, what verdict it got) keeps each worker reasoning from facts. The delegator, which does need the detail, can read a worker's full output.

An independent check on every piece

Every worker is graded by a separate AI reviewer that never sees the worker's working notes, before the delegator accepts it. Why the reviewer is kept apart, and what it reads, is in Why the board works this way.

The pattern of "several attempts plus a judge" has good evidence behind it. Snell et al. (2024) showed that spending effort on independent attempts checked by a verifier beats spending the same effort on one longer attempt, on tasks with clear right and wrong answers. ChatDev (Qian et al., 2023) found that a reviewer role that challenges a programmer role catches more defects than a single agent checking itself.

Stopping double work

Systems with many jobs have a failure that a single job never meets: the same piece of work being done twice at once. It can happen when a wake-up is delivered twice, a restart races a retry, or two copies of the same card are created. Two jobs then commit to the same branch, or build the same file twice, and the result is a mess neither job can see.

Operation Kit stops this when a job is started, not after, because once two jobs are running it's too late for either to back out cleanly.

One job per cardA job takes a lease on its card when it starts and renews it while it runs. If another start arrives for the same card while the lease is live, it reconnects to the running job instead of starting a second one.
One job per branchA job that builds a branch also takes a lease on that branch. A different card trying to build the same branch while it's held is refused, and the existing work carries on untouched.
No duplicate siblingsTwo different cards under the same parent with the same title count as duplicates. If one is already running, the other isn't started.
Crashed jobs don't block foreverA lease that hasn't been renewed for 90 seconds counts as abandoned, so a genuine retry of a dead job still works.
No lost resultsWhen a delegator wakes, the wake message lists every worker that finished since its last wake, so it never re-starts work it didn't hear about.

Marvin Minsky's The Society of Mind (1986) argued that a mind built from many limited agents needs a way to settle disputes: agents working on the same ground without one produce contradictions, not answers. The rules above are that referee.

Running in parallel across model accounts

Real parallel work needs more than one model account, because each account has its own usage limit. Operation Kit spreads jobs over the accounts you connect in Settings → Models, as explained in How a job runs. Adding an account adds headroom for more workers at once; it doesn't raise any single account's allowance.

References

Published research behind the choices above.

Last checked against Operation Kit main (f504a64), 11 Nov 2026Suggest an edit