Marks / Product integration / Embedding interfaces
pi · Embedding interfaces
In-process createAgentSession (with customTools) plus RPC JSONL with prompt/steer/follow_up/abort/fork; typed events
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: in-process TypeScript SDK (createAgentSession); --mode rpc JSONL over stdin/stdout (about 40 commands) plus json event 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
Pinned evidence
Cited by the mark
- I106
createAgentSessionin-process SDKearendil-works/pi packages/coding-agent/src/core/sdk.ts L48-L191
- I107
RPC command switch (prompt, steer, follow_up, abort, compact, fork, bash…)
earendil-works/pi packages/coding-agent/src/modes/rpc/rpc-mode.ts L409-L690
- I108
--mode text|json|rpcearendil-works/pi packages/coding-agent/src/cli/args.ts L140-L143
Also cited by the review finding
- I109
[alt: p3] loopback HTTP server
Two independent graders
- Grader A
- 4 / 4
- Grader B
- 4 / 4
- Final
- 4 / 4