Skip to content
ADE Index

Codex CLI vs OpenCode vs Pi vs Zap

Up to four tools, row by row. We do not guess: a cell we have not checked says so.

This page compares the four CLI agents only. Codex has 5 other listings, each with its own page.

How they differ

Price
SystemsCodex CLI 4 · OpenCode 2 · Pi 4 · Zap 2 · 2 in all
,
Nothing the others do not have
,
Nothing the others do not have
Show 2 shared
,
Pick this if…

Paraphrased from each maker’s own description. Select a line for the quote.

Not yet checked for any of these tools: agents it runs.

Dotted values open their quote.

What each can do

Select an answer to see the maker’s sentence, or what we searched.

We have not checked Zap’s capabilities yet. 26 capabilities are checked for at least two of these tools. 8 get different answers, among them Approval modes, Subagents, Editor integration and Plan mode; 4 differ only in a limit. 7 others are checked for one tool only.

Differences only12
  • Yesthe maker documents it
  • With add-onAdd-onsomething the maker publishes that you install or run
  • No, per makerNothe maker says it does not
  • *its limit or add-on is named under the row
  • Emptynot yet checked
  • From the listingthe listing’s own facts; not one of the capabilities we check

Models, keys and usage

Bring your own keyFrom the listing
Named model providersFrom the listing
,,,
Listing also names: LM Studio
,,,,,,,,
+2 more model providers
,
and others; list may be partial
Listing also names: SpaceXSI (Grok), GitHub Copilot
,,,,,,,,
+17 more model providers
,,,,,,,,,,,,,,,,
and others; list may be partial
Listing also names 5 othersSpaceXSI (Grok), Z.ai, OpenCode Console (OpenCode Zen), Microsoft Foundry (Azure AI Foundry), Meta AI (Llama)
,,,,,,,,
+1 more model providers
Listing also names: SpaceXSI (Grok)
Local modelsNot yet checked: Zap
Not yet checked for Zap
Custom OpenAI-compatible endpointNot yet checked: Zap
Not yet checked for Zap
Token and cost usageNot yet checked: Zap
Not yet checked for Zap

MCP, hooks, skills and subagents

MCP serversNot yet checked: Zap
local and remote
local and remote
local and remote
Not yet checked for Zap
HooksNot yet checked: Zap
Not yet checked for Zap
SkillsNot yet checked: Zap
Not yet checked for Zap
SubagentsNot yet checked: Zap
Not built in; Subagent example
Not yet checked for Zap
PluginsNot yet checked: Zap
Not yet checked for Zap
Custom commandsNot yet checked: Zap
Not yet checked for Zap

Editors, scripts and CI

Editor integrationNot yet checked: Pi, Zap
Codex editor extension
ACP clients such as Zed
Not yet checked for Pi
Not yet checked for Zap
Headless modeNot yet checked: Zap
Not yet checked for Zap
JSON outputNot yet checked: Zap
Not yet checked for Zap
GitHub integrationNot yet checked: OpenCode, Pi, Zap
Codex GitHub Action
Not yet checked for OpenCode
Not yet checked for Pi
Not yet checked for Zap

Review, steer and undo

Plan modeNot yet checked: Zap
Not built in; Plan Mode example
Not yet checked for Zap
Read-only modeNot yet checked: Zap
Plan profile; shell still asks
Not built in; Plan Mode example
Not yet checked for Zap
Review diffsNot yet checked: Pi, Zap
In ACP permission requests
Not yet checked for Pi
Not yet checked for Zap
Undo file editsNot yet checked: Codex CLI, Zap
Not yet checked for Codex CLI
Maker's git-checkpoint example
Not yet checked for Zap

Parallel agents

Parallel sessionsNot yet checked: Codex CLI, Pi, Zap
Not yet checked for Codex CLI
Not yet checked for Pi
Not yet checked for Zap
Git worktreesNot yet checked: Pi, Zap
Local execution only
Not yet checked for Pi
Not yet checked for Zap

Context and memory

Project instruction filesNot yet checked: Zap
Not yet checked for Zap
Memory across sessionsNot yet checked: OpenCode, Pi, Zap
Off by default; local memories
Not yet checked for OpenCode
Not yet checked for Pi
Not yet checked for Zap
Resume a sessionNot yet checked: Zap
Not yet checked for Zap
Browse past sessionsNot yet checked: Zap
Not yet checked for Zap

Remote and mobile control

Remote controlNot yet checked: OpenCode, Pi, Zap
To a running app server
Not yet checked for OpenCode
Not yet checked for Pi
Not yet checked for Zap
NotificationsNot yet checked: Zap
Maker's notify example
Not yet checked for Zap

Sandbox, permissions and privacy

OS-level sandboxNot yet checked: OpenCode, Zap
Linux/WSL2 needs bubblewrap
Not yet checked for OpenCode
Gondolin micro-VM example
Not yet checked for Zap
Approval modesNot yet checked: Zap
Not yet checked for Zap
Runs in a containerNot yet checked: Codex CLI, Zap
Not yet checked for Codex CLI
Official Docker image
The repo's Docker recipe
Not yet checked for Zap
Telemetry opt-outNot yet checked: Codex CLI, OpenCode, Zap
Not yet checked for Codex CLI
Not yet checked for OpenCode
Not yet checked for Zap

Images, web and your computer

