Live data from Hacker News

OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

github.com

151–160 of 298 posts

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#151
Uhhhh. I just get ratelimited almost immediately when using codex. Like I can't get even a single "explain this codebase" or simple feature change. I am on the lowest usage tier, granted. But this tool is unusable without being on a higher tier, which requires me to spend $50 in credits to access...

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#152
First experience is not great. Here are the issues to start using codex:

1. Default model used doesn't work and you get error: system OpenAI rejected the request (request ID: req_06727eaf1c5d1e3f900760d10ca565a7). Please verify your settings and try again.

2. You have to switch to model o4-mini-2025-04-16 or some other model using /model. Now if you exit codex, you are back to default model and again have to switch everytime.

3. Crashed the first time with NodeJS error.

But after initial hickups seems to work and still checking how good/bad it is compared to claude code (which I love except for context size limits)

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#153
post #143

These days, I usually paste my entire (or some) repo into gemini and then APPLY changes back into my code using this handy script i wrote: https://github.com/asadm/vibemode I have tried aider/copilot/continue/etc. But they lack in one way or the other.

I felt it loses track of things on really large codebases. I use 16x prompt to choose the appropriate files for my question and let it generate the prompt.

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#154
post #143

These days, I usually paste my entire (or some) repo into gemini and then APPLY changes back into my code using this handy script i wrote: https://github.com/asadm/vibemode I have tried aider/copilot/continue/etc. But they lack in one way or the other.

I felt it loses track of things on really large codebases. I use 16x prompt to choose the appropriate files for my question and let it generate the prompt.

do you mean gemini? I generally notice pretty great recall UPTO 200k tokens. It's ~OK after that.

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#155

Earlier quoted context omitted.

I was under the impression Aider did exactly what you're describing using it's repo map feature.

Not really, repo map only gives LLMs an overview of the codebase, but aider doesn't automatically bring files into the context - you have to explicitly add the files you wish for it to see in their entirety to the context. Claude Code/Codex and most other tools do this automatically, that's why they're much more autonomous.

Aider regularly asks me the authorization to access files that I didn't explicitly add.

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#156
post #149

Earlier quoted context omitted.

Why not just select Gemini Pro 2.5 in Copilot with Edit mode? Virtually unlimited use without extra fees. Copilot used to be useless, but over the last few months has become quite excellent once edit mode was added.

copilot (and others) try to be too smart and do context reduction (to save their own wallets). I want ENTIRETY of the files I attached to context, not RAG-ed version of it.

FWIW, Edit mode gives the impression of doing this, vs. originally only passing the context visible from the open window.

You can choose files to include and they don't appear to be truncated in any way. Though to be fair, I haven't checked the network traffic, but it appears to operate in this fashion from day to day use.

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#157
post #74

I tried one task head-to-head with Codex o4-mini vs Claude Code: writing documentation for a tricky area of a medium-sized codebase. Claude Code did great and wrote pretty decent docs. Codex didn't do well. It hallucinated a bunch of stuff that wasn't in the code, and completely misrepresented the architecture - it started talking about server backends and REST APIs in an app that doesn't have any of that. I'm curiou…

Claude Code still feels superior. o4-mini has all sorts of issues. o3 is better but at that point, you aren't saving money so who cares.

I feel like people are sleeping on Claude Code for one reason or another. Its not cheap, but its by far the best, most consistent experience I have had.

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#158

https://github.com/openai/codex/blob/main/codex-cli/src/comp... Hey comment this thing in! const thinkingTexts = ["Thinking"]; /* [ "Consulting the rubber duck", "Maximizing paperclips", "Reticulating splines", "Immanentizing the Eschaton", "Thinking", "Thinking about thinking", "Spinning in circles", "Counting dust specks", "Updating priors", "Feeding the utility monster", "Taking off", "Wireheading", "Counting to i…

Uhh… why is React in a terminal tool?

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#159
post #143

These days, I usually paste my entire (or some) repo into gemini and then APPLY changes back into my code using this handy script i wrote: https://github.com/asadm/vibemode I have tried aider/copilot/continue/etc. But they lack in one way or the other.

It’s not just about saving money or making less mistakes its also about iteration speed. I can’t believe this process is remotely comparable to aider.

In aider everything is loaded in memory I can add drop files in terminal, discuss in terminal, switch models, every change is a commit, run terminal commands with ! at the start.

Full codebase is more expensive and slower than relevant files. I understand when you don’t worry about the cost, but at reasonable size pasting full codebase can’t be really a thing.

Re: OpenAI Codex CLI: Lightweight coding agent that runs in your terminal

#160
post #149

Earlier quoted context omitted.

Why not just select Gemini Pro 2.5 in Copilot with Edit mode? Virtually unlimited use without extra fees. Copilot used to be useless, but over the last few months has become quite excellent once edit mode was added.

copilot (and others) try to be too smart and do context reduction (to save their own wallets). I want ENTIRETY of the files I attached to context, not RAG-ed version of it.

I believe this is the root of the problem for all agentic coding solutions. They are gimping the full context through fancy function calling and tool use to reduce the full context that is being sent through the API. Problem with this is you can never know what context is actually needed for the problem to be solved in the best way. The funny thing is, this type of behavior actually leads many people to believe these models are LESS capable then they actually are, because people don't realize how restricted these models are behind the scenes by the developers. Good news is, we are entering the era of large context windows and we will all see a huge performance increase in coding as a results of these advancement.
Post reply on HN