Skip to main content

Module runtime_kiro

Module runtime_kiro 

Source
Expand description

Kiro ACP-mode shim runtime: communicates with Kiro CLI via JSON-RPC 2.0 on stdin/stdout using the Agent Client Protocol (ACP).

Like the Claude SDK runtime (runtime_sdk.rs), this uses a persistent subprocess with bidirectional NDJSON. The protocol differs: ACP requires an initialization handshake (initialize + session/new) before prompts can be sent, and uses JSON-RPC 2.0 framing.

Emits the same Command/Event protocol to the orchestrator as all other runtimes, making it transparent to upstream consumers.

Functionsยง

run_kiro_acp
Run the Kiro ACP-mode shim. Does not return until the shim exits.