Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

Pi Dynamic Workflows 🤖 Agent Open source

Scripted, resumable multi-agent workflows with model routing for the Pi agent

Agent workflows & frameworks · Open source ★ 551 · +11 this week · MIT · updated 2026-09-29

6.8editor score
Visit Pi Dynamic Workflows ↗
GitHub stars
551
Stars this week
+11
Forks
107
Licence
MIT
Last push
2026-09-29
Maintainer
QuintinShaw
Installpi install npm:@quintinshaw/pi-dynamic-workflows

Third-party subagents & agents run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Not mapped to an app yet.

About Pi Dynamic Workflows

What it does

pi-dynamic-workflows, by Quintin Shaw, brings script-driven multi-agent workflows to the Pi coding agent. When you ask for a workflow, Pi writes a short JavaScript orchestration script that fans work out to fresh subagent sessions, routes each one to a suitable model, cross-checks the results and returns one answer. Intermediate results live in script variables rather than your chat context, which suits codebase-wide audits, large refactors and multi-perspective reviews.

What is inside

Scripts use a small set of runtime functions: agent(), parallel(), pipeline(), phase() and workflow() for calling saved workflows. Quality helpers include verify(), judgePanel(), loopUntilDry() and completenessCheck(). Each agent call can choose a model tier or an exact model, a thinking level, a JSON schema for structured output, and git worktree isolation so parallel edits land on separate branches. Completed agent calls are journaled, so an interrupted run can resume without paying for finished work again, even after you edit the script. A live panel shows phases, models, tokens and cost, and runs can be saved as reusable commands. A packaged workflow-authoring skill documents the rules.

Works with

This is a Pi extension. Pi is not one of the apps in this directory, so no listed app can install it directly, although the design mirrors Claude Code's dynamic workflows.

How to install

pi install npm:@quintinshaw/pi-dynamic-workflows

Maintenance and safety

MIT licensed, published on npm and pushed within the last week, with upgrade notes between major versions. Workflow mode is armed by the word "workflow" in a message by default; you can change or disable that trigger. Large fan-outs can spend many tokens quickly, so set run or phase budgets when you need a ceiling.

Who should use it

Pi users who regularly run broad audits or refactors that exceed one context window and want deterministic, resumable orchestration. Casual users can stick with single subagents.

pi-extension workflows subagents git-worktrees orchestration

Pros

  • Journaled resume avoids paying again for finished agent calls
  • Per-agent model tiers and git worktree isolation
  • Built-in verify and judge-panel helpers

Cons

  • Only works with the Pi agent
  • Large fan-outs can burn tokens quickly

Similar subagents & agents

All agent workflows & frameworks →

Spec Kit 🤖 AgentFree

GitHub's toolkit for spec-driven development with AI coding agents

★ 140k · +898 this week

8.5 Visit ↗

Task Master 🤖 AgentFree

AI task management that turns a PRD into tasks your coding agent works through

★ 28k · +39 this week

Fast Agent 🤖 AgentOpen source

Python framework for building, orchestrating and evaluating MCP-native AI agents

★ 3.9k · +9 this week

8.0 Visit ↗

OpenSpec 🤖 AgentFree

Lightweight spec-driven development: agree on changes before the agent codes

★ 71k · +564 this week

7.9 Visit ↗

CC Safety Net 🤖 AgentOpen source

Pre-execution guard that blocks destructive commands and secret access for coding agents

★ 1.6k · +11 this week

7.9 Visit ↗

BMAD Method 🤖 AgentFree

Agile AI-driven development with analyst, PM, architect, developer and UX agents

★ 54k · +269 this week

7.8 Visit ↗

Popular searches