Image inputNot yet checked: Zap
Needs an image-capable model
Needs a compatible terminal
Not yet checked for Zap
Fetch URLsNot yet checked: Codex CLI, Pi, Zap
Not yet checked for Codex CLI
Not yet checked for Pi
Not yet checked for Zap
Voice inputNot yet checked: OpenCode, Pi, Zap
Only in builds with voice
Not yet checked for OpenCode
Not yet checked for Pi
Not yet checked for Zap
Not yet checked: , , ,

4 capabilities are not yet checked for any of these tools and are not shown. Each answer is about the CLI agent in its column. Something the maker publishes separately, such as an editor plugin or a GitHub Action, shows as “With add-on”, even when it has its own listing here. How capabilities are checked

About these tools

Codex CLI

OpenCode

Pi

Zap

How to read the Index score

At a glance

Index score out of 100

Codex CLI91OpenCode79Pi78Zap8

Mindshare HN mentions, 90 days

Codex CLI4,237OpenCode1,414Pi1,310Zap1

Adoption GitHub stars, not scored

Codex CLI136kOpenCode228kPi123kZap38

Release days last 90 days

Codex CLI32OpenCode28Pi19Zap1

Lowest monthly plan billed monthly, lower is cheaper

Codex CLI$20/monthOpenCode$10/monthPiNot yet checkedZapNot yet checked

Platforms systems and surfaces

Codex CLI4OpenCode3Pi4Zap2

Votes can only raise a score: up to 20% of it reflects upvotes, graded on a curve against the most-voted tool. The square-root curve has a floor of 100 effective votes. Votes decay with a 90-day half-life. Maker self-votes do not count. Counts below 10 are hidden for display only. After activation, the score is 80% mindshare plus 20% of the greater of mindshare and the vote score. GitHub stars do not affect the Index score. Mindshare uses a log scale; votes use the square-root curve and a 100-vote floor. Ranks use unrounded scores. Mindshare and adoption bars are log-scaled; the others are linear within this comparison. How the score is built

Differences only
4 of 4
Codex CLIOpenAI · CLI agent
OpenCodeAnomaly · CLI agent
PiEarendil Works · CLI agent
Zapzap-coding-agent · CLI agent
Interface
Codex CLI explaining a codebase, with an updated plan checklist
Terminal UI with an inline diff, passing bun tests and a context sidebar
pi startup listing loaded context, skills and extensions, then reading docs and running bash
What it is
Coding agent from OpenAI that runs locally on your computer
Coding agent with switchable build and read-only plan agents
Minimal, extensible agent harness that you can make your own
ZAP is a terminal-first, local AI coding agent built in Rust.
Category
CLI agentCodex family
CLI agent
CLI agent
CLI agent
Pricing
Starts at (billing shown)
Lowest monthly plan
Not yet checked
Not yet checked
Free tier
Not yet checked
Plans
Runs on
Linux
Yes
Not yet checked
Yes
Not yet checked
Terminal
Yes
Yes
Yes
Yes
Web
Not yet checked
Yes
Not yet checked
Not yet checked
Windows
Yes
Yes
Yes
Yes
macOS
Yes
Not yet checked
Yes
Not yet checked
Models and agents
Models
GPT-6.2 AstraGPT-6.2 SolGPT-6.1 TerraGPT-6.1 SolGPT-6 Luna
Not yet checked
Not yet checked
Not yet checked
Drives these agents
Not yet checked
Not yet checked
Not yet checked
Not yet checked
Source and activity
Source
GitHub stars
Most
Release days, last 90 days
32Most
28
19
1
Release days per week
Latest release, any channel
v2.3.2 18 Nov 2026
v1.5.2 10 Nov 2026
v0.16.3 4 Oct 2026
Index score
Score and rank
91 #2 Score 90.7; ranked on the unrounded score
79 #3 Score 78.8; ranked on the unrounded score
78 #4 Score 77.9; ranked on the unrounded score
8 #154 Score 7.5; ranked on the unrounded score
Mindshare
914,237 Hacker News mentions in the last 90 days
791,414 Hacker News mentions in the last 90 days
781,310 Hacker News mentions in the last 90 days
81 Hacker News mention in the last 90 days
Adoption, not scored
97135,675 stars, read 18 Nov 2026
100227,631 stars, read 18 Nov 2026
96122,575 stars, read 18 Nov 2026
3038 stars, read 18 Nov 2026
Votes
—Votes can only raise a score: up to 20% of it reflects upvotes, graded on a curve against the most-voted tool. The square-root curve has a floor of 100 effective votes. Votes decay with a 90-day half-life. Maker self-votes do not count. Counts below 10 are hidden for display only.
—Votes can only raise a score: up to 20% of it reflects upvotes, graded on a curve against the most-voted tool. The square-root curve has a floor of 100 effective votes. Votes decay with a 90-day half-life. Maker self-votes do not count. Counts below 10 are hidden for display only.
—Votes can only raise a score: up to 20% of it reflects upvotes, graded on a curve against the most-voted tool. The square-root curve has a floor of 100 effective votes. Votes decay with a 90-day half-life. Maker self-votes do not count. Counts below 10 are hidden for display only.
—Votes can only raise a score: up to 20% of it reflects upvotes, graded on a curve against the most-voted tool. The square-root curve has a floor of 100 effective votes. Votes decay with a 90-day half-life. Maker self-votes do not count. Counts below 10 are hidden for display only.
Rank history
First ranked 18 Nov 2026
First ranked 18 Nov 2026
First ranked 18 Nov 2026
First ranked 18 Nov 2026
Full page

Watch Codex CLI vs OpenCode vs Pi vs Zap on YouTube

More comparisons

Build your own