Live data from Hacker News

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

github.com

141–150 of 298 posts

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

#141
post #121

Earlier quoted context omitted.

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.

You could also try JetBrains' Junie and Sourcegraph Cody.

I was very unimpressed with their original AI assistance implementation, so I’m gonna wait to see some user stories / reviews before I put my time into that, and so far I have seen effectively no mention of Junie anywhere.

Moreover, there’s no way to bring your own key, with the highest subscription tier being $20 per month flat it seems, which is the cost of just 1-3 sessions with Claude Code. Thus, without evidence to the contrary, I’m not holding my breath for now.

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

#142

So even if you have a plus account, there will be a charge for the API use? I mean I kind of get it, but it does seem like they are almost penalizing people who could code in the browser with the canvas feature but prefer to use a terminal. Do I have that right?

I'd love if tools like this one were available for non-API users as well, even if we had to be rate limited at some point. But I guess OpenAI will never do it because it incentivizes people to use the ChatGPT subscriptions as a gateway for programmatic access to the models.

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

#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.

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

#144

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.

Or, increasingly, how the company values your time. If Claude Code can make a $100K/year dev 10% more productive, it's worth it to the employer to pay anything under $1600/month for it (assuming fully loaded cost of the employee to the business is twice salary).

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

#146
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.

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.

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

#147
post #58
post #3

What's the point of making the gif run so fast you can't even see shit

LLMs currently prefer to give you a wall of text in the hope that some of it is correct/answers your question, rather than giving a succinct, atomic, and correct answer. I'd prefer the latter personally.

Try o3. My (very limited) experience with it is that it is refreshingly free of the normal LLM flattery, hedging, and overexplaining. It figures out your answer and gives it to you straight.

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

#149
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.

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.

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

#150
post #13

Next, set your OpenAI API key as an environment variable: export OPENAI_API_KEY="your-api-key-here" Note: This command sets the key only for your current terminal session. To make it permanent, add the export line to your shell's configuration file (e.g., ~/.zshrc). Can't any 3rd party utility running in the same shell session phone home with the API key? I'd ideally want only codex to be able to access this var

Just don't export it?

    OPENAI_API_KEY="your-api-key-here" codex
Post reply on HN