Marks / Product integration / Embedding interfaces
letta-code · Embedding interfaces
Headless stream-json plus a WebSocket app server with typed protocol, abort, can_use_tool control requests and an external-tool-call handler
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: headless -p with stream-json in/out; local WebSocket app server (default ws://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
Pinned evidence
Cited by the mark
- I47
headless output/input format handling (text/json/stream-json)
- I48
default listen
ws://127.0.0.1:0; non-loopback without auth refused at :151-155 - I50
typed app-server client (package export)
Also cited by the review finding
- I49
auth modes capability-token / signed-bearer-token
letta-ai/letta-code src/websocket/app-server-auth.ts L11-L83
- I51
--openai-apiroutes/v1/chat/completions,/v1/responsesletta-ai/letta-code src/websocket/app-server-openai.ts L44-L45
- I52
loads external
@letta-ai/letta-agent-sdk0.8.38; API outside tree
Two independent graders
- Grader A
- 4 / 4
- Grader B
- 4 / 4
- Final
- 4 / 4