Source: https://seerepo.com/compare/anomalyco/opencode/vs/earendil-works/pi
Markdown source: https://seerepo.com/compare/anomalyco/opencode/vs/earendil-works/pi.md
Description: opencode and pi share 3 technologies: Anthropic, marked, and yaml. Both are written in TypeScript.

# opencode vs pi

opencode and pi share 3 technologies: Anthropic, marked, and yaml. Both are written in TypeScript.

- [anomalyco/opencode](https://seerepo.com/r/anomalyco/opencode): The open source coding agent.
- [earendil-works/pi](https://seerepo.com/r/earendil-works/pi): AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI

## What they share and what sets them apart

- In common: Anthropic, marked, yaml
- Only in opencode: Solid, @solidjs/router, Vite, Sentry, MCP, Electron, GitHub, Hono, @clack/prompts, Tailwind CSS, @tailwindcss/vite, @agentclientprotocol/sdk, Zod, Drizzle, jose, htmlparser2, gray-matter, @standard-schema/spec, electron-log, micromark, micromark-extension-gfm, pele, dompurify, katex
- Only in pi: React, OpenAI, lowlight, @aws-sdk/client-bedrock-runtime, @silvia-odwyer/photon-node, highlight.js, typebox, @xterm/headless

## Side by side

| | opencode | pi |
|---|---|---|
| Size | 1,028,811 lines written, 3,839 code files | 677,258 lines written, 1,543 code files |
| Who writes it | 0.3% of its commits signed by AI. With Claude Code, GitHub Copilot, Cursor, and Jules | 0.3% of its commits signed by AI. With Claude Code, Gemini CLI, Cursor, and Amp |
| Activity | Last push November 4, 2026, 21,835 commits, 224,454 stars | Last push November 4, 2026, 7,130 commits, 119,972 stars |
| Tests | 1,608 test files. 35.1% of its code files have a test that imports them | 1,475 test files. 46.8% 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, opencode or pi?

opencode, with 1,028,811 lines written; pi has 677,258.

The proof: [anomalyco/opencode's code at commit ffe6fed](https://github.com/anomalyco/opencode/tree/ffe6fed58334d921f64a86a8d86128bff5a4b566)

### Which has more GitHub stars, opencode or pi?

opencode, with 224,454 stars; pi has 119,972.

The proof: [anomalyco/opencode on GitHub](https://github.com/anomalyco/opencode)

### Which has more tests, opencode or pi?

opencode, with 1,608 test files; pi has 1,475.

The proof: [anomalyco/opencode's code at commit ffe6fed](https://github.com/anomalyco/opencode/tree/ffe6fed58334d921f64a86a8d86128bff5a4b566)

### Which was updated more recently, opencode or pi?

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, opencode or pi?

In both, an AI signed 0.3% of their commits.

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

## Sources

- anomalyco/opencode: Read on November 4, 2026, at commit ffe6fed (https://github.com/anomalyco/opencode/tree/ffe6fed58334d921f64a86a8d86128bff5a4b566)
- earendil-works/pi: Read on November 4, 2026, at commit e885255 (https://github.com/earendil-works/pi/tree/e88525506177d22b6e93029d8f6db1aab323c74a)

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