Agent Handoff
Agent handoff lets any agent pass work to another. Click the Handoff → [Agent] button to transfer control.
How it works
- Select a project in Eclipse so Peon AI knows where to read and write files.
- Pick an agent from the dropdown (e.g. Plan).
- Describe what you want done and hit Send — the agent works on the task.
- 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:
| Tool | Purpose | Who |
|---|---|---|
planRead | Read the current plan, if one exists. | Plan, Dev, Review, custom agents, Jon |
planSave | Write/overwrite the final plan. | Plan, Dev, Review, custom agents |
planUpdate | Apply a targeted edit to the plan. | Plan, Dev, Review, custom agents |
hasPlan | Name the active plan and the parked ones, without reading them. | Jon |
planImplemented | Archive the plan with a timestamp once fully implemented. | Jon |
planPark | Set 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.
