# Embedding interfaces

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

Group: Product integration. Page: https://ai-agents-review.com/column/embedding-interfaces

## Rubric criteria

- 0: Interactive UI only
- 1: Non-interactive CLI with text or JSON output only (scraping)
- 2: One supported programmatic interface (library **or** protocol) with an event stream, marked experimental or covering only part of the session lifecycle
- 3: Supported programmatic interface with typed events **and** session lifecycle control (start, follow-up/steer, interrupt, resume)
- 4: Level 3, plus host callbacks for approvals or host-executed tools **and** two or more transports or bindings (e.g. in-process plus network protocol)

## Marks, in report order

| Runtime | Mark | Rationale |
|---|---|---|
| [codex](https://ai-agents-review.com/cell/codex/embedding-interfaces.md) | 2 s | Full lifecycle, approvals and several transports exist, but app-server is labelled [experimental] (codex-rs/cli/src/main.rs:177), which the L2 anchor names |
| [goose](https://ai-agents-review.com/cell/goose/embedding-interfaces.md) | 4 s | ACP over stdio and HTTP+WS, with typed session updates, new/prompt/cancel/load, and `request_permission` approvals to the client |
| [hermes-agent](https://ai-agents-review.com/cell/hermes-agent/embedding-interfaces.md) | 4 s | In-process `AIAgent` with callbacks plus an ACP stdio server (new/load/resume/prompt/cancel) with an approval callback; two default bindings |
| [letta-code](https://ai-agents-review.com/cell/letta-code/embedding-interfaces.md) | 4 s | Headless stream-json plus a WebSocket app server with typed protocol, abort, `can_use_tool` control requests and an external-tool-call handler |
| [nullclaw](https://ai-agents-review.com/cell/nullclaw/embedding-interfaces.md) | 2 s | A2A JSON-RPC with SSE covers part of the lifecycle; tasks are in memory only (no resume); ACP cancel is a no-op |
| [openclaw](https://ai-agents-review.com/cell/openclaw/embedding-interfaces.md) | 4 s | Typed Gateway WS RPC with approval methods plus an ACP stdio bridge shipped in-tree as a second transport (R10) |
| [opencode](https://ai-agents-review.com/cell/opencode/embedding-interfaces.md) | 4 s | In-process SDK plus HTTP API with typed events, prompt/interrupt/fork/inbox, permission replies and an ACP agent, all in release |
| [pi](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 |
| [software-agent-sdk](https://ai-agents-review.com/cell/software-agent-sdk/embedding-interfaces.md) | 4 s | Python SDK, in-process Local plus Remote over HTTP+WS; typed events, run/pause/send, confirmation policy, client tools |
| [spore](https://ai-agents-review.com/cell/spore/embedding-interfaces.md) | 4 s | Node library plus HTTP over unix or TCP with NDJSON events and messages/stop/approvals routes |
