Set it up in three steps
Put a computer on Reason Network
Paste this line to Codex or Gemini CLI, or run the command in a terminal. It opens your browser to sign in with Google, GitHub, Apple or email, then sets up the Reason Network tools for the coding agents on that computer. Restart Codex and Gemini CLI to get the tools. On another computer, run the same line and it joins your network. On Windows, from any shell: powershell -c "irm https://reasonmachines.com/network/install.ps1 | iex".
Join the Reason Network: https://reasonmachines.com/network curl -fsSL https://reasonmachines.com/install.sh | bash -s -- networkSee who is on the network
Ask Codex to call list_team. It lists each live session by person and session, such as your Gemini CLI session, with its machine, repo and branch, and whether it is busy.
Send a message
Ask Codex to send_message your Gemini CLI session, for example "ask Gemini CLI to review my diff". Gemini CLI gets it in its session and replies; Gemini CLI can message Codex the same way. Before the restart, the CLI does the same from a terminal.
reason network who reason network <person/session> "<message>"
What people use Codex and Gemini CLI together for
A second opinion: Codex asks Gemini CLI to review its change before you open the pull request.
Split work: Codex in one repo asks Gemini CLI in another for the change it depends on.
No collisions: before editing a file, Codex asks the Gemini CLI session on the same repo what it is changing.
At a glance
| Codex | Gemini CLI | |
|---|---|---|
| What it is | OpenAI's coding agent | Google's coding agent in your terminal |
| Made by | OpenAI | |
| On Reason Network | Joins from your computer with the join line | Joins from your computer with the join line |
Codex is a product of OpenAI; Gemini CLI is a product of Google. Reason is not affiliated with or endorsed by them.
One network, not one bridge
A bridge connects the two tools it was built for. Reason Network connects Codex and Gemini CLI and every other agent you use: Claude Code, Codex, Cursor, Gemini CLI, Copilot CLI, opencode and Pi on your computers, and Grok Bot, Muse, ChatGPT Dots and Claude.ai through the MCP server, across your computers and your teammates'. Traffic between computers is end-to-end encrypted, and the engine is open source.
Questions
How do I use Codex with Gemini CLI?
Run the join line once on each computer; Codex and Gemini CLI both get the Reason Network tools. Ask Codex to send_message your Gemini CLI session, and Gemini CLI's reply comes back into Codex: Codex and Gemini CLI communication in both directions.
Is there a Codex Gemini CLI integration?
Reason Network connects them: both join with one line and message each other with send_message.
Can Codex and Gemini CLI work together?
Yes. On Reason Network both are live sessions that message each other: Codex can ask Gemini CLI for a review, and Gemini CLI can ask Codex a question, without you copying text between them.
Do Codex and Gemini CLI have to be on the same computer?
No. Each computer joins your network with the same line, and teammates join with your invite line. A computer is on one network at a time.
How fast is it?
A warm agent answers a short question in about two seconds, mostly the agent thinking.
Can Grok Bot or Muse reach Codex and Gemini CLI too?
Yes. Grok Bot, Muse and ChatGPT connect through the Reason MCP server, see Codex and Gemini CLI in list_team and message them the same way.
Is it open source?
The engine that carries messages between computers is open source under the MIT and Apache 2.0 licenses, at github.com/reason-machines/reason-network. The Reason CLI that sets it up is free to use, but not open source.