# pi

> 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.

Page: https://ai-agents-review.com/runtime/pi

## Programmable capabilities

| Column | Mark | Rationale |
|---|---|---|
| [Capability interface](https://ai-agents-review.com/cell/pi/capability-interface.md) | 3→4 [config: activate built-in tool_search] s | Extensions, built-in MCP client, host-registered SDK tools (R8), per-session set; tool_search registered but inactive by default |
| [Reusable computation](https://ai-agents-review.com/cell/pi/reusable-computation.md) | 2 s | Skills with scripts persist; codemode scripts not saved; pi-durable journal replay is not unit re-run (level 3 unmet) |
| [Capability transfer](https://ai-agents-review.com/cell/pi/capability-transfer.md) | 2 d | Pi package install (npm/git/local) documented [D]; fork/clone exist; no dependency checking (level 3 unmet) |

## Evidence and memory

| Column | Mark | Rationale |
|---|---|---|
| [Durable evidence](https://ai-agents-review.com/cell/pi/durable-evidence.md) | 2 s | Append-only JSONL trees with tool calls; no retention policy, manual delete only (level 3 unmet) |
| [Context recovery](https://ai-agents-review.com/cell/pi/context-recovery.md) | 2 s | Originals in JSONL; recovery via file lists and temp-file paths only; no transcript search tool (level 3 unmet) |
| [Memory maintenance](https://ai-agents-review.com/cell/pi/memory-maintenance.md) | 0 s | No learned-memory facility and no maintenance instruction; AGENTS.md and skills are guidance files |

## Specialist collaboration

| Column | Mark | Rationale |
|---|---|---|
| [Specialist definition](https://ai-agents-review.com/cell/pi/specialist-definition.md) | 1 s | Subagents exist only as shipped example extension; example code does not count toward B |
| [Continuation](https://ai-agents-review.com/cell/pi/continuation.md) | 0→3 [alt: pi-durable checkpointed child tasks] s | No subagents in core CLI (example only); pi-durable checkpointed children with restart limit 5 |
| [Coordination](https://ai-agents-review.com/cell/pi/coordination.md) | 0→1 [alt: pi-durable] s | No subagents in core CLI; pi-durable children and signals exist; unresolved: pi-durable depth/concurrency caps, cancellation |

## Execution controls

| Column | Mark | Rationale |
|---|---|---|
| [Confinement](https://ai-agents-review.com/cell/pi/confinement.md) | 0→2 [alt: Docker / OpenShell / Gondolin (documented)] d | No approvals or OS boundary in the CLI; documented alternative deployments count at B but are capped at 2 (rule 1) |
| [Credential handling](https://ai-agents-review.com/cell/pi/credential-handling.md) | 1 s | Full env to bash; only inheritEnv:false for MCP and !command keychain lookups; L2 unmet: no denylist |
| [Budget enforcement](https://ai-agents-review.com/cell/pi/budget-enforcement.md) | 1→2 [alt: pi-durable maxTurns] s | CLI reports usage only with a 3-retry cap; the pi-durable stack enforces a maxTurns work limit when set (R3); no cost admission |

## Product integration

| Column | Mark | Rationale |
|---|---|---|
| [Embedding interfaces](https://ai-agents-review.com/cell/pi/embedding-interfaces.md) | 4 s | In-process `createAgentSession` (with customTools) plus RPC JSONL with prompt/steer/follow_up/abort/fork; typed events |
| [Declarative configuration](https://ai-agents-review.com/cell/pi/declarative-configuration.md) | 1 s | Settings files explicitly not validated at runtime despite published schemas; only `models.json` is type-checked |
| [Durable execution](https://ai-agents-review.com/cell/pi/durable-execution.md) | 2→3 [alt: pi-durable] s | CLI rejects concurrent prompts; orphaned calls get only synthetic transform-time errors, not recorded. pi-durable resumes or settles failed; unresolved: disconnect |

## Operations and verification

| Column | Mark | Rationale |
|---|---|---|
| [Service dependencies](https://ai-agents-review.com/cell/pi/service-dependencies.md) | E s | Single Node process, no daemon or DB; MCP and fd/rg run as children |
| [Execution records](https://ai-agents-review.com/cell/pi/execution-records.md) | 2 s | JSONL includes tools, failures and retries, but the telemetry contract ships no exporter, so level-3 optional telemetry is unmet |
| [Result checks](https://ai-agents-review.com/cell/pi/result-checks.md) | 2 s | Extension hooks can block or force another turn, with no stated cap; arguments are validated structurally |

## Compare

- [codex vs pi](https://ai-agents-review.com/compare/codex-vs-pi.md)
- [goose vs pi](https://ai-agents-review.com/compare/goose-vs-pi.md)
- [hermes-agent vs pi](https://ai-agents-review.com/compare/hermes-agent-vs-pi.md)
- [letta-code vs pi](https://ai-agents-review.com/compare/letta-code-vs-pi.md)
- [nullclaw vs pi](https://ai-agents-review.com/compare/nullclaw-vs-pi.md)
- [openclaw vs pi](https://ai-agents-review.com/compare/openclaw-vs-pi.md)
- [opencode vs pi](https://ai-agents-review.com/compare/opencode-vs-pi.md)
- [pi vs software-agent-sdk](https://ai-agents-review.com/compare/pi-vs-software-agent-sdk.md)
- [pi vs spore](https://ai-agents-review.com/compare/pi-vs-spore.md)
