Skip to main content
Agent Frameworks & OrchestrationProduction

Codex CLI

openai / codex

OpenAI’s local coding agent: Rust binary, OS-level sandbox, MCP and cloud-task handoff, built for editing code in the terminal.

135.9k stars 21552 forks Rust Language Apache-2.0 License Last push 2026-11-20

Why choose it

  • OS-level sandboxing limits what a command can touch.
  • MCP support lets it use external tools without custom glue.
  • Cloud-task handoff covers work that outgrows a terminal session.

Not for

You need a GUI-first coding assistant.
You cannot grant a terminal agent filesystem access.

Minimum setup

  1. Run it in a disposable repo with the sandbox enabled.
  2. Ask for a one-file change and inspect the diff.
  3. Test a command that should be blocked and confirm the sandbox stops it.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is Apache-2.0; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • OpenCode — Production,An open-source coding agent in the terminal: separate build and plan agents, LSP feedback, 75+ model providers and a desktop beta.
  • OpenHands — Production,A software-engineering agent that can read code, edit it and run commands, with CLI, web UI and a sandboxed runtime.
  • OpenAI Agents SDK — Start here,A lightweight agent runtime with four core ideas: agents, handoffs, guardrails and traces.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.