openai

    openai/codex

    #39 this week

    Lightweight coding agent that runs in your terminal

    cli
    Rust
    Apache-2.0
    134.8K stars
    21.3K forks
    665 GitHub watchers
    Updated Nov 11, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #4 among CLI repositories ranked this week, and #8 over the last 30 days; #39 of 163 repositories with measured growth this week (top 24%).

    This week's +1,760 stars is ahead of its 30-day pace of about +1,386 per week.

    5 releases in the last 90 days, the latest today, with 478 contributors on GitHub.

    Peaked at #2 in the weekly ranking the week of Sep 28, its best in the past year.

    Use Cases & Benefits

    • OpenAI Codex CLI is a lightweight Rust-based coding agent that runs locally in the terminal, enabling code generation, refactoring, and automation.
    • Key features include sandboxed execution, multiple autonomy levels, integration with ChatGPT and OpenAI API, and support for Open Source models and MCP tools.
    • Strengths are strong sandboxing for safety, flexible authentication, and extensive configuration; limitations include experimental status and platform-specific sandbox support.
    • High popularity with 36,767 stars and 4,226 forks indicates strong community adoption and active development since its 2025 launch.
    • Ideal for developers seeking AI-assisted coding in local or CI environments, especially those needing secure, customizable, and offline-capable coding automation.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    npm i -g @openai/codex or brew install codex

    Codex CLI is a coding agent from OpenAI that runs locally on your computer.If you are looking for the cloud-based agent from OpenAI, Codex Web, see chatgpt.com/codex.

    Excerpt from the openai/codex README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Aug 14: +228Aug 15: +145Aug 16: +56Aug 27: +454Aug 28: +361Aug 29: +231Aug 30: +269Aug 31: +367Sep 1: +256Sep 2: +283Sep 3: +271Sep 4: +285Sep 5: +210Sep 6: +219Sep 7: +279Sep 8: +300Sep 9: +292Sep 10: +274Sep 11: +303Sep 12: +211Sep 13: +197Sep 14: +302Sep 15: +274Sep 16: +347Sep 17: +223Sep 18: +183Sep 19: +169Sep 20: +205Sep 21: +230Sep 22: +97Oct 2: +41Oct 10: +55Oct 23: +162Oct 24: +189Nov 2: +245Nov 3: +146Nov 4: +126Nov 5: +174Nov 6: +171Nov 7: +144Nov 8: +85Nov 9: +246

    +29,040 stars over 90 days across 51 snapshot days; best day +454 on Aug 27.

    Forks

    21.3K+5.3K

    Open issues

    27.1K+14.6K

    Compared with peers in CLI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    openai/codex compared with CLI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    morluto/rea450.0K+22.9K7516 days ago
    mattpocock/skills320.9K+9.5K7512 days ago
    vercel-labs/agent-desktop21.4K+8.7K755 days ago
    stablyai/orca121.4K+6.7K75today
    vercel-labs/agent-browser49.2K+3.8K751 day ago
    openai/codex134.8K+1.8K75today
    Category median121.4K+8.7K75—

    Also by openai

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description