back

OpenAI Open Sources Codex: The CLI Coding Agent

Codeex: OpenAI’s open source CLI coding assistant explained

OpenAI recently released Codeex, a lightweight command-line coding assistant that runs directly in your terminal. If the name sounds familiar, that’s because Codeex was originally introduced back in 2021 as an AI system that translated natural language to code. This new CLI tool appears to be OpenAI’s response to Anthropic’s recently released Claude Code.

What is Codeex?

Codeex is a terminal-based coding assistant that lets you make changes to your codebase using natural language commands. It’s not powered by a new model—instead, it leverages existing models like GPT-3.5 (03) or GPT-4 Mini (04 mini) under the hood.

The key difference between Codeex and other AI coding tools is that it’s fully open source, which should lead to rapid community improvements over time.

How to get started

Getting Codeex up and running is straightforward:

  • Install Codeex via npm (requires Node.js version 22 or higher)
  • Get an OpenAI API key
  • Set up your API key in the terminal
  • Run the “codeex” command in your project directory

By default, Codeex uses GPT-4 Mini, but you can specify other models like GPT-3.5

Recent Videos

May 6, 2026

Hermes Agent Master Class

https://www.youtube.com/watch?v=R3YOGfTBcQg Welcome to the Hermes Agent Master Class — an 11-episode series taking you from zero to fully leveraging every feature of Nous Research's open-source agent. In this first episode, we install Hermes from scratch on a brand new machine with no prior skills or memory, walk through full configuration with OpenRouter, tour the most important CLI and slash commands, and run our first real task: a competitor research report on a custom children's book AI business idea. Every future episode will build on this fresh install so you can see the compounding value of the agent in real time....

Apr 29, 2026

Andrej Karpathy – Outsource your thinking, but you can’t outsource your understanding

https://www.youtube.com/watch?v=96jN2OCOfLs Here's what Andrej Karpathy just figured out that everyone else is still dancing around: we're not in an era of "better models." We're in a different era of computing altogether. And the difference between understanding that and not understanding it is the difference between being a vibe coder and being an agentic engineer. Last October, Karpathy had a realization. AI didn't stop being ChatGPT-adjacent. It fundamentally shifted. Agentic coherent workflows started to actually work. And he's spent the last three months living in side projects, VB coding, exploring what's actually possible. What he found is a framework that explains...

Mar 30, 2026

Andrej Karpathy on the Decade of Agents, the Limits of RL, and Why Education Is His Next Mission

A summary of key takeaways from Andrej Karpathy's conversation with Dwarkesh Patel In a wide-ranging conversation with Dwarkesh Patel, Andrej Karpathy — former head of AI at Tesla, founding member of OpenAI, and creator of some of the most popular AI educational content on the internet — shared his views on where AI is headed, what's still broken, and why he's now pouring his energy into education. Here are the key takeaways. "It's the Decade of Agents, Not the Year of Agents" Karpathy's now-famous quote is a direct pushback on industry hype. Early agents like Claude Code and Codex are...