Expand description
CliClient — LlmClient backed by CLI subprocess (claude/gemini/codex).
Calls claude -p "prompt" and parses the text response using
flexible_parser to extract structured tool calls. Uses the CLI’s
own auth (subscription credits), no API key needed.
This enables using Claude Pro/Max subscription as a full agent backend
with tool calls, by putting tool schemas in the prompt and parsing
the text response back into ToolCall structs.
Structs§
- CliClient
- LLM client that delegates to a CLI subprocess.
Enums§
- CliBackend
- Which CLI binary to invoke.