Harnesses
Codex
Run agents with OpenAI Codex.
| Type | codex |
|---|---|
| Website | Codex |
Version
Set version explicitly to pin a release, for example 0.162.1.
The release must be available on GitHub and work with the harness adapter.
Model and Reasoning Effort
Set both model and reasoningEffort to non-empty strings. Stitch passes them to
Codex without checking a model catalog or supported combinations. Codex reports
unsupported values so you can correct the configuration.
Use reasoningEffort: default to let Codex choose the effort. Other values are
passed as model_reasoning_effort. Azure OpenAI deployment names use
azure_openai_api_key authentication.
Authentication
Use exactly one auth method. Store the credential as a
Stitch secret and reference it with secretName.
| Auth method | Credential | Required harness environment |
|---|---|---|
openai_api_key | OpenAI API key | None |
aws_bedrock_api_key | Amazon Bedrock API key from the AWS console | AWS_REGION or AWS_DEFAULT_REGION |
azure_openai_api_key | API key from your Azure OpenAI resource | AZURE_OPENAI_BASE_URL |