Source: https://seerepo.com/compare/earendil-works/pi/vs/google-gemini/gemini-cli
Markdown source: https://seerepo.com/compare/earendil-works/pi/vs/google-gemini/gemini-cli.md
Description: pi and gemini-cli share 4 technologies: React, lowlight, marked, and @xterm/headless. Both are written in TypeScript.

# pi vs gemini-cli

pi and gemini-cli share 4 technologies: React, lowlight, marked, and @xterm/headless. Both are written in TypeScript.

- [earendil-works/pi](https://seerepo.com/r/earendil-works/pi): AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI
- [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.

## What they share and what sets them apart

- In common: React, lowlight, marked, @xterm/headless
- Only in pi: OpenAI, Anthropic, yaml, @aws-sdk/client-bedrock-runtime, @silvia-odwyer/photon-node, highlight.js, typebox
- Only in gemini-cli: Express, MCP, @agentclientprotocol/sdk, Zod, winston, ink, cli-spinners, prompts, js-yaml, html-to-text, Ajv, zod-to-json-schema, ajv-formats, OpenTelemetry

## Side by side

| | pi | gemini-cli |
|---|---|---|
| Size | 677,258 lines written, 1,543 code files | 735,894 lines written, 1,072 code files |
| Who writes it | 0.3% of its commits signed by AI. With Claude Code, Gemini CLI, Cursor, and Amp | 8.2% of its commits signed by AI. With Gemini CLI, Jules, and GitHub Copilot |
| Activity | Last push November 4, 2026, 7,130 commits, 119,972 stars | Last push November 4, 2026, 6,573 commits, 108,723 stars |
| Tests | 1,475 test files. 46.8% of its code files have a test that imports them | 1,056 test files. 86.1% 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, pi or gemini-cli?

gemini-cli, with 735,894 lines written; pi has 677,258.

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

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

pi, with 119,972 stars; gemini-cli has 108,723.

The proof: [earendil-works/pi on GitHub](https://github.com/earendil-works/pi)

### Which has more tests, pi or gemini-cli?

pi, with 1,475 test files; gemini-cli has 1,056.

The proof: [earendil-works/pi's code at commit e885255](https://github.com/earendil-works/pi/tree/e88525506177d22b6e93029d8f6db1aab323c74a)

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

Both got their last push on November 4, 2026.

The proof: [earendil-works/pi's commits on GitHub](https://github.com/earendil-works/pi/commits)

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

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

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

## Sources

- earendil-works/pi: Read on November 4, 2026, at commit e885255 (https://github.com/earendil-works/pi/tree/e88525506177d22b6e93029d8f6db1aab323c74a)
- google-gemini/gemini-cli: Read on November 4, 2026, at commit 89e9d25 (https://github.com/google-gemini/gemini-cli/tree/89e9d25d67e7dc7cb0deb84ad2c3474b7a392d31)

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