{"data":{"slug":"openai-codex-cli","name":"OpenAI Codex CLI","tagline":"Terminal coding agent from OpenAI","category":"agents","categoryName":"AI Agents","url":"https://github.com/openai/codex","github":"https://github.com/openai/codex","pricing":"freemium","hook":"OpenAI Codex CLI is the terminal rival to Claude Code, backed by OpenAI infrastructure.","whatsGood":"OpenAI enters the terminal agent race with their own coding CLI. The open-source client connects to OpenAI models with the same agentic loop as Claude Code—read files, write code, run commands, iterate. Deep integration with OpenAI ecosystem and models. The CLI itself is open; you can read the code and understand how it works.","theCatch":"The CLI is open-source, but the frontier models powering it sit behind ChatGPT Plus, Pro, or Enterprise subscriptions. You are paying OpenAI either way. Feature parity with Claude Code is still catching up.","verdict":"OpenAI answer to terminal agents. Open CLI, paid models.","addedAt":"2026-08-19","featured":false,"domain":"AI Agents","subSpecialty":"Coding Agents","capabilities":["terminal","coding","cli"],"surfaces":["CLI","Hosted"],"ecosystem":["Multi-platform"],"licenseModel":"Freemium","githubStars":121131},"related":[{"slug":"claude-code","name":"Claude Code","tagline":"Terminal-first coding agent with deep repository context"},{"slug":"cursor","name":"Cursor","tagline":"The AI-first code editor that understands your codebase"},{"slug":"devin","name":"Devin","tagline":"Autonomous AI engineer for defined engineering tasks"},{"slug":"stagehand","name":"Stagehand","tagline":"AI-native browser automation that mixes code and natural language"},{"slug":"browser-use","name":"Browser Use","tagline":"Open-source framework for LLM-driven browser agents"}],"links":{"self":"/api/gems/openai-codex-cli","html":"/gems/openai-codex-cli","markdown":"/gems/openai-codex-cli.md","category":"/api/gems?category=agents","categoryPage":"/stacks/agents"}}