Overview
The Claude agent wraps the Claude Code CLI via ClaudeAgentApi. Configure it through Spring properties under agent-client.claude.*.
Configuration Properties
Prefix: agent-client.claude
Advanced Options
These options provide full parity with the Claude Code Python SDK:
Permission Modes
The permission-mode property overrides yolo when set. Available modes:
Control which tools Claude can use:
allowed-tools and disallowed-tools are mutually exclusive in practice. If both are set, allowed-tools takes precedence.
Budget Controls
Limit agent execution costs and turns:
Structured Output
Request structured JSON output using a JSON schema:
Authentication
The Claude CLI uses its own session token. No environment variables needed. Do not mix session auth and API key auth — this can cause authentication conflicts.