Skip to main content
Glama
guyiicn

pi-subagent

by guyiicn

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PI_BINNoOverride the pi executable (used by tests)
PI_SUBAGENT_REGISTRYNoRegistry 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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.8/5.0

Scored across 7 tools

Disambiguation5/5

Each tool targets a distinct operation: delegation, kill, planning, session management, and status. No overlap in purpose.

Naming Consistency4/5

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.

Tool Count5/5

7 tools is appropriate for a subagent manager covering delegation, planning, session lifecycle, and status retrieval.

Completeness4/5

Core operations are covered, though missing explicit session creation or update tools. Forking may serve creation, and kill provides termination.

Maintenance

ActivityMaintained
ResponsivenessNo issues