Pi workflow documentation

Deterministic workflows and focused agents for Pi

Coordinate resumable multi-agent jobs with the core workflow extension, launch independent single-shot agents with Subagents, and move workflow sessions into Herdr when you need live inspection.

Quick start

Install, then ask Pi to run a workflow

Use Node.js 22.19 or newer and a trusted Pi project. The core package registers workflow launch, status, checkpoint, stop, retry, and resume tools, the conditional catalog tool, the background widget, and the /workflow command.

pi install npm:pi-extensible-workflows

Choose a path

NeedGo to
Install, configure, write, or operate workflowsDeveloper guide
Launch one independent agent without a workflow scriptSubagents guide
Move workflow-agent sessions into Herdr panesHerdr guide
Define or override reusable agent policyRoles guide
Use or build trusted workflow extensionsExtensions guide
Inspect, run, export, or bundle from a terminalCLI operations
Give an LLM exact configuration and authoring contractsLLM guide

Start with the main README

The repository README is the canonical product overview and package map. This site contains the navigable full documentation. The bundled workflow skill is the canonical agent-facing guide for workflow selection, authoring, and recovery.