QuintinShaw/pi-dynamic-workflows
15 stars · Last commit 2026-06-04
Claude Code–style dynamic workflows for Pi: code-mode subagents with real model routing, journaled resume, git-worktree isolation, cost accounting, an interactive /workflows TUI, an /ultracode standing opt-in, and deep research.
README preview
# pi-dynamic-workflows [](https://www.npmjs.com/package/@quintinshaw/pi-dynamic-workflows) [](#license) [](https://pi.dev) [](#development) > **Claude Code–style dynamic workflows for [Pi](https://pi.dev).** > Turn one prompt into a fleet of subagents that fan out in parallel, cross-check each other, and hand back a single synthesized answer. **[Website](https://quintinshaw.github.io/pi-dynamic-workflows/) · [npm](https://www.npmjs.com/package/@quintinshaw/pi-dynamic-workflows) · [Pi package](https://pi.dev/packages/@quintinshaw/pi-dynamic-workflows) · [GitHub](https://github.com/QuintinShaw/pi-dynamic-workflows)**  Instead of one model grinding a task step by step, Pi writes a small JavaScript **orchestration script** that spawns many subagents at once, keeps the intermediate work in script variables (not your chat context), and returns only the result. It's the "code mode for subagents" from Claude Code — on any model Pi can reach. Built for **codebase-wide audits, multi-perspective review, large refactors, and cross-checked research** — anything one context window can't hold. ## Install