Live data from Hacker News

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

github.com

91–100 of 298 posts

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

#91
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…

[deleted]

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

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

I asked the same question for Anthropic's version of this. Why is all of this in JS?

Tree-sitter related bits probably

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

#93
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?

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

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

if OpenAI had really smart models, they would converted TS/JS apps to Go or Rust apps.

Since they don't, AGI is not here

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

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

It might shock you but many of use editors built on browsers for editing source code.

I think the encapsulating comment from a another guy (in Docker or any other of your favorite VM) might be your solution.

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

#96
post #14

If one of these tools has broad model support (like aider) it would be a game changer.

If aiders creator sees this, any plans on implementing agentic mode, or something more autonomous like claude cli works? Would love to have an independent tool doing that.

It'd be great if this (or similar) got merged: https://github.com/Aider-AI/aider/pull/3781

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

#98

Here is the prompt template, in case you're interested: const prefix = `You are operating as and within the Codex CLI, a terminal-based agentic coding assistant built by OpenAI. It wraps OpenAI models to enable natural language interaction with a local codebase. You are expected to be precise, safe, and helpful. You can: - Receive user prompts, project context, and files. - Stream responses and emit function calls (e…

> - Check if you accidentally add copyright or license headers. If so, remove them.

is interesting

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

#99
post #76

Earlier quoted context omitted.

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

Browsers just need to support already. It should behave exactly like a GIF, loop by default, and be usable for emojis and everything. There is absolutely ZERO reason we should be stuck to 256 colors for things like cat videos used as chat stickers. We have had 24-bit displays for ages.

Animated webp has pretty good browser support by now and Discord uses it by default to serve animated emojis and stickers.

However, many image hosting tools still don't let you upload webp.

[1] https://caniuse.com/webp

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

#100

Earlier quoted context omitted.

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.

yes! It's great! I like it!

But it has one downside: It's not so good on unknown big complex code bases where you don't know how it's structured. I wished they (or somebody else) would add an AI or an automation to add files dynamically or in a smart way when you don't know the codebase structure (with the expense of burning more tokens).

I'm thinking Codex (have not checked it yet), Claude Code, Anon Kode and all the AI editors/plugins doing a better job there (and potentially burning more tokens).

But that's the only downside I can think of about aider.

Post reply on HN