# Run Codex in parallel — Tallos

> Tallos runs Codex, OpenAI's coding agent CLI, as many parallel sessions in a desktop app for macOS and Windows. Each session works in its own git worktree and opens in a chat view, with the raw terminal one click away. Tallos adds one-click account switching, rate-limit readouts, diff review and squads, using the Codex login or API key you already have.

- Canonical: https://runtallos.com/integrations/codex
- Português: https://runtallos.com/pt/integracoes/codex.md
- Updated: 2026-09-29
- Section: Integrations

## Key facts

- Install and sign in from Settings → Connections
- Chat view by default, with a model picker
- Hot-swap between Codex accounts in one click
- One isolated git worktree per session

## What is Codex?

**Codex** is OpenAI's open-source coding agent that runs locally as a command-line program called `codex`. You give it a task; it reads your code, edits files and runs commands in your terminal. It signs in with a ChatGPT account or uses an OpenAI API key.

**Tallos** is a desktop [agent development environment](https://runtallos.com/what-is-an-ade) that runs the real Codex CLI — not a copy or a wrapper that replaces it — and adds isolated workspaces, a chat view, account management and review, so you can run many Codex sessions at once and keep them organized.

## How do I set up Codex in Tallos?

Open **Settings → Connections**, install Codex from its card, sign in, then set it as your default agent. If `codex` is already installed, Tallos detects it on your PATH.

1. **Install** — Click **Install** on the Codex card. Tallos shows the official command before running it: `npm install -g @openai/codex` or `brew install --cask codex` on macOS, and `npm install -g @openai/codex` on Windows (Node.js required).
2. **Sign in** — Click **Sign in** to run `codex login` in a terminal. To use an API key instead, click **Use API key**: Tallos passes it once to `codex login --with-api-key`, which stores it in Codex's own settings. Tallos keeps no copy.
3. **Make it the default** — In **Settings → Agents**, set Codex as the **Default agent** so it is pre-selected in every new workspace.
4. **Start a task** — Add a repository, click **+** to create a workspace and describe the task. Tallos creates a git worktree on a new branch and launches `codex` there, with the active account.

> **Permissions** — Tallos starts it in manual mode by default, so it asks before running commands. If you turn on **Let agents run commands without asking** (Advanced, on the welcome screen) or choose the autonomous mode in **Settings → Agents → Agent Permissions**, Tallos launches it with `--dangerously-bypass-approvals-and-sandbox`. That flag skips Codex's approval prompts and its own sandbox. A worktree isolates files per task; it is not a security sandbox.

The same flow works for every CLI on the Connections page — see [agent connections](https://runtallos.com/features/agent-connections).

## How do I run several Codex sessions in parallel?

Open one workspace per task. Each workspace is its own git worktree with its own branch, files and terminals, so parallel Codex sessions never write to the same working directory.

- **Isolated by default.** Each session's installs, builds and test runs stay inside its worktree.
- **One screen.** Split panes to watch several sessions; the sidebar shows which are working, waiting on you or done.
- **Subagents under their parent.** When Codex spawns Task subagents, they appear as child rows under the parent session.
- **Restart without losing the account.** When Codex exits, the restart chip relaunches it with the same account.
- **Resume later.** Agent Session History lists past Codex sessions; **Resume** runs `codex resume <id>` in the right folder.

See [parallel workspaces](https://runtallos.com/features/parallel-workspaces) for how the isolation works, and [run AI agents in parallel](https://runtallos.com/run-ai-agents-in-parallel) for when splitting work pays off.

> Give Codex five workspaces instead of one terminal. → https://runtallos.com/signup

## How do I switch between Codex accounts and track rate limits?

Use the account switcher. Tallos lists your Codex accounts under **Settings → AI Provider Accounts**, lets you label them (“personal”, “work”) and swaps the active one in one click — no re-login, no config edits.

- **System default** is the same Codex login a `codex` in your terminal uses.
- **Extra accounts** run in their own isolated homes, with settings mirrored from your `~/.codex/config.toml`, so credentials never mix.
- **New sessions follow the active account.** Sessions already running keep theirs until you restart them.
- **Rate limits in the status bar.** Usage against each limit window, time to reset, and a warning chip at 80%. The readout follows the active account.

On Windows, Codex can run from your host install or from a WSL distro; add a WSL-hosted account from the account switcher.

## How do I use Codex alongside Claude Code and other agents?

Run them in parallel on the same repository, or combine them in a [squad](https://runtallos.com/features/squads): a leader agent plus members, where each slot picks its own agent, model and effort level.

- **Codex builds, another agent reviews.** The [build-and-review squad](https://runtallos.com/squads/build-and-review) loops between a builder and a reviewer until the reviewer approves.
- **Codex as one of three attempts.** In *3 attempts, pick the best*, Codex, Claude Code and Gemini CLI solve the same objective in separate worktrees and the leader recommends one.
- **Codex as leader.** It divides the objective, dispatches members and combines the results within your limits: 5 rounds and 4 members at once by default, up to 20 rounds and 12 members.

Nothing merges until you **Accept** the result. For a fair look at how the two most popular CLIs differ in approach, read [Claude Code vs Codex](https://runtallos.com/compare/claude-code-vs-codex).

## Does Codex open in a chat view or a terminal?

In a chat view, by default. Tallos decodes the Codex transcript into readable messages, tool calls and question cards, while the Codex CLI keeps running underneath.

- **View terminal** / **Back to chat** switch between the chat and the raw Codex TUI at any time.
- The **model** pill changes the model directly (it sends `/model <id>`); a bare `/model` still opens Codex's own picker.
- Type `/` for Codex's slash commands and your skills; attach files and images to a message.
- Want the terminal every time? Set **Settings → Agents → Agent View** to **Terminal**.

More in [native chat](https://runtallos.com/features/native-chat).

## What does Tallos add to Codex?

Codex works the same inside Tallos as in your terminal. Tallos adds the environment around it.

| Capability | Codex CLI on its own | Codex in Tallos |
| --- | --- | --- |
| Parallel sessions | More terminals, git worktrees set up by hand | One workspace per task, each with its own worktree and branch |
| Interface | Terminal UI | Chat view by default, raw terminal one click away |
| Install and sign-in | Run the install and `codex login` yourself | Install, sign in or pass an API key from Settings → Connections |
| Multiple accounts | Log in again, or manage separate Codex homes yourself | One-click account switcher with labels and isolated homes |
| Rate limits | Checked inside a session | Status-bar readout per account, reset times, 80% warning |
| Past sessions | `codex resume` from the right folder | Searchable history across agents, one-click Resume |
| Code review | Your own git tools | Diff per workspace, line comments sent back to Codex |
| Other agents | Separate tools | Same app; squads with a leader, members and best-of-N |
| Your configuration | `~/.codex`, `AGENTS.md` | The same files; `AGENTS.md` is left as it is |

_Codex does the coding. Tallos runs many of them and keeps them organized._

## Frequently asked questions

### Is Tallos the official Codex desktop app?

No. Tallos is an independent desktop app for macOS and Windows that runs OpenAI's Codex CLI, together with other coding agents, in isolated workspaces.

### Do I need a separate subscription to use Codex in Tallos?

No. Tallos uses the ChatGPT sign-in or OpenAI API key you already use with Codex and does not resell model access.

### Can I use two Codex accounts in Tallos?

Yes. Add each account once, label it, and switch the active account in one click. New Codex sessions use the active account; running ones keep theirs until restarted.

### Does Tallos store my OpenAI API key?

No. For Codex, Tallos passes the key once to `codex login --with-api-key`, which saves it in Codex's own settings. Tallos does not keep a copy.

### Can Codex and Claude Code work on the same repo at once?

Yes. Each works in its own worktree on its own branch, so their changes never collide. Review both diffs and merge the one you prefer.

### Does Codex in Tallos work on Windows?

Yes. Tallos runs on Windows 10+, where it installs Codex with npm. You can also run Codex from a WSL distro and add that account from the account switcher.

### Can I resume an old Codex session?

Yes. Open Agent Session History, pick the session and click Resume; Tallos runs `codex resume <id>` in the session's folder.

---

**Run your agents in parallel with Tallos** — Claude Code, Codex, Gemini and 30+ agents — each in its own workspace, with squads, chat, terminals and review in one app. Uses the subscriptions you already have.

https://runtallos.com/signup (macOS 13+ · Windows 10+)
