Trio for Pi 是 pi.dev 平台的一个插件,实现了单会话的规划、执行与审查工作流,每个阶段使用不同 AI 模型。

Stars

35

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

MIT

最近更新

2026-07-13

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它在单一会话中引入了结构化的三阶段工作流(规划→执行→审查),使得多模型协作与迭代改进在 pi.dev 平台上成为可能。

适合谁使用

  • 使用 pi.dev 进行 AI 辅助编程的开发者
  • 探索多步 AI 代理工作流的研究人员
  • 希望在单次对话中实现自动代码审查的工程师
  • 需要按角色配置模型与提示词的用户

典型使用场景

  • 自动代码生成并内置审查迭代
  • 需要不同模型优势的多步推理任务
  • 分阶段计划与修订的内容创作
  • 带有反馈循环的快速提示原型设计

项目优势

  • 三个阶段共享同一个对话与工作树
  • 通过 `pi install` 轻松安装,`/trio setup` 一键配置
  • 可分别为每个角色配置模型、系统提示词及审查轮次上限
  • 支持全局配置和项目本地配置覆盖

使用前须知

  • 依赖 pi.dev 平台
  • 文档仅包含基本命令说明,较为简略
  • 仅支持单会话工作流,无法持续多轮或跨会话使用

README 快速开始

Trio for Pi

A single-session planner → executor → reviewer workflow for pi. Trio keeps one shared conversation and working tree while switching models between phases.

Install

pi install git:github.com/jnsahaj/trio

Get Started

pi
/trio setup

Configuration is saved to ~/.pi/agent/trio.json. Run /trio setup to choose again, or edit that file to change role models and optional role settings.

Roles accept optional thinkingLevel and systemPrompt fields. The optional top-level maxReviewRounds field sets a review-round cap. A standalone configuration includes a provider and model for all three roles. A project-local .pi/trio.json can override fields from a complete global configuration.

Other commands: /trio status, /trio config, /trio stop.

项目描述

A planner, executor, and reviewer workflow for Pi

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

TanStack
精选
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web 开发前端框架
14,861
vercel-labs
精选
vercel-labs GitHub avatar

scriptc

scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.

开发者工具代码质量与构建
1,985
Jakubantalik
精选
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI 与机器学习AI 智能体
1,191