Rysh and Codex CLI: run Codex in a rysh pane
Codex CLI is a coding agent. Rysh is not a competing agent: it is the place several agents run side by side. Codex runs in a rysh pane next to Claude Code or aider, each in its own pane, and the session lives in a daemon, so it keeps running when you close the terminal.
What each one is
Codex (as of 13 November 2026, OpenAI’s docs): “Codex CLI is a coding agent from OpenAI that runs locally on your computer.” Codex cloud tasks: “Each task has its own workspace and can keep working while your computer is asleep.” Codex CLI 0.167.0 added an agent command center: “Open the agent command center with codex agents --no-daemon .”
Rysh: Codex runs in a rysh pane next to Claude Code or aider. For Codex, routing its model traffic through rysh’s governance proxy is opt-in (proxy.adapters), and the proxy covers the model path only, not local file writes or shell commands. Detach and only the terminal UI closes; the session daemon keeps running.
Feature comparison
| Feature | Rysh (with Codex inside) | Codex CLI on its own (as of 13 November 2026) |
|---|---|---|
| Coding agent in the terminal | runs Codex (and Claude Code, aider) in panes | ✓ |
| Several agents side by side, one pane each | ✓ | ~ agent command center (their changelog) |
| Agents from different vendors in one workspace | ✓ Codex, Claude Code, aider | Codex only |
| Each agent in its own git worktree | ✓ rysh’s own agents (isolation: worktree) | not on the fetched pages |
| Keeps running when you close the terminal | ✓ session daemon, rysh attach | ✓ cloud tasks (keep working while the computer sleeps) |
| Sandboxed pane | ~ opt-in ##codex --sandbox (macOS sandbox-exec; Linux bwrap or a container) | see Codex’s docs |
| One policy file in front of the agents | ✓ seven rule classes, org policy strictest-wins (Codex model traffic through the proxy is opt-in) | MCP per-server tool approval: auto, prompt, writes, approve |
| Agent env leaves out credential-named variables | ~ Agents rysh starts (claude, codex) do not inherit environment variables whose names are on rysh’s credential list (AWS keys, tokens, PATs and similar); their own sign-in key still passes. | not on the fetched pages |
| Usage limit hit | ~ When Codex in a pane stops at its usage limit, rysh shows when the limit resets (##limit). Turn it on for that pane and rysh types continue once after the reset. | — |
| Share a live pane with a teammate | ~ per-share shell limits; no hosted share link | not on the fetched pages |
| Cloud tasks that return a PR, Slack/Teams, IDE extensions, web/mobile/desktop apps | ✗ | ✓ |
| Enterprise list (SAML SSO, SCIM, RBAC) | ~ workspace roles only | ✓ published |
Codex CLI facts are from OpenAI’s own docs and changelog, as of 13 November 2026.
Which should you choose?
Choose Rysh if…
- You run Codex next to Claude Code or aider and want each in its own pane.
- You want the session on your own machine to survive closing the terminal.
- You want one policy file for your agents.
- You want to share a live pane with a teammate.
Choose Codex CLI if…
- You use only Codex.
- You want its cloud tasks that keep working while your laptop sleeps and open a pull request.
- You start work from Slack, Teams or your IDE.
- You need its published enterprise controls.
FAQ
Does rysh replace Codex CLI?
No. Codex runs in a rysh pane, signed in your usual way or with your own API key; rysh plan prices cover rysh itself, and model usage is billed by your provider (or under your ChatGPT plan’s own terms).
Can I sandbox Codex in rysh?
Yes, opt in with ##codex --sandbox: sandbox-exec on macOS; on Linux bwrap (network off or proxy) or a container; elsewhere a container. network: proxy lets the agent reach only its model, through the rysh governance proxy, and the provider key stays on the host. The workspace stays writable.
Where do my agents run?
Today rysh runs your agents on your own machine (macOS and Linux). Hosted agents, where your agents run on our servers and keep working when your laptop is closed, are being built. They are not available yet. To hear when they are, write to info@rysh.ai.
What does it cost?
See rysh.ai/pricing.
Try Rysh
Share a pane, a lane or a group with a teammate on another machine — see it in short videos or the written guides.
Download rysh →