Short version: pick one of two routes.
| Continue with ChatGPT | Use existing CLI | |
|---|---|---|
| Best for | Beginners and anyone with a ChatGPT plan | People who already use the codex command |
| Install anything? | No. T3 Code installs and manages Codex | Yes, the Codex CLI, then codex login |
| Sign in | On OpenAI’s site, allowing T3 Code to share your ChatGPT plan | Your existing Codex login |
| Fast / Ultrafast speeds | Not available | Available if your account has them |
| Manage credits | Manage usage inside T3 Code | As in Codex |
You can set up both and switch between them later.
Route 1: Continue with ChatGPT (no install)
1. Click Set up next to Codex
On the Welcome page, click Add more agents, then Set up next to Codex:

codex command you already have. Screenshots are from T3 Code 0.1.12.Past the Welcome page already? Go to Settings → Providers → Add provider, keep Codex selected and click Continue with ChatGPT:

2. Sign in on OpenAI
T3 Code installs Codex and opens OpenAI’s sign-in page. Sign in with your ChatGPT account and allow sharing of your ChatGPT plan.
- On a remote machine (a home server, a VPS), select that environment first.
- If the sign-in doesn’t come back to T3 Code on its own, copy the full address of the final
localhostpage, even if that page didn’t load, and paste it into T3 Code’s sign-in panel.
Done when: Codex shows as ready in Settings → Providers, and you can pick a Codex model in the message box.
Route 2: Use your existing Codex CLI
1. Sign in with the CLI
On the machine that runs T3 Code:
codex login
2. Add a Codex instance with Configure manually
Go to Settings → Providers → Add provider, keep Codex selected and click Configure manually. First, name it:

Then tell T3 Code where Codex lives:

codex program, usually just codex. ② CODEX_HOME path: Codex's settings folder, usually ~/.codex. ③ Shadow home path: only for a second account (see below). ④ Add instance saves it.The defaults are right for most people, so you can just click Add instance.
The Codex settings, explained
Open Settings → Providers → Codex at any time to change them:

codex command isn't installed on this machine, which is expected if you haven't set it up. ② Binary path. ③ CODEX_HOME path. ④ Shadow home path for a second account.Further down are Launch arguments (extra flags for Codex), Environment variables (API keys, endpoints), and Models, where you can add a custom model.
Keep Codex working until it’s done: /goal
Send /goal with your finish line, and Codex keeps working across turns until it’s true:
/goal all tests in packages/api pass

/goal followed by a clear, checkable condition. It works with Codex, Claude and OpenCode 2.2.5+. This message box happens to have a Claude model selected.| Command | Does |
|---|---|
/goal <condition> |
Sets the goal and starts working |
/goal |
Shows the current goal |
/goal pause / /goal resume |
Pauses or resumes it. Stopping the agent also pauses it |
/goal clear |
Removes the goal |
Write goals you can check, such as “all tests pass” or “the build has no type errors”. Vague goals like “make it better” never finish.
Permission modes with Codex
Codex supports all four modes: Supervised, Auto-accept edits, Auto and Full access. Two things are specific to Codex:
- Auto uses Codex’s own review to approve routine actions and ask about risky ones.
- Full access skips dangerous-command prompts. Managed network restrictions can still ask, unless you’ve allowed those commands for the session.
New threads start in Full access by default. Change that in Settings → Threads → New threads → Permissions.
Two accounts (work and personal)
With ChatGPT: use Add provider → Codex → Continue with ChatGPT again and sign in with the other account.
With the CLI: sign the second account in to its own small folder:
mkdir -p ~/.codex_personal
CODEX_HOME=~/.codex_personal codex login
Then add a second Codex instance with these paths:
| Instance | CODEX_HOME path | Shadow home path |
|---|---|---|
| Codex Work | ~/.codex |
(leave empty) |
| Codex Personal | ~/.codex |
~/.codex_personal |
- Both instances share the same CODEX_HOME, so you can switch accounts in the middle of a thread from the model picker.
- Keep the shadow folder small. Don’t copy your whole Codex folder into it.
- The shadow account must store its login in a file (
auth.json), not only in the system keychain. - Want two completely separate setups instead? Give each instance its own CODEX_HOME and no shadow home.
Other Codex features in T3 Code
- Image generation works when your Codex version, model and account allow it. If it’s turned off in your Codex config, add
-c features.image_generation=trueto Launch arguments. - Questions while it works: Codex can ask you something and keep going. Answer in the question panel, or dismiss it.
- App access requests (for external tools) can be approved right in the chat: once, for the session, or permanently, depending on the tool.
- MCP sign-in: click Sign in on the notice in the thread, approve in your browser, then paste the final page’s address into Finish sign-in.
- Usage limits: when a limit stops Codex, T3 Code shows which window ran out and when it resets. On workspace plans, it also shows whether credits or spend limits need changing.
- Send feedback to OpenAI from a thread with
/feedback <what happened>. This uploads the conversation and Codex logs to OpenAI. - Disconnecting ChatGPT stops running Codex threads but keeps their history, so you can reconnect later.
Troubleshooting
| Problem | Fix |
|---|---|
| Not found | You picked the CLI route but codex isn’t installed on the server machine or isn’t on its PATH. Installing the ChatGPT or Codex desktop app doesn’t always add it. Set Binary path, or use Continue with ChatGPT |
| Sign-in doesn’t return to T3 Code | Paste the full localhost address from the last sign-in page into the sign-in panel |
| No Fast / Ultrafast speeds | Not available with ChatGPT sharing. Use a CLI login (codex login) |
| ⚠ next to the version | Your Codex is older than this T3 Code release expects. Click the ⚠, then Update now |
| Status check times out | Start the server with T3CODE_CODEX_PROBE_TIMEOUT_MS=60000 |
| Can’t switch accounts mid-thread | Only instances that share the same CODEX_HOME can swap. Use the shadow home setup above |
Sources: the upstream docs in the pingdotgg/t3code repo (providers-codex.md, install.md, composer.md, permission-modes.md) and T3 Code 0.1.12.
FAQ
Can I use my ChatGPT subscription with Codex in T3 Code?
Yes. Choose Continue with ChatGPT when setting up Codex. T3 Code installs and manages Codex for you, and you sign in on OpenAI and allow sharing of your ChatGPT plan.
Do I need to install the Codex CLI?
No, not if you connect with ChatGPT. You only need the Codex CLI if you choose Use existing CLI, for example to keep your current login or to use Fast and Ultrafast speeds.
How do I use /goal with Codex in T3 Code?
Send /goal followed by your finish line, for example /goal all tests in packages/api pass. Codex keeps working across turns until it's met. Use /goal to see it, /goal pause or /goal resume, and /goal clear to remove it.
Why are Fast and Ultrafast speeds missing?
They aren't available when Codex is connected through ChatGPT sharing. Use an existing Codex CLI login (codex login) to get the speed options your account supports.
Can I use two ChatGPT or Codex accounts?
Yes. Add another account with Add provider. With the CLI you can also use a shadow home so a work and a personal account can continue the same threads.
Why does T3 Code say Codex is "Not found"?
You chose the CLI route but the codex command isn't installed on the machine running T3 Code, or isn't on its PATH. Installing the ChatGPT or Codex desktop app does not always add codex to PATH. Set Binary path, or use Continue with ChatGPT instead.
