openai

    openai/codex

    #63 this week

    Lightweight coding agent that runs in your terminal

    cli
    Rust
    Apache-2.0
    128.4K stars
    20.2K forks
    128.4K GitHub watchers
    Updated Oct 10, 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 #3 among CLI repositories tracked this week, and #1 over the last 30 days; #63 of 2,841 repositories GStars tracks this week (top 2%).

    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 14, 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

    Jul 13: +320Jul 14: +364Jul 15: +409Jul 16: +369Jul 17: +305Jul 18: +235Jul 19: +279Jul 20: +379Jul 21: +343Jul 22: +313Jul 23: +283Jul 24: +273Jul 25: +169Jul 26: +203Jul 27: +266Jul 28: +258Jul 29: +269Jul 30: +235Jul 31: +278Aug 1: +203Aug 2: +204Aug 3: +307Aug 4: +278Aug 5: +252Aug 6: +225Aug 7: +265Aug 8: +144Aug 9: +156Aug 10: +200Aug 11: +199Aug 12: +208Aug 13: +189Aug 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: +55

    +31,083 stars over 90 days across 68 snapshot days; best day +454 on Aug 27.

    Forks

    20.2K+5.7K

    Open issues

    22.0K+12.9K

    Compared with peers in CLI

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 4, 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
    mattpocock/skills289.7K+10.3K759 days ago
    Panniantong/Agent-Reach97.0K+5.8K46124 days ago
    ifixai-ai/iFixAi23.1K+4.2K562 days ago
    addyosmani/agent-skills106.2K+3.7K75today
    mvschwarz/openrig7.4K+2.3K651 day ago
    openai/codex128.4K+075today
    Category median97.0K+4.2K65—

    Also by openai

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description