Pi Subagents

Delegate focused work to child sessions in Pi, then follow reviews, reconnaissance, and background runs from the parent session.

Stars
★ 4k
Last updated
1d ago
License
MIT
Primary language
TypeScript

At a glance

How it runs
Agent plugin / skill
Works with
Platform-specific
Setup effort
Low · running in minutes
You'll need
PinpmShell / CLILocal filesystem
Typical use
A developer asks reviewer to check a diff, tests, and edge cases before merging changes.
Not a fit if
  • Teams that do not use Pi or need standalone subagents
Source review
77/100 · Good

What does this agent do, and when should you use it?

pi-subagents is a Pi extension that lets a parent session delegate tasks to focused child Pi sessions. The documented uses include code review, repository reconnaissance, implementation, parallel audits, saved workflows, and background jobs. Foreground children run as sessions inside the parent Pi process and stream progress in the conversation; background children continue in a detached runner and can be checked later. Built-in agents include scout, researcher, evidence-auditor, worker, reviewer, oracle, and delegate, with FleetView and run artifacts for observing activity. Installation uses pi install npm:pi-subagents, so this is aimed at developers already using Pi rather than users seeking a standalone general-purpose agent runtime.

After installation, a user can ask Pi in natural language to call the subagent tool, such as asking reviewer to inspect a diff or scout to map a codebase. Pi starts a child Pi session with the assigned task and returns its result to the parent; foreground runs show progress in the conversation, while background runs continue in a detached runner. Users can open /subagents-fleet to browse children, read transcripts, steer a running child, or stop a run, and can ask for the current async runs. /council and council-mode support discussions with model-based advisors; /subagents-doctor checks setup, and /subagents-guide [topic] provides installed-version help.

  1. A developer asks reviewer to check a diff, tests, and edge cases before merging changes.
  2. An engineer entering an unfamiliar repository asks scout to identify relevant files, entry points, data flow, and risks before planning.
  3. A team delegates parallel checks for correctness, tests, and unnecessary complexity.
  4. A developer asks oracle to challenge a plan's assumptions before deciding how to proceed.
  5. A user sends a task to a background child so work continues after the parent returns control, then checks its progress later.

How do you install or deploy this agent?

In an environment with Pi installed, run:

pi install npm:pi-subagents

The README identifies this as the only required step. Background children use the host SDK: npm Pi keeps its detached Node runner; the official Pi 0.86.1 Linux x64 standalone release loads the same runner through Pi's embedded SDK, without a separate SDK install.

How do you use this agent?

After installation, ask Pi to perform a task in plain language, for example:

Use reviewer to review this diff.

For parallel reviews, ask:

Run parallel reviewers: one for correctness, one for tests, and one for unnecessary complexity.

To inspect async work, ask “Show me the current async runs.” or open the inspector:

/subagents-fleet

To check setup, run:

/subagents-doctor

What are this agent's strengths and limitations?

Pros
  • Supports foreground sessions that stream in the conversation and background sessions that continue in a detached runner.
  • Ships with distinct agents for reconnaissance, research, implementation, review, and second opinions.
  • FleetView, /subagents-fleet, and machine-readable run artifacts expose status, transcripts, and controls.
  • Includes orchestration features such as /council, saved workflows, and a per-run-tree child spawn limit.
Limitations
  • It is a Pi extension and depends on Pi's session and tool system; it is not a standalone subagent product.
  • The README does not state model-call pricing or a free allowance, so costs depend on the models used.
  • Web research by researcher and evidence-auditor requires pi-web-access in the child environment.
  • The documented standalone background path is bounded to the official Pi 0.86.1 Linux x64 release and has a validation gate.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Pi Subagents This agent 77 · Good Agent plugin / skill ★ 4k 1d ago TypeScript —
oh-my-agent 48 · Major gaps CLIFree + model costs ★ 1.4k today TypeScript Codex · Claude Code
OPC — One Person Company 48 · Major gaps Agent plugin / skillFree + model costs ★ 193 1mo ago JavaScript Claude Code
Ring — Skills Library for AI Agents 72 · Some gaps Agent plugin / skillFree + model costs ★ 218 today HTML Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Good
77/ 100 5-point scale 3.9 / 5
Trust 19/29
Reliability 9/14
Adaptability 16/18
Convention 15/18
Effectiveness 12/13
Verifiability 6/8
Why each dimension lost points
Trust19 / 29 · 3.3/5

