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:
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
Provider-Specific (Not Promoted)
Provider Reference Pages
Claude
18 properties β
agent-client.claude.*Codex
6 properties β
agent-client.codex.*Gemini
6 properties β
agent-client.gemini.*