Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

providers-codex.md

52 lines3.7 KB

1# Codex
2​
3Use your ChatGPT plan or an existing Codex CLI login to run Codex in T3 Code.
4​
5## Connect with ChatGPT
6​
7Connect during onboarding or in **Settings → Providers** (select your target environment first for remote machines). T3 Code manages the Codex runtime and signs you in via OpenAI.
8​
9- Manage shared usage and credits through **Manage usage** in T3 Code.
10- **Remote sign-in**: If sign-in doesn't return automatically, paste the full `localhost` redirect URL into the sign-in panel.
11- **Speed options**: Fast and Ultrafast speeds are not available through ChatGPT sharing—[use an existing Codex login](#use-an-existing-codex-login) instead.
12- Disconnecting stops running threads while preserving history.
13​
14## Use an existing Codex login
15​
16Run `codex login` on the environment's machine, then add a Codex instance in **Settings → Providers** via **Configure manually**. See [provider setup](./install.md#providers) for installation details.
17​
18If provider status checks time out on a slower machine, set `T3CODE_CODEX_PROBE_TIMEOUT_MS=60000` in the server environment and restart. See [Provider check timeouts](./install.md#provider-check-timeouts).
19​
20## Use multiple accounts
21​
22Add another ChatGPT account in **Settings → Providers**, or configure multiple CLI logins with a **shadow home** so work and personal accounts can continue the same threads:
23​
24```bash
25mkdir -p ~/.codex_personal
26CODEX_HOME=~/.codex_personal codex login
27```
28​
29| Instance | CODEX_HOME path | Shadow home path |
30| -------------- | --------------- | ------------------- |
31| Codex Work | `~/.codex` | _(leave empty)_ |
32| Codex Personal | `~/.codex` | `~/.codex_personal` |
33​
34- Both instances must share the same **CODEX_HOME path**. Keep the shadow directory fresh—don't copy your full Codex home into it.
35- The shadow account needs file-based credential storage (`auth.json`); see [OpenAI's credential storage guide](https://learn.chatgpt.com/docs/auth#credential-storage).
36- Use a separate **CODEX_HOME path** (no shadow home) if you want completely isolated sessions.
37​
38To switch accounts mid-thread, pick another compatible Codex instance sharing the same **CODEX_HOME path** from the model picker.
39​
40## Features and options
41​
42- **Image generation**: Supported when your Codex version, model, and account allow it. If disabled in Codex config, add `-c features.image_generation=true` to the instance's **Launch arguments** (applies to new sessions).
43- **Async questions**: Codex can ask a question while continuing to work; answer in the question panel (steers the active turn or starts a new one) or dismiss it without sending.
44- **App access approvals**: Respond to external app access requests directly in chat (one-time, session, or permanent depending on the tool).
45- **MCP OAuth sign-in**: Click **Sign in** on the thread notice, approve in your browser, and paste the final redirect URL into **Finish sign-in** (requires provider management permission).
46- **Daybreak**: Models with cyber access programs show a **Cyber Access** option (`Standard` or `Daybreak`, initialized from `daybreak = true` in `config.toml`).
47- **Usage limits**: Limit stops display the exhausted window, reset time, and (on workspace plans) whether credits or spend limits need adjustment.
48- **Feedback to OpenAI**: Send `/feedback <description>` in an existing Codex thread to upload conversation and Codex logs to OpenAI.
49​
50## OpenAI Chrome extension
51​
52Using your signed-in Chrome profile via [OpenAI's Chrome extension](https://learn.chatgpt.com/docs/chrome-extension) requires a browser connection for the Codex thread. For remote environments, forward the remote page's port or use a reachable URL—T3 Code's built-in preview browser uses its own separate session.