# openclaw · 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.

- Runtime: [openclaw](https://ai-agents-review.com/runtime/openclaw.md)
- Column: [Embedding interfaces](https://ai-agents-review.com/column/embedding-interfaces.md) (Product integration)
- Mark: 4 s
- Default deployment: 4
- Best supported configuration: 4
- Page: https://ai-agents-review.com/cell/openclaw/embedding-interfaces

## Rationale

Typed Gateway WS RPC with approval methods plus an ACP stdio bridge shipped in-tree as a second transport (R10)

## Rubric criteria for this column

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

## 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. [I77][I78][I79][I80][I81][I82][I83]

## Evidence cited by the mark

- [I78] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/gateway/methods/core-descriptors.ts#L116-L345 — method descriptors (`tools.invoke`, `sessions.create`, `agent`, `agent.wait`, `chat.send`) with scopes — [S]
- [I82] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/acp/server.ts#L100-L276 — `openclaw acp` ndjson stdio bridge to Gateway; MCP server at src/mcp/channel-server.ts:38-258 — [S]
- [I84] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/config/zod-schema.ts#L7 — root `z.strictObject(...)` with cross-checks — [S]

## Evidence also cited by the review finding

- [I77] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/packages/gateway-protocol/src/version.ts#L2-L6 — `PROTOCOL_VERSION = 4` — [S]
- [I79] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/packages/sdk/package.json#L3-L4 — SDK `0.0.0-private`, `private: true` — [S]
- [I80] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/packages/sdk/src/client.ts#L81-L140 — `OpenClaw` client over Gateway transport; reconnect replay (:113-115) — [S]
- [I81] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/gateway/server-http-request.ts#L263-L268 — OpenAI-compatible endpoints disabled by default — [S]
- [I83] openclaw — https://github.com/openclaw/openclaw/blob/ac0771450bce15e44c3d4e3dda76ccf38f8b6c61/src/gateway/net.ts#L242 — Gateway bind mode defaults to `loopback` — [S]

## Grading record

- Grader A (default / best): 4 / 4
- Grader B (default / best): 3 / 4
- Adjudication: disagreement; R10. Typed Gateway WS RPC with approval methods plus an ACP stdio bridge shipped in-tree as a second transport (R10)
