codex-grok-bridge
A local bridge for using Grok 4.7 as a model while retaining Codex tools and work history.
What does it do?
Select Grok 4.7 in a Codex window running the bridge, and Codex requests are sent through the local bridge to Grok. Grok reasons, while Codex executes shell, patch, and MCP tool calls and passes the results to the next request. It uses the installed Grok CLI login session and does not require an xAI API key. The npm package supports installation on macOS, Linux, and Windows and requires Node.js 22 or later.
Key features
- Adds Grok 4.7 to the Codex model list.
- Retains Codex tool calls, permissions, conversation history, and MCP use.
- Uses the installed Grok CLI login session without requiring an xAI API key.
- Provides a desktop launch method that opens a separate Codex window.