openai/codex
View on GitHub ↗ ★ 132,828 Rust
Lightweight coding agent that runs in your terminal
220 mentions on Hacker News by 164 people: 64 stories, 156 comments · first 2025-04-16 · latest 2026-10-27
20082026
-
Wow, this part where they describe skills sounds quite odd https://github.com/openai/codex/blob/99f47d6e9a3546c14c43af9... Why wouldnt they just expose the files directly? Having the model ask for them as regular files sounds a bit odd
comment by gzalo · 2026-01-24 · in Unrolling the Codex agent loop -
Hmm, this seems promising? https://github.com/openai/codex/pull/9796
comment by copperx · 2026-01-24 · in Unrolling the Codex agent loop -
…their CLI a while ago and have been following their releases and PRs to broaden my knowledge. [0] https://github.com/openai/codex/tree/main/codex-rs
comment by vinhnx · 2026-01-24 · in Unrolling the Codex agent loop -
…1 are ignored and removed, since the model does not reuse reasoning items from previous turns. [0] https://github.com/openai/codex/pull/5857 [1] https://github.com/openai/codex/pull/5986 [2] https://cookbook.openai.com/examples/responses_ap…
comment by jumploops · 2026-01-24 · in Unrolling the Codex agent loop -
…communication is exceptional, too. Eric Traut (of Pyright fame) is all over the issues and PRs. https://github.com/openai/codex
comment by postalcoder · 2026-01-23 · in Unrolling the Codex agent loop -
…a couple of issues [0][1] opened about on GitHub, but it doesn't seem a priority for the team. [0] https://github.com/openai/codex/issues/2788 [1] https://github.com/openai/codex/issues/3585
comment by coffeeaddict1 · 2026-01-23 · in Unrolling the Codex agent loop -
…scrapes terminal output for an approval request. Codex has had a feature request open for a while: https://github.com/openai/codex/issues/3052
comment by jackcarter · 2026-01-20 · in Running Claude Code dangerously (safely) -
…brought to you by Big Token.) So be thoughtful about what you load in what context. See e.g. https://github.com/openai/codex/blob/a6974087e5c04fc711af68f...
comment by btown · 2025-12-20 · in Skills Officially Comes to Codex -
…disk. https://platform.claude.com/docs/en/agents-and-tools/agent-s... And as implemented in Codex: https://github.com/openai/codex/pull/7412/changes#diff-35647...
comment by btown · 2025-12-13 · in OpenAI are quietly adopting skills, now available in ChatGPT and Codex CLI -
…once the skill is selected the whole file would be read, but it looks like that's not the case: https://github.com/openai/codex/blob/ad7b9d63c326d5c92049abd... 1) After deciding to use a skill, open its `SKILL.md`. Read only enough to…
comment by simonw · 2025-12-13 · in OpenAI are quietly adopting skills, now available in ChatGPT and Codex CLI -
…it's not injected into the context until the skill is used or it's never injected into the context? https://github.com/openai/codex/blob/main/docs/skills.md
comment by raybb · 2025-12-13 · in OpenAI are quietly adopting skills, now available in ChatGPT and Codex CLI -
…the skills.md file for further instructions". Here's the prompt within Codex CLI that does that: https://github.com/openai/codex/blob/ad7b9d63c326d5c92049abd... I extracted that into a Gist to make it easier to read:…
comment by simonw · 2025-12-13 · in OpenAI are quietly adopting skills, now available in ChatGPT and Codex CLI -
…authors of new libs, apps, to choose the same licenses for giving back in the same spirit. [1]: https://github.com/openai/codex/blob/main/codex-rs/tui/src/c... [2]: https://github.com/ratatui/ratatui/pull/2241
comment by joshka · 2025-12-05 · in Show HN: Fresh – A new terminal editor built in Rust -
More reports here of the weekly reset date extending several days beyond a week: https://github.com/openai/codex/issues/5999 Frustrating that OpenAI support does not help with this, and no one on the team is available to resolve critical…
comment by wahnfrieden · 2025-11-29 · in OpenAI Codex: Weekly usage limit refresh dates seem to be variable -
…tool instead. Neither does OpenAI's Codex CLI - you can confirm that by looking at the source code https://github.com/openai/codex Cursor and Windsurf both use semantic search via embeddings. You can get semantic search in Claude Code…
comment by simonw · 2025-11-28 · in Beads – A memory upgrade for your coding agent -
…CLI, you really really need to fix this bug. I bet Codex could do at least the client part for you! https://github.com/openai/codex/issues/2798 (Hint: Claude Code gets this right by default, despite the fact that everything else about…
comment by amluto · 2025-11-19 · in Building more with GPT-5.1-Codex-Max -
Codex CLI 0.59 got released (but has no changelog text) https://github.com/openai/codex/releases/tag/rust-v0.59.0
comment by tosh · 2025-11-19 · in Building more with GPT-5.1-Codex-Max -
did you address this https://github.com/openai/codex/issues/6426 ? how much more token efficient is this compared to 5.0 had to use 5.0 because 5.1 was eating tokens like crazy and seemed like a slight incremental improvement barely…
comment by agentifysh · 2025-11-19 · in Building more with GPT-5.1-Codex-Max -
I haven't tried it myself yet, but it looks like OpenRouter is a supported feature of Codex already: https://github.com/openai/codex/blob/a47181e471b6efe55e95f98...
comment by simonw · 2025-11-09 · in Reverse engineering Codex CLI to get GPT-5-Codex-Mini to draw me a pelican -
…the Codex CLI if you're able to and selecting the model via `/model`. npm install -g @openai/codex https://github.com/openai/codex
comment by bigwheels · 2025-10-27 · in We're in the wrong moment -
…policy system is much better. Though I'm working on closing that gap by writing a custom policy https://github.com/openai/codex/blob/main/codex-rs/execpolic... Kinda sick of Codex asking for approval to run tests for each test instance
comment by maherbeg · 2025-10-20 · in Claude Code on the web -
…by open-source agentic IDEs ( https://github.com/search?q=repo%3Aopenai%2Fcodex%20harness&... or https://github.com/openai/codex/discussions/1174 ) Any reason why you want to rename it? Edit: to say more about my opinions, "agentic loop"…
comment by mccoyb · 2025-09-30 · in Designing agentic loops -
This is how I did it - https://github.com/openai/codex/blob/main/docs/config.md#mod... I have it go to openrouter, and then you just export the API key and run codex, works smoothly.
comment by NitpickLawyer · 2025-09-16 · in GPT-5-Codex -
They added that around June 4th, here's the PR: https://github.com/openai/codex/pull/1212
comment by simonw · 2025-09-15 · in GPT-5-Codex -
Apparently today is the first release with MCP support. Updates (v0.36) https://github.com/openai/codex/releases
comment by WhitneyLand · 2025-09-15 · in Addendum to GPT-5 system card: GPT-5-Codex -
…CLI w/gpt-5 is already a lot more steerable than Claude Code, but any improvements are welcome! [0] https://github.com/openai/codex/blob/main/codex-rs/core/gpt_... [1] https://github.com/openai/codex/blob/main/codex-rs/core/prom...…
comment by jumploops · 2025-09-15 · in Addendum to GPT-5 system card: GPT-5-Codex -
…CLI w/gpt-5 is already a lot more steerable than Claude Code, but any improvements are welcome! [0] https://github.com/openai/codex/blob/main/codex-rs/core/gpt_... [1] https://github.com/openai/codex/blob/main/codex-rs/core/prom...
comment by jumploops · 2025-09-15 · in GPT-5-Codex -
…actually eager to try it today, but it've just failed with some issue which is open since July 8 ( https://github.com/openai/codex/issues/1481 ) and I gave up on it.
comment by centphe · 2025-08-08 · in Cursor CLI -
…issuer certificate (_ssl.c:1006)>. Error code explanation: 500 - Server got itself in trouble. https://github.com/openai/codex/issues/1243 I am and many other similar users would love to move from Claude Code to Codex, but this is…
comment by jayseb · 2025-08-08 · in Cursor CLI -
You are looking for Codex CLI [0]. 0 - https://github.com/openai/codex
comment by Game_Ender · 2025-08-07 · in GPT-5 for Developers -
…for inference). [1] https://github.com/openai/harmony [2] https://github.com/openai/tiktoken [3] https://github.com/openai/codex
comment by lukax · 2025-08-05 · in Open models by OpenAI -
…I believe it's now the default verison. (Previously the TypeScript implementation was the default.) https://github.com/openai/codex/tree/main/codex-rs
comment by crvdgc · 2025-07-23 · in Qwen3-Coder: Agentic coding in the world -
…not sure what a closer public indicator might be. 1. https://github.com/google-gemini/gemini-cli 2. https://github.com/openai/codex 3. https://github.com/anthropics/claude-code
comment by christiangenco · 2025-07-21 · in Ask HN: Why do Cursor, Windsurf and Claude Code dominate the conversation? -
They have one, though I don't think it has taken off. https://github.com/openai/codex Hard to miss — it's the second Google result for "chatgpt CLI".
comment by dcre · 2025-07-17 · in ChatGPT agent: bridging research and action -
https://github.com/openai/codex
comment by Philpax · 2025-07-17 · in ChatGPT agent: bridging research and action -
you can read https://github.com/openai/codex/discussions/1174 directly
comment by homarp · 2025-06-25 -
…coding questions The one thing I recommended to github. Lets find a random issue for example: https://github.com/openai/codex/issues/1330 Why couldnt various AI have commented some answer? Perhaps co-pilot could read it, produce a fully…
comment by incomingpain · 2025-06-23 · in How do LLMs and AI coding tools solve new problems when Stack Overflow is dead? -
…Sierra in 2016) but it's still what everyone uses - here's OpenAI using it for their new Codex CLI: https://github.com/openai/codex/issues/215 Maybe the new "containers" stuff in macOS 26 is going to be a good replacement for that? It…
comment by simonw · 2025-06-15 · in How easy is it for a developer to "sandbox" a program? -
…At the end of the day all do the same. a cli tool that can call tools and use them as needed. https://github.com/openai/codex http://aider.ai/
comment by tough · 2025-06-03 · in Claude Code Is My Computer -
…haven't dived deeper into the codebase but seems they're thinking about sandboxing from the get-go: https://github.com/openai/codex/blob/7896b1089dbf702dd079299...
comment by diggan · 2025-06-02 · in Cloudlflare builds OAuth with Claude and publishes all the prompts -
…own codebase still have "TODO" comments for the most trivial thing I can possibly imagine? < https://github.com/openai/codex/blob/rust-v0.0.2505302325/co... > made extra wtf by a comment at the top of the file laying out that requirement,…
comment by mdaniel · 2025-06-01 · in Codex CLI is going native -
Looks open-source to me - https://github.com/openai/codex/tree/main/codex-rs
comment by mappu · 2025-06-01 · in Codex CLI is going native -
Codex seems to also be available via CLI ( https://github.com/openai/codex ) as well as via the web ( https://chatgpt.com/codex ).
comment by diggan · 2025-05-19 · in Jules: An asynchronous coding agent -
…It's not as good as claude code right now but I bet it wont take long for them to catch up. https://github.com/openai/codex/tree/main
comment by ayargz · 2025-05-19 · in Claude Code SDK -
…) or Claude Code ( https://docs.anthropic.com/en/docs/claude-code/overview ) or Codex ( https://github.com/openai/codex ) or plandex ( https://github.com/plandex-ai/plandex ) or kwaak ( https://github.com/bosun-ai/kwaak ) I'd venture to…
comment by terhechte · 2025-05-09 · in Void: Open-source Cursor alternative -
OpenAI has Codex CLI https://github.com/openai/codex
comment by ccheney · 2025-05-06 · in OpenAI reaches agreement to buy Windsurf for $3B -
Codex merged in to allow multiple providers today - https://github.com/openai/codex/pull/247
comment by shmoogy · 2025-04-21 · in Show HN: Open Codex – OpenAI Codex CLI with open-source LLMs -
…looks really simple, except I'll have to look into how their raw-exec takes care of writeableRoots: https://github.com/openai/codex/blob/0d6a98f9afa8697e57b9bae... [edit2] lol raw-exec doesn't do anything at all with writeableRoots, it's…
comment by fzzzy · 2025-04-18 · in MCP Run Python -
…many inline comments. Interestingly, their agent's system prompt mentions removing inline comments https://github.com/openai/codex/blob/main/codex-cli/src/util... . > - Remove all inline comments you added as much as possible, even if they…
comment by shekhargulati · 2025-04-17 · in OpenAI Codex CLI: Lightweight coding agent that runs in your terminal -
…like Claude Code? Also it looks like Open AI released a similar terminal based tool today. https://github.com/openai/codex Yes, I would say Plandex is generally similar in spirit to both Claude Code and OpenAI's new Codex tool. All three…
comment by danenania · 2025-04-17 · in Show HN: Plandex v2 – open source AI coding agent for large projects and tasks