explaingit

jnsahaj/trio

Analysis updated 2026-05-18

35TypeScriptAudience · developerComplexity · 2/5Setup · easy

TLDR

Trio is a Pi plugin that splits a coding task into planner, executor, and reviewer phases, letting you assign a different AI model to each phase in one shared session.

Mindmap

mindmap
  root((Trio))
    What it does
      Planner phase
      Executor phase
      Reviewer phase
      Shared session
    Tech stack
      TypeScript
      Pi platform
    Use cases
      Structured AI coding workflow
      Per-phase model choice
      Project overrides
    Configuration
      Global trio.json
      Project .pi/trio.json
      Role settings

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Split an AI coding task into separate planning, execution, and review phases inside Pi.

USE CASE 2

Assign different AI models to the planner, executor, and reviewer roles for a coding session.

USE CASE 3

Set a project-specific configuration that overrides your global Trio role settings.

What is it built with?

TypeScriptPi

How does it compare?

jnsahaj/trioanandsaini18/deadskillskarminski/codevinci
Stars353535
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyeasyeasymoderate
Complexity2/51/53/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires an existing Pi installation, configuration is a single setup command.

No license information is provided in the README.

In plain English

Trio is a plugin for a coding assistant tool called Pi. It sets up a workflow that splits a coding task into three phases: planning, executing, and reviewing, and it can use a different AI model for each phase while keeping everything in one shared conversation and one working set of files. The idea is that different models may be better suited to different parts of a task. One model can act as the planner and decide what needs to be done, another can act as the executor and actually write the code, and a third can act as the reviewer and check the work before it is considered finished. Because the three phases share the same session and the same working tree, the executor can see what the planner decided, and the reviewer can see what the executor produced, without starting over each time. Installing Trio is done through Pi's own install command, pointing at this GitHub repository. Once installed, running a setup command inside Pi lets you choose which model and provider to use for each of the three roles, and that configuration is saved to a file in your home directory. You can also add a project-specific configuration file that overrides some of those settings for a single project. Each role supports optional settings such as a custom system prompt and a thinking level, and there is a setting to cap how many rounds of review can happen before the workflow stops. This tool is aimed at developers who already use Pi and want more structure and model flexibility in how their AI coding sessions are organized. The README is brief and mainly covers installation and configuration, it does not go into detail about how the planner, executor, and reviewer phases hand off to each other internally.

Copy-paste prompts

Prompt 1
Explain how to install Trio into Pi and run the initial /trio setup command.
Prompt 2
How do I configure different models for the planner, executor, and reviewer roles in trio.json?
Prompt 3
What does the maxReviewRounds setting do in Trio, and how do I change it?
Prompt 4
Walk me through overriding global Trio settings with a project-local .pi/trio.json file.

Frequently asked questions

What is trio?

Trio is a Pi plugin that splits a coding task into planner, executor, and reviewer phases, letting you assign a different AI model to each phase in one shared session.

What language is trio written in?

Mainly TypeScript. The stack also includes TypeScript, Pi.

What license does trio use?

No license information is provided in the README.

How hard is trio to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is trio for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.