Codex
Use OpenAI's Codex CLI with Syntax.
Codex is OpenAI's official coding CLI. Syntax connects to it via the OpenAI-compatible Bridge, so Codex works unmodified.
Connect
syntax connect codexThe connect flow:
- Locates Codex's configuration in the standard location for your OS.
- Rewrites the model endpoint to point at the local Bridge.
- Backs up the original configuration so
syntax disconnectcan restore it.
If Codex isn't installed, the command prints Codex's official install instructions and exits without making changes.
What works through Syntax
- OpenAI-style streaming, tool calls, and reasoning all pass through.
- Any model Syntax exposes — OpenAI-hosted, other hosted providers, local open-weight models, or managed remote inference via dUX — is reachable from Codex through the same endpoint.
- If you sign in with an OpenAI Plus/Pro subscription, Syntax can route Codex requests to OpenAI's models alongside your OSS stack so simple, everyday, and complex tasks each land on the right backend.
Disconnect
syntax disconnect codexRestores Codex's original endpoint configuration.
Where to start
- Connecting a harness
- Differentiators → First-class inter-compatibility — how the Bridge exposes its OpenAI-compatible API surface.