Marks / Product integration / Embedding interfaces
opencode · Embedding interfaces
In-process SDK plus HTTP API with typed events, prompt/interrupt/fork/inbox, permission replies and an ACP agent, all in release
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
Pinned evidence
Cited by the mark
- I93
OpenCode.create()in-process client (sessions, events, plugin, close) - I94
session HTTP API (prompt, interrupt, fork, revert, wait, background, inbox…)
anomalyco/opencode packages/protocol/src/groups/session.ts L145-L900
- I98
ACP agent implementation (
opencode acp)
Also cited by the review finding
- I95
/api/eventSSE "volatile by contract"anomalyco/opencode packages/protocol/src/groups/event.ts L69-L78
- I96
/api/experimental/session/:id/logdurable-log SSEanomalyco/opencode packages/protocol/src/groups/session.ts L729-L750
- I97
Basic auth + HMAC session tokens
Two independent graders
- Grader A
- 4 / 4
- Grader B
- 4 / 4
- Final
- 4 / 4