Purpose
codex-desk is aimed at scenarios where past Codex investigation results need to be reused: before repeating an investigation, first find a similar investigation done previously, read the answer from that task at the time along with the command or tool results it provided itself, and then decide the next check based on that. It does not create new accounts or API keys; instead, it reuses your existing Codex CLI installation and login state.
Main capabilities
- Index local Codex history and search by remembered phrases or pasted adjacent command lines.
- Open the original conversation and read the answer for the exact task, including work whose project folder no longer exists.
- From a matching answer or tool item, go to "Read containing task → Read this task response", then to "Read this task’s evidence → Read full original item", to compare the answer against the command/tool results it provided.
- When the title or native thread ID is known, use Browse all conversations to browse without indexing first.
- Optionally continue the same native thread (when the project folder exists), or prepare an unsent Work/Plan draft, save paused follow-up items, and bring reviewed source excerpts into another task.
- Provides an interactive browser demo that requires no installation, using a synthetic checkout case to demonstrate the search, reading, and comparison flow.
How to use
Install and open the local workbench on Linux, macOS, Windows, or WSL with a single uv command; it is currently alpha, so --prerelease allow is required to select the preview version from PyPI, or an accepted GitHub wheel can be used. After startup, keep the terminal running and open in the browser the full startup URL printed by the terminal (usually " http://127.0.0.1:8787)。下次运行同一命令并打开新打印的 URL; saved conversations and drafts remain local.
Desk uses executables on PATH, not shell aliases or functions; if the codex command wraps another executable or sets a command-level CODEX_HOME, append --codex /actual/path/to/codex --codex-home /the/home-used-for-that-work. On macOS, you can also use the Codex bundled with Desktop via --codex; on Windows, use the bundled entry point in the installed app that passes the version check.
If the port is occupied, reopen the running server using the full URL in the existing Desk terminal; to replace it with a newer version, first press Ctrl+C to stop the terminal and then restart; to change the port, append --port 8788. To update an existing uvx installation, first press Ctrl+C to stop, then run the update command once, and afterward start as usual with uvx --prerelease allow codex-desk, appending the original --codex, --codex-home, --state-dir, and --port options to the update and subsequent start commands; reusing the same state directory preserves saved conversations, indexed history, drafts, and prepared follow-up items.
Suggested first task: choose an investigation you would otherwise repeat, and in order run Find a decision in past work → Index existing Codex history, enter a phrase you remember and search, then Read original conversation; from a matching answer or tool item, go to Read containing task → Read this task response, then go to Read this task’s evidence → Read full original item, and compare the answer with the results it provides; if the original content provides only messages, read the answer and keep the checks that still need missing command or tool results.
When to use
- Before repeating an investigation, first look up previous investigation conclusions and evidence.
- When you need to verify the original command output or tool results that a Codex answer was based on.
- When continuing work in a known native thread, or preparing a draft for the next task based on old evidence.
Limitations and notes
- The current version is an alpha preview and requires Python 3.11+; the wheel has no runtime dependencies.
- Desk runs on the loopback address and uses the Codex app-server you installed; the printed URL carries a per-launch browser access fragment, and after the server restarts you need to open the newly printed full URL.
- Reading position metadata is stored in browser local storage; project bindings, cached activity, indexed native history, and drafts are stored in ~/.local/state/codex-desk/desk.sqlite3; new provider keys are stored in a local private sidecar.
- Closing the browser does not stop Desk; Ctrl+C stops Desk and the native tasks it owns. It runs its own app-server and does not attach to an already running Desktop backend.
- Native launcher/config smoke tests have passed on Ubuntu, Windows, and macOS (CLI 0.171.0); native task/MCP interaction acceptance uses Linux; browser first-use checks cover desktop and 390px layouts.
- The materials do not provide specific pricing, price, or effectiveness data.