Embedding interfaces
Criteria per level
- 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)
Every runtime, in report order
- 2 codex 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
Review finding
Built in:
codex app-serverJSON-RPC (about 200 methods plus typed notifications and server-to-client approval requests) over stdio by default [opt: unix socket, WebSocket]. Non-loopback WebSocket refused without auth. Python SDK wraps app-server; TypeScript SDK wrapscodex exec --experimental-json. Some fields are experimental. Not an MCP server. I1I2I3I4I5I6 - 4 goose ACP over stdio and HTTP+WS, with typed session updates, new/prompt/cancel/load, and
request_permissionapprovals to the clientReview finding
- 4 hermes-agent In-process
AIAgentwith callbacks plus an ACP stdio server (new/load/resume/prompt/cancel) with an approval callback; two default bindings - 4 letta-code Headless stream-json plus a WebSocket app server with typed protocol, abort,
can_use_toolcontrol requests and an external-tool-call handlerReview finding
Built in: headless
-pwith stream-json in/out; local WebSocket app server (defaultws://127.0.0.1:0, non-loopback refused without token auth) with a typed client export. [opt:--openai-api] OpenAI-compatible routes. Letta Agent SDK and Letta REST API are external [D]. No ACP or MCP server. I47I48I49I50I51I52 - 2 nullclaw A2A JSON-RPC with SSE covers part of the lifecycle; tasks are in memory only (no resume); ACP cancel is a no-op
Review finding
Built in: HTTP gateway (default 127.0.0.1:3000, pairing bearer) with async
/webhookand A2A v0.3.0 JSON-RPC (SSE streaming); ACP stdio shim spawning one CLI process per prompt, unstreamed,session/cancelno-op; Zig module without C ABI. Gateway serves one connection at a time (Note I-5). I61I62I63I64I65I66 - 4 openclaw Typed Gateway WS RPC with approval methods plus an ACP stdio bridge shipped in-tree as a second transport (R10)
Review finding
Built in: Gateway WebSocket RPC (TypeBox schemas, protocol v4, loopback bind by default, token/password auth); in-repo TS SDK with event replay on reconnect, unpublished (
private). [opt] OpenAI-compatible HTTP (disabled by default); ACP stdio bridge;openclaw mcp serve. No in-process run API. I77I78I79I80I81I82I83 - 4 opencode In-process SDK plus HTTP API with typed events, prompt/interrupt/fork/inbox, permission replies and an ACP agent, all in release
- 4 pi In-process
createAgentSession(with customTools) plus RPC JSONL with prompt/steer/follow_up/abort/fork; typed eventsReview finding
Built in: in-process TypeScript SDK (
createAgentSession);--mode rpcJSONL over stdin/stdout (about 40 commands) plusjsonevent mode and print mode; lower-level agent-core and provider libraries. No HTTP, WS, ACP or MCP server in the CLI. [alt: p3 app — HTTP on loopback, unix sockets]. I106I107I108I109 - 4 software-agent-sdk Python SDK, in-process Local plus Remote over HTTP+WS; typed events, run/pause/send, confirmation policy, client tools
Review finding
Built in: Python SDK with in-process
LocalConversationorRemoteConversationover HTTP+WS; agent-server with REST, event WebSocket with resend, OpenAI-compatible/v1gateway and webhooks; TS client. Server binds loopback unless a session API key is set. ACP and MCP: client side only. I118I119I120I121I122I123 - 4 spore Node library plus HTTP over unix or TCP with NDJSON events and messages/stop/approvals routes
Review finding