Skip to main content

Module driver

Module driver 

Source
Expand description

Driver backends — concrete implementations that drive a CLI agent.

Each driver is gated behind a feature flag. The cross-driver API is the Driver trait; all drivers emit the same crate::core::AgentEvent stream regardless of wire format.

Modules§

pty
PTY driver — the universal substrate for any CLI agent.
stream_json
Stream-JSON driver — fast-path for Claude Code SDK and openclaude.

Enums§

DriverError
Driver-level errors.

Traits§

Driver
A unified driver interface. Concrete drivers translate this to their underlying wire format (PTY, stream-json, gRPC, ACP-stdio, A2A SSE).