Skip to main content

Module claude

Module claude 

Source
Expand description

Claude Code agent adapter.

Launches claude -p headless with a bidirectional stream-json transport: the initial user turn travels on the child’s stdin, and its events come back on stdout one JSON object per line. Claude runs headless — no trust dialogs, no user prompts.

Structs§

ClaudeAgent
ClaudeDriver
The modular driver for Claude (37-02): owns the stream-json launch and legacy prompt rendering. ClaudeAgent below remains the legacy AgentAdapter face (the D-11 removal point) and delegates to this driver.