# codex · 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: [codex](https://ai-agents-review.com/runtime/codex.md)
- Column: [Capability interface](https://ai-agents-review.com/column/capability-interface.md) (Programmable capabilities)
- Mark: 4 s
- Default deployment: 4
- Best supported configuration: 4
- Page: https://ai-agents-review.com/cell/codex/capability-interface

## Rationale

Two or more mechanisms with policy filtering; host-executed dynamicTools (experimental API counts per R8); tool_search deferral

## 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. A tool registry is rebuilt every turn from core tools, MCP (stdio or streamable HTTP), extension tools, hosted tools and host-executed "dynamic tools" (experimental). `tool_search` can defer large catalogs. Plugins bundle skills, MCP servers, apps and hooks; there is no in-process code ABI. [P1][P2][P3][P4]

## Evidence cited by the mark

- [P1] codex — https://github.com/openai/codex/blob/065e18b04021008e2e7d504db8dc50275f589f73/codex-rs/core/src/tools/spec_plan.rs#L121-L183 — `build_tool_router` assembles per-turn registry: core, MCP, extension executors, dynamic tools, hosted specs; called per turn from session/turn.rs — [S]
- [P3] codex — https://github.com/openai/codex/blob/065e18b04021008e2e7d504db8dc50275f589f73/codex-rs/app-server-protocol/src/protocol/v2/thread.rs#L154-L160 — `thread/start.dynamicTools` (host-executed tools) marked `#[experimental]` — [S]
- [P4] codex — https://github.com/openai/codex/blob/065e18b04021008e2e7d504db8dc50275f589f73/codex-rs/core-plugins/src/manifest.rs#L50-L68 — Plugin manifest bundles skills, mcp_servers, apps, hooks (no in-process code ABI) — [S]

## Evidence also cited by the review finding

- [P2] codex — https://github.com/openai/codex/blob/065e18b04021008e2e7d504db8dc50275f589f73/codex-rs/config/src/mcp_types.rs#L232-L236 — `McpServerConfig` transports Stdio / StreamableHttp — [S]

## Grading record

- Grader A (default / best): 4 / 4
- Grader B (default / best): 3 / 4
- Adjudication: disagreement; R8. Two or more mechanisms with policy filtering; host-executed dynamicTools (experimental API counts per R8); tool_search deferral
