Favicon of Pi Extensible Workflows

Pi Extensible Workflows

A workflow extension for Pi that coordinates AI agents on your machine, with resumable runs, parallel tasks, approval checkpoints, and live inspection.

Pi Extensible Workflows is an extension for developers who want Pi to coordinate several AI agents through repeatable, resumable workflows. The orchestration runs in your Pi host environment using Node.js, with the same access to files and processes as Pi. Its workflow scripts define task order, parallel work, and approval checkpoints.

Workflows can combine agent tasks with shell checks, split reviews across agents, and isolate work in Git worktrees. Agents can retain their conversation across turns, so an ongoing task doesn't have to start with a fresh transcript each time. Reusable workflows let you keep a process for later tasks instead of asking the main agent to write it again.

The included reviewLoop pairs implementation with review. Packaged roles cover development, code review, scouting, and research, with customizable model choices, tools, skills, and prompts. Those roles can also launch ordinary Pi sessions without a workflow. Standalone subagents support inspection, steering, stopping, and retries.

You can inspect running work. The terminal interface shows the agent tree, costs, and workflow script, while Trajectory plots model and tool events on a timeline. The Herdr companion opens workflow agents in separate panes for closer inspection. A separate CLI supports headless runs, inspection, and exports.

Similar to Pi Extensible Workflows