Marks / Product integration / Embedding interfaces
openclaw · Embedding interfaces
Typed Gateway WS RPC with approval methods plus an ACP stdio bridge shipped in-tree as a second transport (R10)
Level
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)
met
What the source review found
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
Pinned evidence
Cited by the mark
- I78
method descriptors (
tools.invoke,sessions.create,agent,agent.wait,chat.send) with scopesopenclaw/openclaw src/gateway/methods/core-descriptors.ts L116-L345
- I82
openclaw acpndjson stdio bridge to Gateway; MCP server at src/mcp/channel-server.ts:38-258 - I84
root
z.strictObject(...)with cross-checks
Also cited by the review finding
- I77
PROTOCOL_VERSION = 4openclaw/openclaw packages/gateway-protocol/src/version.ts L2-L6
- I79
SDK
0.0.0-private,private: true - I80
OpenClawclient over Gateway transport; reconnect replay (:113-115) - I81
OpenAI-compatible endpoints disabled by default
openclaw/openclaw src/gateway/server-http-request.ts L263-L268
- I83
Gateway bind mode defaults to
loopback
Two independent graders
- Grader A
- 4 / 4
- Grader B
- 3 / 4
- Final
- 4 / 4
Adjudicated · disagreement; R10
Typed Gateway WS RPC with approval methods plus an ACP stdio bridge shipped in-tree as a second transport (R10)