CodexLocal terminal coding agent from OpenAI
piMinimal extensible AI agent and coding CLI
Codex vs pi
How Codex and pi compare on popularity, activity, license and platforms: two open-source AI Assisted Coding projects, both alternatives to Claude Code, Codiumate and Cursor.
At a glance
- Codex has more GitHub stars (137.3k vs 125.6k).
- Both are actively maintained (last commits today and today).
- Codex uses Apache-2.0; pi uses MIT (both permissive).
Side by side
| Codex | pi | |
|---|---|---|
| GitHub stars | ★ 137,303 +865 in 9 days | ★ 125,576 +1896 in 10 days |
| Forks | 21,745 | 16,265 |
| Last commit | today | today |
| Latest version | rust-v0.174.0 | v1.8.0 |
| Repository started | April 2025 | August 2025 |
| License | Apache-2.0 · permissive | MIT · permissive |
| Self-hosted | Desktop/CLI app | Desktop/CLI app |
| Platforms | Linux, macOS, Windows, CLI | Linux, macOS, Windows, CLI |
| Main language | Rust | TypeScript |
| Alternative to | Claude Code, Codiumate, Cursor, Devin, GitHub Copilot, Jules | Claude Code, Codiumate, Cursor, Devin, GitHub Copilot, Jules |
Highlighted: more stars or forks, or a last commit at least two weeks more recent. Data from GitHub, updated 4 December 2026.
Codex
Codex CLI is OpenAI's coding agent that runs on your computer from the terminal, with sign-in through ChatGPT plans or API keys.
Key features
- Terminal-based coding agent
- Mac, Linux, and Windows installers
- ChatGPT plan sign-in
- Optional API key access
- GitHub Release binaries
- Package manager installs
pi
Pi is a minimal, extensible agent harness with a unified multi-provider LLM stack, terminal UI, and interactive coding agent CLI. Customize it with extensions, skills, packages, and automate via print, JSON, or RPC modes.
Key features
- Interactive coding agent CLI
- Unified multi-provider LLM API
- Extensions, skills, and Pi packages
- Terminal UI with differential rendering
- Print, JSON, and RPC automation modes
- TypeScript SDK for custom apps