Skip to content

Agent Handoff ​

Agent handoff lets any agent pass work to another. Click the Handoff → [Agent] button to transfer control.

How it works ​

  1. Select a project in Eclipse so Peon AI knows where to read and write files.
  2. Pick an agent from the dropdown (e.g. Plan).
  3. Describe what you want done and hit Send — the agent works on the task.
  4. When ready to hand off, click the Handoff → [Agent] button next to the input. Control transfers to the target agent, seeded with the previous agent's work.

For example, Plan hands off to Dev by default — the plan file (peon-plan/active-plan.md) is passed to Dev for implementation.

The handoff button ​

Any agent with a configured handover target shows a Handoff → [Agent] button next to the chat input. Plan hands off to Dev by default. Custom agents set a target with the handover: frontmatter field, which lets you chain your own workflows (e.g. plan → dev → review).

The handoff passes the saved peon-plan/active-plan.md if one exists, otherwise the previous agent's last message — prefixed with Handover from [Agent].

Plan tools ​

The plan lives in peon-plan/active-plan.md in the project root and is managed by dedicated tools. Which tool an agent may call is fixed — not allowlist-configurable:

ToolPurposeWho
planReadRead the current plan, if one exists.Plan, Dev, Review, custom agents, Jon
planSaveWrite/overwrite the final plan.Plan, Dev, Review, custom agents
planUpdateApply a targeted edit to the plan.Plan, Dev, Review, custom agents
hasPlanName the active plan and the parked ones, without reading them.Jon
planImplementedArchive the plan with a timestamp once fully implemented.Jon
planParkSet the plan aside for later — it stays in the archive until Jon picks it up again.Jon

Archived plans live in peon-plan/archive/, one file per plan: <stamp>-done.md after implementation, <stamp>-parked.md when set aside.

Released under the MIT License.