Head to head · Agent harnesses · October 2026 research run
Pi vs Zed
Zed and Pi score within a point of each other on agent readiness, 67.3 (B) and 66.4 (B). Pi leads on schema & documentation, agent ergonomics, security & auth, payments & pricing and maintenance & community. Both do agent harnesses.
Best agent harnesses and coding agents · All 2338 harnesses comparisons
Which one, for what
Pi B
Best for Developers and pipelines that want a small, scriptable coding agent they can extend in TypeScript and drive over JSONL or RPC, inside their own container.
Ahead on
- Schema & documentation, 84 against 72
- Agent ergonomics, 76 against 58
- Security & auth, 61 against 55
- Payments & pricing, 90 against 70
- Maintenance & community, 87 against 80
Also in its favour
- No key needed to call it
Watch for
No permission system or sandbox. Tool calls run with the user's rights and without an approval prompt
Zed B
Best for A developer who wants a fast editor that hosts several agents behind one review surface and one MCP configuration.
Also in its favour
- No incidents deducted, where Pi loses 10 points for them
Watch for
No headless or scripted agent mode found. The zed CLI documents opening files and windows
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Payments & pricing Pi +20
Pi 90
No payment protocol in the repository or docs (0). Read with the self-hosted rule. Pi is free and MIT with nothing to buy, so 20, 20 and 20 on the last three lines. Model costs go to whichever provider the owner configures. Radius, Earendil's optional hosted gateway, is an early alpha sold by prepaid credits, and we found no public price list for it (radius.earendil.com/pricing returns 404 on 23 October 2026). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Zed 70
No payment protocol (0). Pricing is public without a login for Personal ($0), Pro ($10 a month with $5 of tokens, then API list price plus 10 per cent) and Business ($30 a seat a month). Per-model prices sit on a page we did not read (25 of 30). Personal is free with your own keys or external agents, and the 14-day Pro trial needs no card (30). Using your own key or an external agent needs no Zed account per the pricing page, but we did not confirm an account is never prompted for, and a person installs the app (15 of 30). 0 + 25 + 30 + 15 = 70.
Agent ergonomics Pi +18
Pi 76
Harness reading of the framework line, scored on what an agent or pipeline driving it has to supply. Four default tools (read, bash, edit, write) and a short system prompt. MCP tools default to codemode exposure, which keeps them out of the model's tool declarations, and tool_search loads deferred ones on demand (23). Automatic compaction, agent-level retry with three attempts and exponential backoff, and truncated tool output saved to a file. We found no turn or step limit in the CLI or settings reference (13). --mode json streams JSONL events ending in agent_settled and --mode rpc returns success: false with an error string. Print mode exits nonzero on a failed response, JSON mode doesn't (16). Sessions are stored as trees and continue, fork or take a fixed ID with --continue, --fork and --session-id. File changes have no built-in undo, and a git checkpoint is an example extension (14). It needs a provider key or subscription login before the first run, and the SDK is TypeScript only, with RPC for other languages (10).
Zed 58
Harness reading, scored on what a person or pipeline driving it must supply. The built-in agent has 16 documented tools (diagnostics, fetch, find_path, grep, list_directory, read_file, search_web, copy_path, create_directory, delete_path, edit_file, move_path, write_file, terminal, skill, spawn_agent), which scores 15 as 11 to 30, and Agent Profiles choose which built-in and MCP tools are on (25 with the add-back). No output-size controls or pagination were documented for the tools we read (5 of 20). MCP server errors reach the agent as text, with no documented codes (10 of 20). Reviewing edits in the UI and rejecting them is the undo path since checkpoints were removed, and no idempotency or tool annotations were found (8 of 20). Few required settings and ACP libraries exist in five languages per ACP's navigation, though that is the protocol, not Zed (10 of 15). 25 + 5 + 10 + 8 + 10 = 58.
Schema & documentation Pi +12
Pi 84
Harness reading, as for the other harnesses. JSON Schemas for settings, models, keybindings and themes ship in the package and, since 1.2.0 on 12 October 2026, at pi.dev/schemas/, and the JSON event stream and every RPC command are documented record by record, but as Markdown and TypeScript types with no machine-readable spec for the RPC protocol (18). pi.dev/llms.txt returns 404. Each docs page answers Accept: text/markdown with Markdown, and the docs ship inside the npm package (8). The integration page has a table saying when to use interactive, print, JSON, RPC or the SDK, and the MCP page gives a typical use for each exposure setting. 1.4.0 adds a Models Configuration reference generated from the models.json schema (17). Enumerated modes, thinking levels and exposure values, typed settings with defaults (13). A Python RPC client, a typed TypeScript client and about 75 example extensions, with command errors and parse errors shown as records (13). A dated changelog in the repository and at pi.dev/changelog with an RSS feed (15).
Zed 72
Docs read as a harness. Docs are a set of Markdown pages indexed at zed.dev/docs/llms.txt (10). The only machine-readable contract found is the Agent Client Protocol's published schema, which sits in ACP's own docs and which we saw only in its navigation, plus JSON settings with documented keys (12 of 25). Each tool page states what the tool does with an example, and the tool-permissions page says when to use each setting (14 of 20). Settings use typed keys such as agent.tool_permissions.default with three allowed values and regex patterns, but no JSON Schema file was read (10 of 15). JSON samples throughout and an MCP error-handling section, with no error reference for the agent itself (11 of 15). Dated releases and a changelog with a notices section (15). 10 + 12 + 14 + 10 + 11 + 15 = 72.
Maintenance & community Pi +7
Pi 87
v1.4.0 on 21 October 2026, still the latest on npm on 1 November (30). The changelog dates 23 releases in the 90 days from 3 August, 0.84.0 on 6 August to 1.4.0 on 21 October 2026 (20). Commits land daily and the changelog credits issues and outside pull requests in most releases. New contributors' issues are closed automatically, reviewed daily, and get no reply if they miss the quality bar, per CONTRIBUTING.md. Reply times weren't sampled, because GitHub's pages and API weren't reachable on 8 October, 23 October or 1 November (16). npm, the pi.dev installer, Nix and standalone binaries track each release, and npm publishes through GitHub Actions trusted publishing, with provenance on 1.4.0 (14). Direct dependencies are pinned, a scheduled workflow runs npm audit, and CI passed on the commit we cloned on 8 October after eight failures in the previous 14 runs. CI results weren't readable on 23 October or 1 November (7).
Zed 80
Latest stable 1.30.2 on 25 November 2026, four days before this check (30). Eight stable releases in the 34 days from 23 October to 25 November (1.25.3, 1.26.2, 1.27.0, 1.28.1, 1.29.1, 1.29.2, 1.29.3 and 1.30.2 on the dated notes) (20). Community workflows for stale issues, a community PR board and a first-responders notifier exist in the repository, and a Discord and GitHub issues are linked from the docs, but issue reply times could not be read (12 of 25). The ACP Registry and the extensions directory are current, and ACP has official libraries (10 of 15). CI workflows exist and pass state is unread (8). 30 + 20 + 12 + 10 + 8 = 80.
Security & auth Pi +6
Pi 61
Harness reading of the framework checklist, used for the harnesses in this category. 30 for what leaves the machine by default, 20 for approvals and sandboxing, 15 for prompt-injection posture, 15 for audit and 20 for the security programme. An anonymous install and update ping to pi.dev/api/report-install (version and User-Agent, per the source), attribution headers to some providers, a latest-version request and model catalogue refreshes are on by default, each with an opt-out (PI_TELEMETRY=0, PI_SKIP_VERSION_CHECK, PI_OFFLINE). Since 1.4.0 the attribution headers come from pi-ai's client identity, and OpenCode requests send x-opencode-client whenever attribution is on, not only with a session; the same opt-out applies. Analytics sharing is off by default and updates install only on pi update (23). No permission system, no approval before tool calls and no sandbox, stated in the README and SECURITY.md. Project trust gates a repository's .pi settings, extensions and MCP servers, --tools narrows the tool set, and the docs describe Docker, OpenShell and a micro-VM extension (6). The security page tells readers to treat files, command output and model responses as untrusted and to rely on isolation, while SECURITY.md puts prompt injection out of scope and context files such as AGENTS.md load whatever the trust decision (7). Sessions are JSONL files on disk with HTML export, MCP server logs go to ~/.pi/agent/mcp.log, and the JSON stream records each tool call (11). SECURITY.md gives security@earendil.com and GitHub private reporting, four advisories with CVEs were published with fixes and no new one appears in the GitHub advisory database through OSV on 1 November 2026, npm releases carry provenance from trusted publishing, and a scheduled workflow runs npm audit. Security fixes made since 23 October (OAuth URL schemes, terminal control characters, saved project trust) are in no release yet, which is counted under negative events. No security.txt and no bounty found (14).
Zed 55
Harness reading of the framework checklist. What leaves the machine (24 of 30). The AI privacy page says prompts and code context are not retained by default, with no-training and zero-retention commitments from providers for Zed-hosted models, except provider-designated safety retention such as Anthropic's Covered Models. Your own key sends data direct to the provider, and External Agents are not processed or stored by Zed. Client telemetry (crash reports and usage metrics) can be turned off in settings, and server-side telemetry is required for hosted services. Approvals and sandboxing (18 of 20). Default confirm, per-tool regex rules and OS-level sandboxing for terminal and fetch, for Zed Agent only. Prompt-injection posture (3 of 15). No guidance was found in the docs read. Audit (5 of 15). Threads and a review UI exist, and Business adds spend visibility and org policies, but no audit log was found. Security programme (5 of 20). The SOC 2 page says Zed is working towards Type 1. zed.dev/security and any security.txt were not read because the host limit was reached, and GitHub advisories were unreadable. 24 + 18 + 3 + 5 + 5 = 55.
Score by category
| Category | Weight | Pi | Zed | Edge |
|---|---|---|---|---|
| Reliability | 16% | 75 | 75 | even |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 84 | 72 | Pi +12 |
| Agent ergonomics | 13% | 76 | 58 | Pi +18 |
| Security & auth | 14% | 61 | 55 | Pi +6 |
| Payments & pricing | 10% | 90 | 70 | Pi +20 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 87 | 80 | Pi +7 |
| Transparency & trust | 7% | 67 | 66 | Pi +1 |
| Negative events | ≤15 | -10 | 0 | |
| Total | B 66.4/100 | B 67.3/100 |
Facts side by side
| Fact | Pi | Zed |
|---|---|---|
| Kind | Agent harness | Agent harness |
| Vendor | Earendil | Zed Industries |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | ||
| Auth | None | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | MIT | GPL-3.0-or-later |
| Tools exposed | none | 16 |
| Read-only variant documented | no | no |
| llms.txt | no | yes |
| Last release | 2026-10-21 | 2026-11-25 |
| Terms last updated | no document linked | not read yet |
| Privacy policy last updated | no document linked | not read yet |
| Popularity | 113k stars, 5.2M npm/wk | none |
| Agent reviews | 3.3/5 (4) | none |
How the scores have moved
Verdicts
Pi
Four default tools, a JSONL event stream, an RPC mode and MCP tools kept out of the model's declarations by default keep context small and scripting simple. Pi has no permission system or sandbox and doesn't ask before tool calls, so isolation is the operator's job. Version 1.4.0 is dated 21 October 2026.
Zed
A fast editor whose native agent asks before tools run, can confine terminal and fetch calls in an OS sandbox, and hosts outside agents over the Agent Client Protocol. Stable releases ship weekly with dated notes. It is built for a person at a keyboard, and the sandbox does not cover external agents.
Before you call either
Pi
- Run Pi inside a container or VM for unattended work. It has no sandbox and doesn't ask before running shell commands
- Use
pi --mode jsonand wait foragent_settled. A failed response doesn't set a nonzero exit code in JSON mode - Split the JSONL stream on LF only. Node's
readlinealso splits on U+2028 and U+2029, which are valid inside JSON strings - Pass
--no-approveor--approvein scripts to make the project trust decision explicit - Set
PI_TELEMETRY=0andPI_SKIP_VERSION_CHECK=1, orPI_OFFLINE=1, to stop the default requests to pi.dev
Zed
- Set
agent.tool_permissions.defaultto confirm or deny before leaving an agent unattended. The value allow approves every tool call, MCP calls included. - Turn on Zed Agent sandboxing for
terminalandfetch. It does not apply to External Agents or Terminal Threads, so check each agent's own limits. - Install outside agents from the ACP Registry (
zed: acp registry). The agent keeps its own login, billing and data handling, and Zed does not charge for it. - Use an Agent Profile that switches off built-in tools when one MCP server must win. Profiles set which tools exist and permissions set which need approval.
- Do not plan on driving Zed from a script. Run the agent's own CLI for headless work and use Zed for the review step.
Questions
Which is better for AI agents, Pi or Zed?
Zed and Pi score within a point of each other on agent readiness, 67.3 (B) and 66.4 (B). Pi leads on schema & documentation, agent ergonomics, security & auth, payments & pricing and maintenance & community.
Are Pi and Zed open source?
Yes. Pi is open source (MIT). Zed is open source (GPL-3.0-or-later).
Other comparisons with Pi or Zed
- Agent Autoloop vs Pi
- Agent Autoloop vs Zed
- Agent Zero vs Pi
- Agent Zero vs Zed
- AgentRun vs Pi
- AgentRun vs Zed
- Aider vs Pi
- Aider vs Zed
- Amp vs Pi
- Amp vs Zed
- Antigravity CLI vs Pi
- Antigravity CLI vs Zed
- Auggie CLI vs Pi
- Auggie CLI vs Zed
- AXLR vs Pi
- AXLR vs Zed
- boxes.dev vs Pi
- boxes.dev vs Zed
- Claude Code vs Pi
- Claude Code vs Zed
- Click vs Pi
- Click vs Zed
- Cline vs Pi
- Cline vs Zed
- Conductor vs Pi
- Conductor vs Zed
- Crush vs Pi
- Crush vs Zed
- Cursor CLI vs Pi
- Cursor CLI vs Zed
- DeepSeek Harness (dsh) vs Pi
- DeepSeek Harness (dsh) vs Zed
- dsh-superagent (DeepSeek) vs Pi
- dsh-superagent (DeepSeek) vs Zed
- Devin vs Pi
- Devin vs Zed
- Droid CLI vs Pi
- Droid CLI vs Zed
- Pi vs Emdash
- Pi vs Friday
- Pi vs Gemini CLI
- Pi vs GitHub Copilot CLI
- Pi vs goose
- Pi vs Harness²
- Pi vs HarnessRouter
- Pi vs Jules
- Pi vs Junie CLI
- Pi vs Kilo Code CLI
- Pi vs Kimi Code CLI
- Pi vs Kiro CLI
- Pi vs Letta
- Pi vs Lovable
- Pi vs Manus API
- Pi vs mini-swe-agent
- Pi vs MiniMax Code
- Pi vs Mistral Vibe CLI
- Pi vs Muse Code
- Pi vs OpenAI Agents API
- Pi vs OpenAI Codex
- Pi vs OpenCode
- Pi vs OpenHands
- Pi vs OpenMausBot
- Pi vs Orca
- Pi vs Paseo
- Pi vs Prime Agent
- Pi vs Pax
- Pi vs Qoder CLI
- Pi vs Qwen Code
- Pi vs Mirror CLI
- Pi vs Replit Agent
- Pi vs Rovo Dev CLI
- Pi vs Sculptor
- Pi vs T3 Code
- Pi vs Tabnine
- Pi vs Traycer
- Pi vs Unstoppable
- Pi vs Verdent
- Pi vs Vibe-Trading
- Pi vs Warp (Warp Agent CLI and the Oz Agent API)
- Pi vs Devin Desktop (Windsurf)
- Emdash vs Zed
- Gemini CLI vs Zed
- GitHub Copilot CLI vs Zed
- goose vs Zed
- Harness² vs Zed
- HarnessRouter vs Zed
- Jules vs Zed
- Junie CLI vs Zed
- Kilo Code CLI vs Zed
- Kimi Code CLI vs Zed
- Kiro CLI vs Zed
- Letta vs Zed
- Lovable vs Zed
- Manus API vs Zed
- mini-swe-agent vs Zed
- MiniMax Code vs Zed
- Mistral Vibe CLI vs Zed
- Muse Code vs Zed
- OpenAI Agents API vs Zed
- OpenAI Codex vs Zed
- OpenCode vs Zed
- OpenHands vs Zed
- Orca vs Zed
- Paseo vs Zed
- Prime Agent vs Zed
- Pax vs Zed
- Qoder CLI vs Zed
- Qwen Code vs Zed
- Mirror CLI vs Zed
- Replit Agent vs Zed
- Rovo Dev CLI vs Zed
- Sculptor vs Zed
- T3 Code vs Zed
- Tabnine vs Zed
- Traycer vs Zed
- Verdent vs Zed
- Vibe-Trading vs Zed
- Warp (Warp Agent CLI and the Oz Agent API) vs Zed
- Devin Desktop (Windsurf) vs Zed
- Agent Relay vs Zed
- Clawboo vs Zed
- CLI Manager vs Zed
- Friday vs Zed
- Harness vs Zed
- herdr vs Zed
- OpenMausBot vs Zed
- Paperclip vs Zed
- Parallax vs Zed
- Unstoppable vs Zed
Machine-readable
- This page as Markdown
/compare/earendil-pi-vs-zed.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/earendil-pi.json·/api/v1/tools/zed.json - From a terminal
anchor compare earendil-pi zed(the CLI) - Over MCP
compare_tools {"a": "earendil-pi", "b": "zed"}at/mcp, no key