Reference
RPC & ACP
Protocol modes adapt the same session lifecycle and capability registry used by the interactive terminal.
NDJSON RPC
Terminal
$ jeden rpcRPC serves newline-delimited JSON requests and events over standard input and output. Keep diagnostic logging off the protocol stream.
Agent Client Protocol
Terminal
$ jeden acpACP exposes the runtime through the Agent Client Protocol on standard I/O for compatible editors and hosts.
Shared invariants
- Requests use the same workspace and policy gates as local sessions.
- Capabilities come from the active registry generation.
- Tool calls, approvals, usage, artifacts, and terminal outcomes are durable session events.
- Cancellation and deadlines are operation-scoped.