Architecture

planner-executor

One planner agent writes a plan for every task and posts it to a queue; executor agents, woken by each post, take the plans in order. With a plan before the first change, resolved rose from 50.2% to 65.0% while the planner used under 2% of the executor's tokens (2610.29870); a plan preceded every first change in 23 of 23 runs (2610.35992). The simulator gives the planner the profile role `planner` (one turn per task) and the executors the role `executor`, whose pass rate after a failed step is set so that the share of correct tasks rises by the ratio of 2610.29870: the gain of a plan is an input of the run, not a result of it. A post that finds every executor busy is offered again when a run ends. The simulator does not model a wrong plan, an executor that departs from its plan, plans that depend on each other, nor a planner that learns from failed runs.

Parts and links

Select a part for its properties
  • principal
  • agent, harness
  • channel, question
  • gateway, model
  • workspace, sandbox, runtime
  • pool, resource
  • other block
  • one per owner, framed with it
  • marked place [search range]
Architecture planner-executor9 parts in rows by block layer, 8 links as arrows labelled by what they carry. The tables of parts and links beside the graph list every part and every link as text.owner → planner: promptplanner → plans: messageon_plan → executor: triggerexecutor → owner: questionplanner → gateway: model_callexecutor → gateway: model_callexecutor → builds: claimgateway → model: model_callmodel_callmodel_callpromptmessagetriggerquestionclaimownerprincipal · humanplanneragent · planner×1harness codingcount 1, range 1…2count1[1…2]planschannel · agent_messagedistribution queueon_plantrigger · on_messagechannel planspolicy parallelmax_parallel 8, range 4…12max_parallel8[4…12]per executorexecutoragent · executor×8harness codingcount 8, range 4…12count8[4…12]treeworkspace · exclusivegatewaygatewayrate limit per minute 120modelmodel · frontierbuildspool · build_slotscapacity 16job limit 10m