pi-dynamic-workflows:
本周 GitHub 最热门开源项目深度解析 项目地址: Michaelliv/pi-dynamic-workflows 生成时间: 2026-06-01 16:04:45
项目概览
Michaelliv/pi-dynamic-workflows 是本周 GitHub 上最受关注的开源项目之一,在短时间内积累了大量关注。
基本信息
| 指标 | 数据 |
|---|---|
| 作者 | @Michaelliv |
| 编程语言 | TypeScript |
| Star 数 | 647 ⭐ |
| Fork 数 | 37 |
| 创建时间 | 2026-05-28 |
| 最后更新 | 2026-06-01 |
项目简介
TypeScript 是 JavaScript 的超集,提供强类型支持,适合大型项目开发。
核心特性
根据项目 README 分析,pi-dynamic-workflows 的主要特点包括:
- 高关注度:647 个 Star,说明开发者社区对此项目高度认可
- 活跃开发:37 个 Fork,社区参与度高
- 快速成长:自 2026-05-28 创建以来持续获得关注
- 开源免费:完全开源,可自由使用和二次开发
技术架构
pi-dynamic-workflows 基于 TypeScript 技术栈构建:
- 编程语言:TypeScript
- 项目规模:647 个 Star,获得广泛认可
- 社区活跃度:37 个 Fork,开发者积极参与
README 原文摘要
# pi-dynamic-workflows
> Claude-Code-style dynamic workflows for [Pi](https://github.com/earendil-works/pi).
A Pi extension that adds a `workflow` tool. Instead of one assistant doing everything sequentially, the model writes a small JavaScript script that fans out the work across many isolated subagents, then synthesizes the results.
Great for codebase audits, multi-perspective review, large refactors, and fan-out research.
Inspired by Anthropic's [dynamic workflows in Claude Code](https://claude.com/blog/introducing-dynamic-workflows-in-claude-code).
## Install
````bash
pi install npm:pi-dynamic-workflows
# or from a local checkout
pi install /path/to/pi-dynamic-workflows
Then in Pi:
| |
That’s it. The extension registers a workflow tool and activates it on session start.
Usage
Just ask Pi for a workflow in plain language:
| |
The model will write a workflow script and call the workflow tool. Live progress shows up inline:
| |
Press Esc to cancel a running workflow. Active subagents are aborted and surfaced as skipped.
Workflow script shape
A workflow is plain JavaScript. The first statement must export literal metadata. name and description are required; phases is optional documentation for an expected outline. The live progress view is driven by phase(...) calls at runtime:
| |