← Catalog

pi-suite

Custom modular Pi extension suite

Package

Install

Install with PiG

pig install npm:pi-suite

Install with Pi

pi install npm:pi-suite
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "skills": [
    "./skills"
  ],
  "themes": [
    "./themes/*.json"
  ],
  "extensions": [
    "./src/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.3 (README.md). PiG does not review it.

Pi Suite

中文 · Documentation

An all-in-one extension bundle for Pi, the terminal coding agent, that integrates six standalone extensions into five modules: goals, subagents, user questions, background jobs and task lists. The modules share one storage layer, one notification queue and one panel above the editor (the Dock).

Install

pi install npm:pi-suite
pi list

Run /reload in an open session or restart Pi. All modules are enabled by default. Updates are covered in Installation.

The package ships two skills: pi-suite-jobs teaches the model to run commands and coding-agent CLIs as jobs, and pi-suite-workflow teaches it to write and resume workflow scripts.

Modules

ModuleUpstream
Goal@narumitw/pi-goal
Agents@tintinweb/pi-subagents
Askpi-ask-user
Jobspi-background-jobs, pi-interactive-shell
Tasks@tintinweb/pi-tasks

Goal

/goal <objective> sets one objective for the session. The model keeps working across turns until it completes the goal with evidence (goal_complete), reports a blocker (goal_blocked), or you pause it. --tokens 100k sets an optional token budget. goal_wait waits for jobs, subagents and workflows in the same way as wait (see Agents).

Agents

Subagents are child Pi sessions that run in the same process, in the foreground or background.

  • Types: the built-in general-purpose, Explore and Plan, plus custom types defined by a Markdown file in ~/.pi/agent/agents/ (user) or .pi/agents/ (project). A type sets the system prompt, tools, model, thinking level, turn limit, skills and persistent memory; agents.types overrides the model and thinking of any type. See Agent types, models and resources.
  • Mentions: @<type> <message> in the editor, for example @explore where is the config loaded?, hands the message to a subagent of that type.
  • Questions: a subagent's ask_user question goes to the session that started it.
  • Recovery: a subagent stopped by a network or upstream error is resumed in the same session.
  • Waiting: wait waits for any mix of jobs, subagents and workflows, and returns early when a monitor fires or a subagent asks a question.

Subagents can also run on a schedule. A workflow script fans out many subagents and can resume from an earlier run. Other extensions start and control subagents through the RPC API.

Ask

ask_user lets the model ask you one question or a batch of 2–4, with options, defaults, multi-select, free-text answers and an idle timeout (ask.timeout).

Jobs

Jobs run commands in the background in pipe or PTY mode. The model reads bounded log slices, sends input, and sets output monitors that wake it on a literal, regex or numeric threshold match. In /jobs you can read the logs or take over a PTY with i.

Presets start coding-agent CLIs in a PTY. The model supervises them hands-free, and you can take over the terminal at any time. See CLI presets and PTY supervision.

Stopping a job checks that every captured process has exited, and reports unconfirmed when it cannot.

Tasks

A two-level task list (groups and child tasks) that the model maintains and the Dock displays, with dependencies and atomic batch edits. A job or subagent can be linked to a task, and a subagent started for a task can update it.

Interface

The Dock shows the goal, tasks, subagents, jobs and workflows; press ← in an empty editor to select a row. /tasks, /jobs and /subagents share one browser layout, whose detail pane colors names, IDs, states and errors.

Each suite tool call and notification takes one line and expands to labeled fields; a failed tool shows the first line of its error. Results from all modules are merged into one notification per wake-up and delivered only to the session that owns the work.

Commands in Pi's built-in bash / powershell calls and in jobs are highlighted by structure: program, options, variables, strings, operators and redirections. The highlighter only scans the text and never runs the command.

The package also includes the oh-my-pi dark theme, and makes Pi's copy work inside tmux through OSC 52. See Interface.

Commands

CommandWhat it does
/goal [--tokens 100k] <objective>Starts a goal. /goal status, edit, pause, resume and clear show, change, pause, resume or clear it.
/tasks [group ID]Browse the task list, optionally opening one group.
/jobs [finished|all] [workspace]Browse jobs, read logs, or take over a PTY with i. Lists active jobs of this session by default.
/subagents [queued|finished|all|types|schedules|workflows]Browse subagent runs, transcripts, types, schedules and workflows; /subagents workspace [...] covers the whole workspace.
/suiteView and edit settings one by one.
/exitQuit Pi after stopping jobs and subagents and waiting for cleanup, up to 10 seconds for jobs.

Settings

No configuration is required. Optional settings live in ~/.pi/agent/pi-suite.json (user) and .pi/pi-suite.json (project); the project file overrides the user file field by field. Common settings:

SettingDefaultWhat it does
modules.<ask|tasks|jobs|goal|agents>trueEnable or disable one module.
commands.exittrueRegister /exit.
ui.maxRows12Maximum rows the Dock uses.
ui.highlightBuiltinCommandstrueHighlight commands in Pi's built-in bash/powershell calls.
ask.timeout600000Default ask_user idle timeout in ms; 0 waits forever.
goal.display, agents.display, jobs.displaystatusShow the summary in the footer status, the Dock, or nowhere.
tasks.reminderstrueRemind the model when it has not updated tasks for several turns.
agents.maxConcurrent10Background subagent concurrency limit.
agents.maxDepth3Maximum session depth, including the main session.
agents.defaultModel, agents.typesunsetDefault subagent model; per-type model, thinking and enabled overrides.
agents.mentions, agents.scheduling, agents.workflowstrue@handle mentions, schedules and workflows.
jobs.detachKey, jobs.returnKey, jobs.transferKeyctrl+], ctrl+g, ctrl+tLeave the terminal view, hand input back to the model, send the screen.
runtime.openAIResponsesAutoRecoveryfalseWhen an OpenAI Responses endpoint rejects history created under another upstream account (for example behind a gateway), drop the rejected item IDs or encrypted reasoning and continue. See OpenAI Responses recovery.
{
  "modules": { "goal": false },
  "agents": { "maxConcurrent": 4, "types": { "Explore": { "model": "anthropic/claude-haiku-4-5" } } }
}

All fields are listed in Configuration. You can also edit them with /suite.

Documentation

Development

pnpm install
pnpm typecheck
pnpm test

See Development for the source layout and project rules.

Credits and license

Pi Suite adapts code and tool contracts from several MIT-licensed Pi extensions: pi-ask-user, @tintinweb/pi-tasks, pi-interactive-shell, pi-background-jobs, @narumitw/pi-goal and @tintinweb/pi-subagents. The theme is based on Oh My Pi's Titanium palette. Details and license texts are in third-party/UPSTREAM.md.

Pi Suite is released under the MIT License.