diri runs codex exactly as you would in a terminal, with your own install and sign-in. What it adds is everything one terminal window can't give you: several Codex sessions at once, each in its own git worktree, a sidebar that shows which ones are working and which need you, and one place to review what they changed.
What diri adds for Codex
| Live status | Read from the screen, plus a callback when each turn finishes. |
| Needs-you alerts | A notification and an amber mark when Codex asks a question or wants permission. |
| Own worktree | Optional per session, so parallel runs never edit the same checkout. |
| Review | Diffs, staging, commits and pull request checks beside the session. |
| Survives restarts | Yes. Each session is owned by its own process, so quitting diri never stops it. |
| Resume after exit | Yes, the exact conversation. |
| Fork a conversation | Yes. Branch a conversation to try another approach. |
| Approve from a notification | Yes. Permission prompts get an Approve button on the notification. |
| Starts other agents | Yes. diri's MCP server is added at launch. |
Set up
- Install Codex with its official installer. diri can also run this for you: Settings → Agents → Install shows the command and runs it only after you confirm.
curl -fsSL https://chatgpt.com/codex/install.sh | sh- Run codex and choose Sign in with ChatGPT or another offered method.
- Install diri with
brew install --cask cristicretu/diri/diri, or download it. - Open New Agent in the sidebar and choose Codex. If you installed Codex while diri was open, click Refresh in Settings → Agents first.
The quickstart covers the rest: picking a folder, giving a task and answering questions.
Run several at once
Start more sessions from New Agent with a fresh worktree each, or let an agent do it. Codex gets diri's MCP server automatically, so you can ask it in plain words:
Split this into three parts and start a Codex agent for each, in its own worktree. Wait for them, review each diff, and merge the ones that pass the tests.
Each session shows up in the sidebar under the agent that started it. Worktrees and review explains how to bring the work back.
Questions
Does diri need its own Codex account?
No. diri starts the codex you installed, which uses its own sign-in. diri has no account of its own and never sees your password.
Can I pick a Codex session up again later?
Yes, the exact conversation. diri records its id at launch and reopens that one. Quitting diri never ends a session in the first place.
Can Codex run on a server?
Yes. Install and sign in to Codex on any machine you reach with ssh, then pick it as the machine in New Agent. diri needs no tmux, sudo or service there. See Remote hosts.
What does diri cost?
Nothing. diri is free and open source under Apache 2.0. You pay for Codex as you do today.
Other agents
Claude Code · Antigravity · Cursor · Gemini · Aider · Amp · Cline CLI · Copilot CLI · All agents