Live data from Hacker News

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

github.com

81–90 of 298 posts

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

#81

Earlier quoted context omitted.

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

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.

Are you still working 40 hours a week? If so, what's the difference?

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

#82
post #68

Sorry for being a grumpy old man, but I don't have npm on my machine and I never will. It's a bit frustrating to see more and more CLI tools depending on it.

What are your concerns?

The entire JS ecosystem.

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

#83
post #68

Sorry for being a grumpy old man, but I don't have npm on my machine and I never will. It's a bit frustrating to see more and more CLI tools depending on it.

Judge the packages on their dependencies, not on their package manager.

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

#84

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

I like the terminal UX because VS Code (and any forks of it) is not my editor of choice, and swapping around to use an editor just for AI coding is annoying (I was doing that with the Zed Assistant a lot).

With Claude Code I can stay in Goland, and have Claude Code in the terminal.

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

#85

Earlier quoted context omitted.

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

and where are these export used? Ader?

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

#86

Earlier quoted context omitted.

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

Is this for Claude Code?

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

#87
post #68

Sorry for being a grumpy old man, but I don't have npm on my machine and I never will. It's a bit frustrating to see more and more CLI tools depending on it.

Same, there are so many options these days for writing CLIs without runtime dependencies. I definitely prefer static binaries.

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

#88

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…

Claude Code has a closed license https://github.com/anthropics/claude-code/blob/main/LICENSE.... There is fork named Anon Kode https://github.com/dnakov/anon-kode which can use more models and non-Anthropic ones. But the license is unclear for it. It's interesting to see codex to be Apache License. Maybe somebody extends it to be usable with competing models.

In terms of terminal-based and open-source, I think aider is the most popular one.

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

#89
post #68

Sorry for being a grumpy old man, but I don't have npm on my machine and I never will. It's a bit frustrating to see more and more CLI tools depending on it.

You could just run it in a Docker container and not think about it much after that. Mount a volume to the container with the directory contents you want to be available for edit by the agent.

https://github.com/openai/codex/blob/main/codex-cli/scripts/...

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

#90
post #68

Sorry for being a grumpy old man, but I don't have npm on my machine and I never will. It's a bit frustrating to see more and more CLI tools depending on it.

Why? I am not the biggest fan of needing a whole VM to run CLI tools either, but it's a low-enough friction experience that I don't particularly care as long as the runtime environment is self-contained.
Post reply on HN