Source: https://seerepo.com/compare/openai/codex/vs/PrimeIntellect-ai/prime-agent
Markdown source: https://seerepo.com/compare/openai/codex/vs/PrimeIntellect-ai/prime-agent.md
Description: codex and prime-agent share 5 technologies: Tokio, Ratatui, crossterm, hmac, and tracing. Both are written in Rust.

# codex vs prime-agent

codex and prime-agent share 5 technologies: Tokio, Ratatui, crossterm, hmac, and tracing. Both are written in Rust.

- [openai/codex](https://seerepo.com/r/openai/codex): Lightweight coding agent that runs in your terminal
- [PrimeIntellect-ai/prime-agent](https://seerepo.com/r/PrimeIntellect-ai/prime-agent): A self-improving RLM agent for coding workflows and long-running autonomous tasks.

## What they share and what sets them apart

- In common: Tokio, Ratatui, crossterm, hmac, tracing
- Only in codex: axum, lru, SQLite, Sentry, tower, objc2-app-kit, objc2-foundation, keyring, rmcp, png, image, pulldown-cmark, zip, schemars, Pydantic, tracing-subscriber, log, tracing-appender
- Only in prime-agent: MCP, pillow

## Side by side

| | codex | prime-agent |
|---|---|---|
| Size | 2,320,674 lines written, 4,216 code files | 685,422 lines written, 872 code files |
| Who writes it | 2.8% of its commits signed by AI. With Codex, Claude Code, and GitHub Copilot | 0.4% of its commits signed by AI. With Claude Code, Gemini CLI, and Amp |
| Activity | Last push November 4, 2026, 13,099 commits, 133,103 stars | Last push November 4, 2026, 5,064 commits, 22,571 stars |
| Tests | 2,448 test files. 51.6% of its code files have a test that imports them | 479 test files. 41.5% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, codex or prime-agent?

codex, with 2,320,674 lines written; prime-agent has 685,422.

The proof: [openai/codex's code at commit 021fccb](https://github.com/openai/codex/tree/021fccb046508938c4754982efccfb51d6e8356e)

### Which has more GitHub stars, codex or prime-agent?

codex, with 133,103 stars; prime-agent has 22,571.

The proof: [openai/codex on GitHub](https://github.com/openai/codex)

### Which has more tests, codex or prime-agent?

codex, with 2,448 test files; prime-agent has 479.

The proof: [openai/codex's code at commit 021fccb](https://github.com/openai/codex/tree/021fccb046508938c4754982efccfb51d6e8356e)

### Which was updated more recently, codex or prime-agent?

Both got their last push on November 4, 2026.

The proof: [PrimeIntellect-ai/prime-agent's commits on GitHub](https://github.com/PrimeIntellect-ai/prime-agent/commits)

### Which has more commits signed by AI, codex or prime-agent?

codex: an AI signed 2.8% of its commits, with Codex, Claude Code, and GitHub Copilot; in prime-agent, 0.4%.

The proof: [the commits each tool signed in openai/codex](https://seerepo.com/r/openai/codex/ai)

## Sources

- openai/codex: Read on November 4, 2026, at commit 021fccb (https://github.com/openai/codex/tree/021fccb046508938c4754982efccfb51d6e8356e)
- PrimeIntellect-ai/prime-agent: Read on November 4, 2026, at commit 74591cd (https://github.com/PrimeIntellect-ai/prime-agent/tree/74591cddef28d11249c3171112114fc4755375d7)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
