Fix incomplete or cut off answers from Codex CLI when using the gpt-5.5 model.
Run a local proxy that automatically continues and merges truncated reasoning into one clean response.
Set up automatic startup of the proxy so it is always running when you use Codex.
| dzshzx/codexcomp | agentic-commerce-lab/pawl | nekocode/filetree-skill | |
|---|---|---|---|
| Stars | 125 | 125 | 125 |
| Language | Python | Python | Python |
| Setup difficulty | easy | easy | easy |
| Complexity | 3/5 | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires the uv tool installer and an existing Codex CLI installation with ChatGPT login.
codexcomp is a small local proxy that fixes a specific bug in OpenAI's Codex command line tool. When Codex uses the gpt-5.5 model, its reasoning sometimes gets cut off partway through at a predictable token count, and the tool then answers based on that incomplete thought, which lowers the quality of the response. The project's own data suggests this happens in a large share of responses that reach the affected token count. The tool runs on your own computer and sits between Codex and OpenAI's servers. When it detects a truncated response, instead of passing the broken answer along, it asks the model to keep reasoning, then combines the extra rounds into one complete answer before sending it back to Codex. From the user's point of view, Codex simply receives a full, untruncated response instead of a broken one. Setup is a single command to install the tool, followed by adding one line to a Codex configuration file that points Codex at the local proxy instead of directly at OpenAI. No changes to how Codex identifies itself or organizes its sessions are needed, so features like remote conversation compaction keep working normally. The proxy uses a fast connection method matching what Codex expects, and falls back to a more compatible connection method if needed. The project also includes some resilience features: if the connection to OpenAI's servers gets stuck or times out, the proxy automatically resets the connection instead of failing every request until restarted. It never stores or logs your login credentials, only forwards them, and only listens on your own machine rather than the network. There is also an optional command to make the proxy start automatically when your computer boots.
A local proxy that detects and fixes a truncation bug in gpt-5.5 responses used by the OpenAI Codex CLI, delivering complete answers instead of cut off ones.
Mainly Python. The stack also includes Python, WebSocket, SSE.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.