# pi · Specialist definition

> Levels are per column and must not be summed, averaged or ranked. A level states which written criterion the runtime's source meets. It is not a measure of quality or task success. Higher is not always preferable.

Source: "Agent runtime comparison: ten open-source agent runtimes, source review", study of 2026-11-28. Mark notation: `3` is the level in the default deployment; `1→4 [opt: …]` is level 1 by default and level 4 in the named configuration; `s` source-verified, `d` documented or test only. Service dependencies are classes (E embedded, O on demand, R resident service, X external server required), not levels.

- Runtime: [pi](https://ai-agents-review.com/runtime/pi.md)
- Column: [Specialist definition](https://ai-agents-review.com/column/specialist-definition.md) (Specialist collaboration)
- Mark: 1 s
- Default deployment: 1
- Best supported configuration: 1
- Page: https://ai-agents-review.com/cell/pi/specialist-definition

## Rationale

Subagents exist only as shipped example extension; example code does not count toward B

## Rubric criteria for this column

- 0: No subagents or specialists
- 1: Subagents exist only as example code, or as ad hoc spawns with task text and no definition
- 2: Built-in subagents configurable by prompt or model, but tool and permission scope cannot be set per specialist
- 3: Declarative definitions (file or config) set prompt, model **and** tool scope per specialist
- 4: Level 3, plus an enforced rule that a child cannot exceed the parent's authority (permissions/sandbox intersect or inherit-only), with no default path that widens it

## Review finding

Not found in core (`packages/coding-agent/src`). [alt: shipped example extension] Markdown agents with tools/model frontmatter, each run as a separate `pi` process with `--tools`/`--model`. Same OS user, full parent environment; there is no approval layer to inherit [C109][C110][C111][C119]; Note C-8.

## Evidence cited by the mark

- [C109] pi — https://github.com/earendil-works/pi/blob/2126569de40d5595dd3f41f7af126001f04c1de0/packages/coding-agent/examples/extensions/subagent/agents.ts#L88-L98 — Example subagent frontmatter (tools, model) — [S]
- [C110] pi — https://github.com/earendil-works/pi/blob/2126569de40d5595dd3f41f7af126001f04c1de0/packages/coding-agent/examples/extensions/subagent/index.ts#L385-L397 — Child `pi --mode json -p --no-session` with `--model`/`--tools` — [S]

## Evidence also cited by the review finding

- [C111] pi — https://github.com/earendil-works/pi/blob/2126569de40d5595dd3f41f7af126001f04c1de0/packages/coding-agent/examples/extensions/subagent/index.ts#L496-L503 — `spawn` without `env` option: child inherits parent environment — [S]
- [C119] pi — https://github.com/earendil-works/pi/blob/2126569de40d5595dd3f41f7af126001f04c1de0/packages/coding-agent/examples/extensions/subagent/README.md#L60-L66 — Project-local agents need opt-in plus confirmation — [D]

## Grading record

- Grader A (default / best): 1 / 1
- Grader B (default / best): 1 / 1
