pi-subagent
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PI_BIN | No | Override the pi executable (used by tests) | |
| PI_SUBAGENT_REGISTRY | No | Registry path (default ~/.pi-subagent/registry.json) | ~/.pi-subagent/registry.json |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pi_delegateC | 委派任务给 Pi 子代理(默认 async) |
| pi_statusC | 取 run 结果(long-poll) |
| pi_planC | 调度决策:该不该委派、sync/async、开几个 session |
| pi_session_listA | 列 session(不传 cwd 取全量,供 pi_plan 用) |
| pi_session_snapshotC | 取 session 详情 |
| pi_session_forkD | 派生 session |
| pi_killC | 中止 run |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool targets a distinct operation: delegation, kill, planning, session management, and status. No overlap in purpose.
All tools share the 'pi_' prefix, but the structure varies: some are verbs (pi_delegate, pi_kill), others are noun_verb (pi_session_fork). Overall readable and consistent prefix helps.
7 tools is appropriate for a subagent manager covering delegation, planning, session lifecycle, and status retrieval.
Core operations are covered, though missing explicit session creation or update tools. Forking may serve creation, and kill provides termination.