Open History to see the last commit
1# Codex
2
3For one account, use the default Codex provider with your normal Codex login.
4[Provider setup](./install.md#providers) covers installation, Settings > Providers,
5and custom binaries or environment variables.
6
7## Use multiple accounts
8
9A shared Codex home with a shadow home lets work and personal accounts continue
10the same threads. The accounts share Codex sessions and configuration while keeping
11their own login and available models.
12
13Keep your first account in `~/.codex`. On the environment's machine, sign the
14second account into a fresh directory:
15
16```bash
17mkdir -p ~/.codex_personal
18CODEX_HOME=~/.codex_personal codex login
19```
20
21Then add a second Codex instance in **Settings > Providers**:
22
23| Instance | CODEX_HOME path | Shadow home path |
24| -------------- | --------------- | ------------------- |
25| Codex Work | `~/.codex` | Leave empty |
26| Codex Personal | `~/.codex` | `~/.codex_personal` |
27
28Both instances must use the same **CODEX_HOME path**. T3 Code prepares the shared
29state in the shadow directory; do not populate it by copying your whole Codex
30home.
31
32The shadow account needs its own `auth.json` file. If Codex uses an OS credential
33store, configure file storage for this setup. See
34[OpenAI's credential storage guide](https://learn.chatgpt.com/docs/auth#credential-storage).
35
36Use a completely separate **CODEX_HOME path**, with no shadow home, when you want
37separate Codex sessions and configuration. That instance cannot continue threads
38from the other home.
39
40## Switch accounts in an existing thread
41
42Choose the other account from the thread's model picker. T3 Code offers compatible
43Codex instances that share the thread's **CODEX_HOME path**. Changing accounts does
44not move the conversation into a separate Codex home.
45
46If the account is missing from the picker, compare the home paths in provider
47settings. If two instances show the same unexpected account or models, check their
48reported accounts, refresh provider status, and confirm the second instance has
49its own shadow path and login. A shadow-home conflict usually means the directory
50contains a copied Codex setup. Use a fresh shadow directory and sign in again.
51
52## Answer questions while Codex works
53
54Codex can ask a question and keep working. Answer it in the thread's question
55panel. The answer becomes a new message: it reaches the active turn, or starts
56another turn if Codex has finished. Unanswered questions survive reconnects.
57If you do not want to answer, dismiss the question from its panel. Dismissing
58closes it without sending anything to Codex. This requires a Codex version that
59supports async questions.
60
61## Approve app access
62
63Codex tools can request access to another app. Respond to the named app's request
64in the thread on web, desktop, or mobile. Some tools offer access for one request,
65the current session, or permanently. See [Permission modes](./permission-modes.md)
66for command and file approvals.
67
68## Codex says I hit a usage limit
69
70When Codex stops on a usage limit, the thread names the window that ran out and
71when it resets, when Codex reports them. Send the message again after the reset. On a workspace plan the
72message also says whether your workspace owner needs to add credits or raise the
73spend limit to continue sooner.
74
75## Send feedback to OpenAI
76
77In an existing Codex thread, send `/feedback` with an optional description, for
78example `/feedback The agent stopped before finishing the tests`. This uploads
79the conversation and Codex logs to OpenAI. The returned thread ID can be shared
80with OpenAI support.