What problem does it solve?
This Skill provides a robust engine for defining, executing, and inspecting complex multi-agent workflows, moving beyond simple agent-to-agent communication to structured, deterministic, and resumable process orchestration.
Core Features & Use Cases
- Workflow Definition: Define complex process topologies using strict JSON (
flow.json) and agent behavior in Markdown (agents/*.md).
- Deterministic Execution: Run workflows step-by-step (
flow.step) or until completion (flow.run.until_wait), ensuring predictable outcomes.
- Resumable Runs: Persist runtime state, allowing workflows to be paused and resumed, ideal for long-running tasks or interruptions.
- Use Case: Automate a software development lifecycle, from planning and code implementation to review and deployment, coordinating multiple specialized agents (planner, reviewers, workers) through a defined workflow.
Quick Start
Use the pi_flow skill to start a new workflow run named 'code-review-process' using the 'code-review-workflow' definition.