Pi Extensible Workflows
A Pi extension that coordinates AI agents in resumable workflows, with reusable scripts, live inspection and headless runs.
Pi Extensible Workflows is an extension for developers who want repeatable processes involving several AI agents. It coordinates resumable workflows inside the Pi host environment and lets you inspect work while it runs.
- Reusable workflows: Combine agent tasks with shell checks in callable workflow scripts, so a process can serve later tasks.
- Implementation and review: The included reviewLoop pairs a developer agent with a reviewer for repeated implementation and review cycles.
- Independent subagents: Run agents outside a workflow, inspect their progress, steer or stop them, and retry their work.
- Live inspection: The terminal interface shows the agent tree, cost and workflow script; Trajectory displays model and tool events on a timeline.
- Companion tools: The optional Herdr package opens workflow agents in separate panes, while a separate CLI supports headless runs, inspection and exports.
The extension runs as Node.js code within Pi, with Pi's access to files and processes. That local orchestration doesn't establish where the selected models run. An optional roles extension supplies model, tool and policy defaults for workflow agents, subagents and ordinary Pi sessions; the core extension and CLI work without it.