# pi · Capability interface

> 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: [Capability interface](https://ai-agents-review.com/column/capability-interface.md) (Programmable capabilities)
- Mark: 3→4 [config: activate built-in tool_search] s
- Default deployment: 3
- Best supported configuration: 4 (config: activate built-in tool_search)
- Page: https://ai-agents-review.com/cell/pi/capability-interface

## Rationale

Extensions, built-in MCP client, host-registered SDK tools (R8), per-session set; tool_search registered but inactive by default

## Rubric criteria for this column

- 0: Fixed built-in tools only. No way to add tools
- 1: Tools can be added only by modifying or recompiling the runtime, or via example code
- 2: One supported extension mechanism (MCP client **or** plugin API **or** host-supplied tools)
- 3: Two or more supported mechanisms (e.g. MCP plus plugins/host tools), with per-agent or per-session filtering of the visible tool set
- 4: Level 3, plus host-supplied tools whose calls are executed by the embedding host through a supported interface, **and** large catalogs can be deferred or searched (e.g. `tool_search`, code mode)

## Review finding

Built in. The default tools are read, bash, edit and write. TypeScript extensions loaded in-process via jiti register tools, commands and flags. Built-in replaceable extensions provide an MCP client (stdio, streamable HTTP), `tool_search` and codemode. Tools use TypeBox schemas in one per-session registry. [P91][P92][P93][P94]

## Evidence cited by the mark

- [P92] pi — https://github.com/earendil-works/pi/blob/2126569de40d5595dd3f41f7af126001f04c1de0/packages/coding-agent/src/core/extensions/types.ts#L1646-L1727 — Extension API: registerTool / registerCommand / registerFlag / event hooks — [S]
- [P93] pi — https://github.com/earendil-works/pi/blob/2126569de40d5595dd3f41f7af126001f04c1de0/packages/coding-agent/src/extensions/index.ts#L7-L14 — Built-in extensions llama.cpp, codemode, tool-search, mcp (last three replaceable) — [S]
- [P94] pi — https://github.com/earendil-works/pi/blob/2126569de40d5595dd3f41f7af126001f04c1de0/packages/coding-agent/src/core/extensions/loader.ts#L604-L609 — Extensions loaded in-process via jiti — [S]

## Evidence also cited by the review finding

- [P91] pi — https://github.com/earendil-works/pi/blob/2126569de40d5595dd3f41f7af126001f04c1de0/packages/coding-agent/src/core/settings-manager.ts#L87 — Default tools read, bash, edit, write — [S]

## Grading record

- Grader A (default / best): 3 / 4
- Grader B (default / best): 3 / 3
- Adjudication: disagreement; R8. Extensions, built-in MCP client, host-registered SDK tools (R8), per-session set; tool_search registered but inactive by default
