Live data from Hacker News

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

github.com

61–70 of 298 posts

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

#61
post #29

Earlier quoted context omitted.

To be fair, terminal output is one of the few things where GIF's LZW compression and limited color palettes shine at.

Not as much as https://asciinema.org/ - when you can use that...

True, but embedding a gif is way easier than using a javascript thing which might not be allowed in most places.

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

#62
post #38

Earlier quoted context omitted.

too expensive. I cant understand why everyone is into claude code vs using claude in cursor or windsurf.

Anecdotally, Claude code performs much better than Claude within Cursor. Not sure if it’s a system prompt thing or if I’ve just convinced myself of it because the aesthetic is so much better, but either way the end result feels better to me.

My choice conspiracy is resource allocation and playing favorites.

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

#63

It's very interesting that both OpenAI and Anthropic are releasing tools that run in the terminal, especially with a TUI which is what we showcase. aider was one of the first we listed as terminal tool of the week (0) last year. (1) We recently featured parllama (2) (not our tool) if you like to run offline and online models in the terminal with a full TUI. (0) https://terminaltrove.com/tool-of-the-week/ (1) https://…

Github Copilot had a tool that runs in the terminal for longer I'm pretty confident. I can activate it with syntax "?? " and it'll respond with a command, explaining the parameters. I've been using it quite a bit, for stuff like ffmpeg or writing bash 1-liners.

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

#64

Earlier quoted context omitted.

I think it depends a lot on how you value your time. I'm personally willing to spend hundreds or thousands per month happily if it saves me enough hours. I'd estimate that if I were to do consulting, I'd likely be charging in the $150-250 per hour range, so by my math, it's pretty easy to justify any tools that save me even a few hours per month.

ok but in what way a terminal is a bettter UI than an IDE? I am trying all of them on a weekly basis and windsurf UX seems miles ahead/ more efficient than a terminal. that is also what OAI believes or else they wouldnt try to buy it

After I have a session going on, the Claude Code terminal app has been given the permission to do everything I want it to. Then I just let it burn itself out doing whatever. It's a background task. That's the big advantage. I don't baby sit it.

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

#65
post #35

Earlier quoted context omitted.

Coding agents use extreme numbers of tokens, you’d be getting rate limited effectively immediately. A typical small-medium PR with Claude Code for me is ~$10-15 of API credits.

I didn't know this, thank you for the anecdata! Do you think it'd be more reasonable to generalize my suggestion to "This CLI should be included as part of ChatGPT's pricing"?

Could be reasonable for the $200/month sub maybe?

But then again, $200 upfront is a much tougher sell than $15 dollars per PR.

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

#67

Earlier quoted context omitted.

Coding agents use extreme numbers of tokens, you’d be getting rate limited effectively immediately. A typical small-medium PR with Claude Code for me is ~$10-15 of API credits.

Too expensive for me to use for fun. Cheap enough to put me out of a job. Great. Love it. So excited. Doesn't make me want to go full Into The Wild at all.

I don’t think this is at the level of putting folks out of a job yet, frankly. It’s fine for straightforward changes, but more complex stuff, like concurrency, I still end up doing by hand.

And even for the straightforward stuff, I generally have a mental model of the changes required and give it a high level list of files/code to change, which it then follows.

Maybe the increase in productivity will reduce pressure to hire? We’ll see.

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

#69

Fingers crossed for this to work well! Claude Code is pretty excellent. I’m actually legitimately surprised how good it is, since other coding agents I’ve used before have mostly been a letdown, which made me only use Claude in direct change prompting with Zed (“implement xyz here”, “rewrite this function with abc”, etc), so very hands-on. So I’ve went into trying out Claude Code rather pessimistically, and now I’m u…

too expensive. I cant understand why everyone is into claude code vs using claude in cursor or windsurf.

I tried switching from Claude Code to both Cursor and Windsurf. Neither of the latter IDEs fully support MCP implementations (missing basic things like tool definitions and other vital features last time I tried) and both have been riddled with their own agentic flow issues (cursor going down for a week a bit ago, windsurf requiring paid upgrades to "get around" bugs, etc).

This is all ignoring the controversies that pop up around e.g. Cursor seemingly every week. As an IDE, they're both getting there -- but I have objectively better results in Claude Code.

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

#70

Fingers crossed for this to work well! Claude Code is pretty excellent. I’m actually legitimately surprised how good it is, since other coding agents I’ve used before have mostly been a letdown, which made me only use Claude in direct change prompting with Zed (“implement xyz here”, “rewrite this function with abc”, etc), so very hands-on. So I’ve went into trying out Claude Code rather pessimistically, and now I’m u…

too expensive. I cant understand why everyone is into claude code vs using claude in cursor or windsurf.

If you have AWS credits...

export CLAUDE_CODE_USE_BEDROCK=1

export ANTHROPIC_MODEL=us.anthropic.claude-3-7-sonnet-20250219-v1:0

export ANTHROPIC_API_TYPE=bedrock

Post reply on HN