Live data from Hacker News

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

github.com

221–230 of 298 posts

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

#221
post #181

Earlier quoted context omitted.

"gemini 2.5 pro exp" is superior to Claude Sonnet 3.7 when I use it with Aider [1]. And it is free (with some high limit). [1] https://aider.chat/

Compared to cline aider had no chance, the last time I tried it (4 month ago). Has it really changed? Always thought cline is superior because it focuses on sonnet with all its bells an whistles. While aider tries to be an universal ide coding agent which works well with all models. When I try gemmini 2.5 pro exp with cline it does very well but often fails to use the tools provided by cline which makes it way less e…

It has multiple edit modes, you have to pair them up properly

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

#222
post #150

Earlier quoted context omitted.

Just don't export it? OPENAI_API_KEY="your-api-key-here" codex

Yea that’s not gonna work, you have to export it for it to become part of your shell’s environment and be passed down to subprocesses. You could however wrap the export variable and codex command in a script and just call that. This way the variable would only be part of that script’s environment.

That code example uses the "VAR=VALUE program" syntax, which exports the variable only for that particular process, so it should work (https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V...)

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

#223

Earlier quoted context omitted.

How can it be a skill problem when the tool itself is sold as being skilled?

You're using it wrong, you're using the wrong version etc etc insert all the excuses how it's never the tool but the users fault.

If this is truly your perspective, you've already lost the plot.

It's almost always the users fault when it comes to tools. If you're using it and it's not doing its 'job' well - it's more likely that you're using it wrong than it is that it's a bad tool. Almost universally.

Right tool for the job, etc etc. Also important that you're using it right, for the right job.

Claude Code isn't meant to refactor entire projects. If you're trying to load up 100k token "whole projects" into it - you're using it wrong. Just a fact. That's not what this tool is designed to do. Sure.. maybe it "works" or gets close enough to make people think that is what it's designed for, but it's not.

Detailed, specific work... it excels, so wildly, that it's astonishing to me that these takes exist.

In saying all of that, there _are_ times I dump huge amounts of context into it (Claude, projects, not Claude Code - cause that's not what it's designed for) and I don't have "conversations" with it in that manner. I load it up with a bunch of context, ask my question/give it a task and that first response is all you need. If it doesn't solve your concern, it should shine enough light that you now know how you want to address it in a more granular fashion.

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

#225
post #39

Earlier quoted context omitted.

You get the same results for cheaper by using a different tool (Windsurf's better imho).

That may be, but I think tools with a fixed monthly fee are always going to have an incentive to reduce their own costs on the backend and route you toward less capable models, cut down context size, produce less output, stop before the task is truly finished, etc. Given how much time these models can save me, I'd rather optimize for capability and just accept whatever the price is as a cost of doing business. (Withi…

It's literally the same model. I can build more complex stuff in windsurf as the IDE is better than Cline/Roocode integration in vscode. It's still the same model under the hood. Sonnet 202500219

I mean, you pour money down the drain if you think it's helping, have at it :P

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

#226
post #39

Earlier quoted context omitted.

You get the same results for cheaper by using a different tool (Windsurf's better imho).

I've spent more than 40 hours/week and close to $1,000 in API credits using these tools. For me the ranking goes. But, we all will have difference experiences. 1. Claude Code 2. Cursor 3. Cline. 4. Windsurf

How you can place windsuf in number 4 is interesting, especially given it's very similar to cursor but is leaner on the UI and Cline is a vs-code plugin that very verbose.

I'll stick with Windsurf, especially given their upcoming announcement.

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

#227

Earlier quoted context omitted.

I keep seeing this sentiment and it's wild to me. Sure, it might cost a few dollars here and there. But what I've personally been getting from it, for that cost, is so far away from "expensive" it's laughable. Not only does it do things I don't want to do, in a _super_ efficient manner. It does things I don't know how to do - contextually, within my own project, such that when it's done I _do_ know how to do it. Like…

How can it be a skill problem when the tool itself is sold as being skilled?

Serious question?

Is it a tool problem or a skill problem when a surgeon doesn't know how to use a robotic surgery assistant/robot?

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

#228

Earlier quoted context omitted.

I keep seeing this sentiment and it's wild to me. Sure, it might cost a few dollars here and there. But what I've personally been getting from it, for that cost, is so far away from "expensive" it's laughable. Not only does it do things I don't want to do, in a _super_ efficient manner. It does things I don't know how to do - contextually, within my own project, such that when it's done I _do_ know how to do it. Like…

This comment echoes my own experience with Claude. Especially the advice about only pulling in the context you need. I'm a paying customer and I know my time is sufficiently valuable that this kind of technology pays for itself. As an analogy, I liken it to a scribe (author's assistant). Your comment has lots of useful hints -- thanks for taking the time to write them up!

I like the scribe analogy. And, just like a scribe, my primary complaint with claude code isn't the cost or the context - but the speed. It's just so slow :D

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

#230

Earlier quoted context omitted.

You're using it wrong, you're using the wrong version etc etc insert all the excuses how it's never the tool but the users fault.

If this is truly your perspective, you've already lost the plot. It's almost always the users fault when it comes to tools. If you're using it and it's not doing its 'job' well - it's more likely that you're using it wrong than it is that it's a bad tool. Almost universally. Right tool for the job, etc etc. Also important that you're using it right, for the right job. Claude Code isn't meant to refactor entire projec…

The unpredictable non-deterministic black box with an unknown training set, weights and biases is behaving contrary to how it's advertised? The fault lies with the user, surely.
Post reply on HN