Compare
opencode vs pi
opencode and pi share 3 technologies: Anthropic, marked, and yaml. Both are written in TypeScript.
What they share and what sets them apart
anomalyco
opencode
The open source coding agent.
TypeScript224.5kRead on November 4, 2026, at commit ffe6fedWhat is opencode built with?earendil-works
pi
AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI
TypeScript120kRead on November 4, 2026, at commit e885255What is pi built with?In common
Only in opencode
Only in pi
Side by side
opencodepi
SizeLines written by people and agents, without generated ones; code files, without tests.
opencode1,028,811 lines written3,839 code files
pi677,258 lines written1,543 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
opencode0.3% of its commits signed by AIWith Claude Code, GitHub Copilot, Cursor, and Jules
pi0.3% of its commits signed by AIWith Claude Code, Gemini CLI, Cursor, and Amp
ActivityFrom GitHub and its history, on the day SeeRepo read it.
opencodeLast push November 4, 202621,835 commits224,454 stars
piLast push November 4, 20267,130 commits119,972 stars
TestsThe files that test the code, and the share of code files a test imports.
opencode1,608 test files35.1% of its code files have a test that imports them
pi1,475 test files46.8% of its code files have a test that imports them
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
Which has more GitHub stars, opencode or pi?
opencode, with 224,454 stars; pi has 119,972.
The proof: anomalyco/opencode on GitHub
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
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
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
What is your repo built with?
Paste your public repo and see it drawn.
Free, no account.