The docs say children start only when Pi invokes them, with no automatic background reviewer; tool activation requires authorization, and configuration can limit features and spawn counts or disable Orca, supporting a reasonably clear least-privilege and confirmation story (2). Session, run-artifact, mirror-file, and child-output flows are described in detail, including a mirror cap and private file modes (3); sensitive content is still written to sessions and temporary mirrors, with cleanup described as delayed rather than immediate (2). Dependencies are pinned and the release workflow uses npm provenance, but the supplied material shows no vulnerability audit or dependency-update policy (1). Orca is an optional best-effort observer whose failure does not affect the authoritative run; release publication requires GitHub environment approval and some stop/recovery controls exist, though recovery coverage is incomplete (2). Repository and author fields are present, but the publisher is unverified by the curated registry, so attribution is not fully established (2).

Reliability9 / 14 · 3.2/5

README, configuration docs, and package metadata are broadly consistent and describe multiple execution modes and boundaries; the supplied material does not cover all code, so full consistency cannot be established (2). Pi requirements, dependencies, and platform limits are described, and CI spans several platforms, though some environments and external programs remain conditional dependencies (2). Invalid configuration, child failures, and unavailable tools have specific error-handling descriptions, but the supplied files do not provide a complete error reference (2).

Adaptability16 / 18 · 4.4/5

The project covers review, scouting, implementation, research, parallel workflows, and background jobs with natural-language examples (3). Boundaries are explicit, including authorization, feature switches, spawn budgets, platform limits, and the observer's non-authoritative role (3). Activation timing, when tools appear, and invocation patterns are clearly documented (3). npm Pi and the official Linux x64 standalone release are covered, with Orca system limits stated; use still depends on Pi version, model tool capabilities, and external integrations (2).

Convention15 / 18 · 4.2/5

README, configuration, agents, models, workflows, observability, and other docs have clear separation and an accessible install path (3). Installation is one command with a minimum Pi version, but the supplied material does not establish a detailed stepwise troubleshooting path (2). Package and export names are identifiable, but naming compatibility policy is not shown (2). Examples, workflow guidance, doctor, and topic-based help are provided (3). Platform, model tool activation, Orca availability, and configuration limitations are stated (3). The MIT license text is complete (3). A package version and release workflow are present; CHANGELOG contents were not supplied for assessing the quality of change history (2). Author metadata and release approval are visible, but maintenance commitments, support response, and responsibility boundaries are unclear (2).

Effectiveness12 / 13 · 4.6/5

Results are available in chat and through FleetView, inspectors, logs, and machine-readable artifacts; truncation, ordering, and failure results are documented (3). Focused agents, parallel review, background execution, and reusable workflows add clear delegation and oversight capabilities to Pi (3). Installation is simple and features can be trimmed, but multi-agent operation, run records, and configuration add maintenance cost (2).

Verifiability6 / 8 · 3.8/5

Docs give concrete descriptions of configuration keys, parameters, platform boundaries, and behavior that make claims traceable (3). README, package metadata, license, and CI workflows provide complementary evidence, but implementation files and test results are not fully supplied (2). Docs distinguish user configuration assertions, verification behavior, and best-effort integrations; static evidence cannot independently establish runtime behavior (2).

Risks and how to mitigate them
  • This assessment uses only the supplied static files; code was not executed and test or runtime claims were not independently verified.
  • Delegated tasks and child outputs may access project files or be written to sessions, run artifacts, and temporary mirrors; review agent permissions and retention settings before use.
  • Dependency security review, maintenance commitments, and CHANGELOG details cannot be confirmed from the supplied material.
Evidence confidence: Low Reviewed Oct 21, 2026 Reviewed revision 80f8f79d51ee
See the full review method →

FAQ

Does installation start an automatic background code reviewer?
No. The README says installation does not start an automatic reviewer; the prompt or project instructions must authorize that delegation.
Do I need to define agents before trying the extension?
No. Built-ins such as scout, reviewer, worker, and oracle are available to use with natural-language requests.
How can I inspect or stop a background run?
Open /subagents-fleet to browse children, read transcripts, steer a running child, or stop a run.
Can the research agents browse the web out of the box?
The researcher and evidence-auditor require pi-web-access in the child for web research; the README lists it as a prerequisite.
Do all Pi builds use the same background execution path?
The README says npm Pi uses the host's detached Node runner. The standalone path is documented for the official Pi 0.86.1 Linux x64 release, which loads that runner through its embedded SDK.
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents