Documentation Index
Fetch the complete documentation index at: https://springaicommunity.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
AgentOptions
AgentOptions is the portable interface that all provider-specific options extend. It defines the common surface that works identically across Claude, Codex, and Gemini.
Configuration Precedence
Agent behavior is determined by a layered precedence system. Higher layers override lower ones:Explicit always wins. If you set
agent-client.codex.skip-git-check=true alongside agent-client.mode=strict, the explicit property wins. See Defaults Philosophy for the full rationale.Example: Precedence in Action
skipGitCheck is true because the explicit property takes precedence.
Mode System
AgentClientMode is a portable enum controlling default permissiveness:
| Mode | Behavior | When to Use |
|---|---|---|
LOOSE (default) | Minimize preconditions — works in any directory | Evaluation, development, tutorials |
STRICT | Conservative — requires explicit opt-in | Production, CI, shared environments |
Promotion Rubric
Provider-specific options graduate to the portableAgentOptions interface when all three conditions hold:
- Two or more providers have a semantic equivalent
- Absence causes failures on easy-tier benchmarks (evidence, not speculation)
- The option can be expressed without leaking provider-specific concepts
Current Portable Options
| Option | Claude | Codex | Gemini | Status |
|---|---|---|---|---|
model | claude-sonnet-4-5 | gpt-5-codex | gemini-2.5-flash | Portable |
timeout | 5m | 5m | 5m | Portable |
Provider-Specific (Not Promoted)
| Option | Provider | Why Not Portable |
|---|---|---|
skipGitCheck | Codex | Only Codex has a git directory gate |
maxThinkingTokens | Claude | Claude-specific extended thinking |
yolo | Claude, Gemini | Codex uses fullAuto — different semantics |
temperature | Gemini | Not exposed by Claude/Codex CLIs |
Provider Reference Pages
Claude
18 properties —
agent-client.claude.*Codex
6 properties —
agent-client.codex.*Gemini
6 properties —
agent-client.gemini.*