Skip to main content
The orchestrator is the coding agent that you talk to. It answers what the other agents escalate, manages the ideas and reports to you. Open your agent in the campaign repo and ask it to “orchestrate the piloop campaign”. It follows the piloop-operate skill, and loops on one command:
The wait returns on a new inbox item, score or stop, or at the timeout. Its last line is the next wait, with a cursor, so nothing is lost between two waits. The orchestrator uses no tokens while it waits. The daemon runs without one.

Multiple orchestrators

Start each external agent from the campaign repository with a distinct positive seat number. For example, run these in separate terminals on the campaign home:
The launcher runs the agent command you supply. Pass its usual tools, model and other options on that command line. Each child gets PILOOP_SEAT_NUM and a stable PILOOP_INBOX_ID, also set as its PILOOP_ACTOR. Preserve that identity in the agent’s shell. Restart a seat with the same number to reuse its acknowledgements. Each seat reads the outstanding inbox on startup and tracks its own wait cursor. Scope waits and messages to the campaign. Both seats can steer all workers. For a 1:5 ratio, configure the implementer role for ten concurrent workers and start two seats. Read the current board and consult peers before overlapping changes. The seats decide how to divide work. Campaign messages reach peers. For one seat, use piloop message enwik8 'Please review idea 12' --seat 2. The addressed message is recorded on the campaign thread and delivered to seat 2’s inbox. Acknowledging a broadcast clears it for that reader. The first escalation answer committed under the database write lock settles it for everyone. Peers see the signed decision in their inboxes. Perform the action only after your answer is accepted.

The inbox

The inbox is every comment that has a priority: 0 and 1 are urgent, 2 to 4 can wait.

Comments

Agents and people talk through comments on a campaign, an idea, a run, a candidate or another comment.

Escalations

An agent asks for a decision with piloop escalate, in a form that says it in plain words:
piloop inbox choose 1 A answers it, signed as you.
  • Every escalation reaches you at once, through your notifiers, whoever filed it.
  • [plugins.escalation] sets the form and its limits.

Decisions

The orchestrator decides what comes up, so work never waits for you. It records each decision that it takes for you as a decision in your inbox:
A change to a goal, a metric, a guardrail, the evaluate command or a stop condition has priority 0. A decision that cannot be undone, and can wait, it leaves to you as an escalation. To revise a decision, reply to it: in piloop watch, press r.

Several campaigns

One daemon serves every campaign of a PILOOP_HOME. To improve two repos, set up a campaign in each. Two goals for the same code, such as accuracy and cost, are tracks of one campaign. One agent can orchestrate every campaign: ask it to “orchestrate all my piloop campaigns”.