Harness Hub

Compare · popular comparison

Pi vs opencode

Pi: A minimal, steerable coding agent and toolkit. opencode: The open source coding agent — terminal-first, model-agnostic.

Facts from the directory and the knowledge graph, with pros and cons that cite their sources. Add another entry to change the line-up.

Pi vs opencode. Rows marked Differs have different values.

Open source

Pi

Remove

Open source

opencode

Remove

TypeOpen sourceOpen source
CategoriesDiffers
In one lineA minimal, steerable coding agent and toolkit.The open source coding agent — terminal-first, model-agnostic.
Stage & funding——
GitHub starsDiffers≈124k≈230k
LicenseMITMIT
LanguageTypeScriptTypeScript
Last pushNov 28, 2026Nov 28, 2026
Works with——
Built onDiffers—
Built on it——
Similar toDiffers—
People linkedDiffers24
Events00
Pros
  • User reportsDeliberately minimal: its entire system prompt is short and readable, so the harness is easy to inspect and fork.[1][2]
  • User reportsUsers report big token savings, with sessions finishing under 20k tokens where Codex spends that on defaults.[1][2]
  • User reportsExtensible: sandboxing (Gondolin QEMU VMs), memory and cron come as optional extensions rather than baked-in weight.[1][2][3]
  • MetadataMIT-licensed with about 119k stars and active releases (v1.4.0 on Oct 21, 2026).[1]
  • User reportsWorks with any provider or model, with LSP integration and configurable subagents that can each use a different model.[1][2]
  • User reportsUsers measure its prompt overhead as much leaner than Claude Code's (about 7k vs 33k tokens), and it has a plugin ecosystem.[1][2]
  • User reportsA popular fallback and local-model harness when subscription limits run out; 2.0 added background tasks.[1][2]
  • MetadataMIT-licensed, about 223k stars, with near-daily releases (v1.19.5 on Oct 28, 2026).[1]
Cons
  • DocsNo built-in sandbox and no per-tool-call approvals by design: tool calls run with the user's full permissions unless you isolate it.[1]
  • User reportsA user says it takes time to set up and assemble from extensions.[1]
  • MetadataAn enterprise request for admin-enforced, system-level config (MDM) was closed as not planned, and maintainers pointed companies to a commercial discussion instead.[1]
  • DocsExtensions run inside the Pi process with its permissions, so third-party extensions are a supply-chain risk.[1]
  • User reportsIn October 2026 the OpenCode team disclosed unauthorized access to a legacy system that may have exposed BYOK provider keys saved in hosted workspaces.[1][2]
  • User reportsUsers question its security posture: no built-in sandbox, and title generation sent prompts through the Zen gateway by default.[1][2]
  • User reportsUsers say 2.0 moved tool calls into a background process, which silently broke their sandbox wrappers, and that RAM use is high.[1][2]
  • MetadataThousands of open issues and PRs, and some users get better results from other harnesses with the same model.[1][2]
Best forEngineers who want a small, auditable, token-efficient harness to build on or embed.Developers who want a model-agnostic terminal agent with low prompt overhead and per-subagent model choice.
Watch out forRun it in a container or VM, because Pi itself does not sandbox or gate tool calls.Run it inside your own sandbox and set your own small model for auxiliary calls, so prompts don't leave your machine by default.
Links

The Harness Hub newsletter

New harness companies, projects, releases and the monthly State of Harness report, in your inbox.