Directory · Subagents
Pi Dynamic Workflows
Pi extension that turns one request into a JavaScript orchestration script running parallel, model-routed subagents with resume.
★ 603 stars · last updated 2026-11-22 · Free, open source · View on GitHub
Best for
- Codebase-wide audits and multi-angle code review in Pi
- Large refactors using parallel agents in isolated git worktrees
- Source-checked deep research with citations
- Tracking token usage and cost across many subagents
Install
pi install npm:@quintinshaw/pi-dynamic-workflows
Our take
Built for the Pi coding agent, not Claude Code itself, though it borrows Claude Code-style workflow ideas. Orchestration is plain JavaScript using agent(), parallel(), pipeline() and phase(), with journaled resume (including resume from an edited script), per-agent tier or model routing, and built-in commands like /code-review and /deep-research. Workflow mode arms automatically when the word "workflow" appears in a prompt by default, which can be changed or disabled with /workflows-trigger.
Similar subagents
- Awesome Claude Code Subagents (VoltAgent): A curated collection of 161+ Claude Code subagent definitions across 10 categories, installable as plugins or individual agent files.
- Claude Code System Prompts: Extracted, versioned copies of Claude Code's system prompt pieces, tool descriptions, and subagent prompts with token counts.
- claude-devtools: Desktop and web app that reads local Claude Code session logs to show tool calls, token usage, subagent trees, and context.
- AI Marketing Suite for Claude Code: Claude Code skills and parallel subagents for marketing audits, copywriting, email sequences, ad copy, and client-ready reports.
- Vibe Coding Toolkit: Portuguese-language guides, prompts, and templates for bootstrapping Next.js projects with Claude Code or Codex, including subagent orchestration.
- pentest-ai-agents: 50 Claude Code subagents turning Claude into an offensive security research assistant for authorized penetration testing.