Live data from Hacker News

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

github.com

11–20 of 298 posts

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

#12
Cool to see more interesting terminal based options! Looking forward to trying this out.

I've been working on something related—Plandex[1], an open source AI coding agent that is particularly focused on large projects and complex tasks.

I launched the v2 a few weeks ago and it is now running well. In terms of how to place it in the landscape, it’s more agentic than aider, more configurable and tightly controlled than Devin, and more provider-agnostic/multi-provider/open source than Claude Code or this new competitor from OpenAI.

I’m still working on getting the very latest models integrated. Gemini Pro 2.5 and these new OpenAI models will be integrated into the defaults by the end of the week I hope. Current default model pack is a mix of Sonnet 3.7, o3-mini with various levels of reasoning effort, and Gemini 1.5 Pro for large context planning. Currently by default, it supports 2M tokens of context directly and can index and work with massive projects of 20M tokens and beyond.

Very interested to hear HN’s thoughts and feedback if anyone wants to try it. I'd also welcome honest comparisons to alternatives, including Codex CLI. I’m planning a Show HN within the next few days.

1 - https://github.com/plandex-ai/plandex

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

#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

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

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

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

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

If you let malicious code run unsandboxed on your main account then you probably have bigger problems than an OpenAI API key getting leaked.

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

#16
post #11
post #3

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

People somehow seem to be adverse to making the shift from GIF to H.264

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

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

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

[deleted]

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

#19

Cool to see more interesting terminal based options! Looking forward to trying this out. I've been working on something related—Plandex[1], an open source AI coding agent that is particularly focused on large projects and complex tasks. I launched the v2 a few weeks ago and it is now running well. In terms of how to place it in the landscape, it’s more agentic than aider, more configurable and tightly controlled than…

People are downvoting you for self promotion. But I will try it. I’m very interested in agentic assistants that are independent. Aider is my go-to tool but sometimes I just want to let a model rip through a code base.

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

#20
post #15
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

If you let malicious code run unsandboxed on your main account then you probably have bigger problems than an OpenAI API key getting leaked.

You mean running npm update at the "wrong time"?
Post reply on HN