Source: https://seerepo.com/compare/google-gemini/gemini-cli/vs/openai/codex-security
Markdown source: https://seerepo.com/compare/google-gemini/gemini-cli/vs/openai/codex-security.md
Description: gemini-cli and codex-security share 5 technologies: React, MCP, Zod, ink, and Ajv. Both are written in TypeScript.

# gemini-cli vs codex-security

gemini-cli and codex-security share 5 technologies: React, MCP, Zod, ink, and Ajv. Both are written in TypeScript.

- [google-gemini/gemini-cli](https://seerepo.com/r/google-gemini/gemini-cli): An open-source AI agent that brings the power of Gemini directly into your terminal.
- [openai/codex-security](https://seerepo.com/r/openai/codex-security): OpenAI's Codex Security CLI and TypeScript SDK for finding, validating, and fixing security vulnerabilities. npm: https://www.npmjs.com/package/@openai/codex-security

## What they share and what sets them apart

- In common: React, MCP, Zod, ink, Ajv
- Only in gemini-cli: Express, Google Cloud, @a2a-js/sdk, winston, ink-spinner, cli-spinners, ink-gradient, prompts, lowlight, @agentclientprotocol/sdk, @xterm/headless, js-yaml, html-to-text, zod-to-json-schema, ajv-formats, OpenTelemetry
- Only in codex-security: Linear, GitHub, rfc3339-validator, rfc3986-validator, @openai/codex-sdk, yaml, Inquirer, js-tiktoken, papaparse, saxes, pdfjs-dist

## Side by side

| | gemini-cli | codex-security |
|---|---|---|
| Size | 751,495 lines written, 1,079 code files | 568,957 lines written, 393 code files |
| Who writes it | 8.2% of its commits signed by AI. With Gemini CLI, Jules, and GitHub Copilot | 2.1% of its commits signed by AI. With Codex, Claude Code, Cursor, and GitHub Copilot |
| Activity | Last push November 12, 2026, 6,614 commits, 108,785 stars | Last push November 12, 2026, 2,044 commits, 11,854 stars |
| Tests | 1,063 test files. 85.8% of its code files have a test that imports them | 611 test files. 71% 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, gemini-cli or codex-security?

gemini-cli, with 751,495 lines written; codex-security has 568,957.

The proof: [google-gemini/gemini-cli's code at commit aeb6c04](https://github.com/google-gemini/gemini-cli/tree/aeb6c04b093eb00c33585ba587c4889ae4c5e957)

### Which has more GitHub stars, gemini-cli or codex-security?

gemini-cli, with 108,785 stars; codex-security has 11,854.

The proof: [google-gemini/gemini-cli on GitHub](https://github.com/google-gemini/gemini-cli)

### Which has more tests, gemini-cli or codex-security?

gemini-cli, with 1,063 test files; codex-security has 611.

The proof: [google-gemini/gemini-cli's code at commit aeb6c04](https://github.com/google-gemini/gemini-cli/tree/aeb6c04b093eb00c33585ba587c4889ae4c5e957)

### Which was updated more recently, gemini-cli or codex-security?

Both got their last push on November 12, 2026.

The proof: [openai/codex-security's commits on GitHub](https://github.com/openai/codex-security/commits)

### Which has more commits signed by AI, gemini-cli or codex-security?

gemini-cli: an AI signed 8.2% of its commits, with Gemini CLI, Jules, and GitHub Copilot; in codex-security, 2.1%.

The proof: [the commits each tool signed in google-gemini/gemini-cli](https://seerepo.com/r/google-gemini/gemini-cli/ai)

## Sources

- google-gemini/gemini-cli: Read on November 12, 2026, at commit aeb6c04 (https://github.com/google-gemini/gemini-cli/tree/aeb6c04b093eb00c33585ba587c4889ae4c5e957)
- openai/codex-security: Read on November 12, 2026, at commit 2911786 (https://github.com/openai/codex-security/tree/2911786f243f08fd61ad854f5c527e7b0c404ccc)

## 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.
