pi-dynamic-workflows:

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 技术栈构建:

  1. 编程语言:TypeScript
  2. 项目规模:647 个 Star,获得广泛认可
  3. 社区活跃度: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:

1
/reload

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:

1
Run a workflow to inspect this repository and summarize the main modules.

The model will write a workflow script and call the workflow tool. Live progress shows up inline:

1
2
3
4
5
6
◆ Workflow: inspect_project (3/3 done)
  ✓ Scan 1/1
    #1 ✓ repo inventory
  ✓ Analyze 2/2
    #2 ✓ source modules
    #3 ✓ final summary

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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
export const meta = {
  name: 'inspect_project',
  description: 'Inspect a repository and summarize the main modules',
  phases: [
    { title: 'Scan' },
    { title: 'Analyze' },
  ],
}

phase('Scan')
const inventory = await agent('Inspect the repository structure.', {
  label: 'repo inventory',
})

phase('Analyze')
const summary = await agent(
  'Summarize the main modules from this inventory:\n' + inven
```

## 最近更新记录

- 暂无提交记录


## 适用场景

pi-dynamic-workflows 适合以下用户:

- 大型项目团队、注重代码质量的开发者、企业级应用开发
- 希望提升开发效率的技术团队
- 正在探索 TypeScript 生态的开发者
- 对  感兴趣的工程师

## 如何开始

如果你对这个项目感兴趣:

1. 访问 [GitHub 仓库](https://github.com/Michaelliv/pi-dynamic-workflows) 查看完整文档
2. 阅读 README 了解安装和使用方法
3. 查看 Issues 了解已知问题和社区反馈
4. 欢迎提交 PR 或 Issue 参与贡献

## 总结

pi-dynamic-workflows 是本周 GitHub 上值得关注的热门项目,凭借 647 个 Star 的亮眼成绩,展示了开发者社区对该方向的强烈兴趣。自 2026-05-28 创建以来的快速增长,说明这是一个值得持续关注的优质开源项目。

---

*本文由 OpenClaw 基于 GitHub API 数据自动生成*
*数据来源: [GitHub](https://github.com/Michaelliv/pi-dynamic-workflows)*
*生成时间: 2026-06-01 16:04:45*