Framework comparison
OpenProgram against the 22 configurations on the FrontierHarness Eval v1.1 leaderboard, run of 2026-11-16. The eval is the workload this comparison prepares for, not an endorsement of its ranking. Feature inventory: Feature matrix. Gaps and challenges: Capability differences.
Where OpenProgram stands
| Dimension | OpenProgram | The reference set | Standing |
|---|---|---|---|
| Product form | Python harness for one local user: persistent worker, TUI, Web, Electron desktop, iPhone app, four chat channels | 14 coding CLIs; four assistant platforms with a host process, desktop and channels: Hermes Agent, Maka, Alma, Exo | Closest to the platforms |
| Execution model | One worker serves every surface; openprogram -p runs one prompt | One process per run: Pi, mini-SWE-agent, Codex CLI exec. Local host that clients attach to: OpenCode, Maka, Alma, Cline CLI hub, DeepSeek Harness web | Comparable |
| Agent loop | One loop; ends on text without tool calls; continues after a length or empty stop; turn.stop hooks | All single-loop. Additions: a required completion tool (Cline CLI), up to 10 automatic continuations (Alma), a last-paragraph check in the prompt (ZCode) | Comparable |
| Tool surface | 35 default tools: 20 sent as schemas (with read_conversation), about 7.7k tokens; 16 behind tool_search | Tools sent in the eval: Pi 4, Cline CLI 4, Codex CLI about 8, DeepSeek Harness Minimal 10, Oh My Pi 11, Hermes Agent about 14, Alma about 18, DeepSeek Harness Standard 23, KimiCode 31 | Heavy half |
| Edit format | Exact str_replace, Codex apply_patch, whole-file write; read before edit, stale files refused | str_replace almost everywhere; apply_patch for GPT-family models; fuzzy match cascades in Hermes Agent, Maka, Alma, ZCode; hashline by default in Oh My Pi | Strict: no fuzzy match |
| Shell | Codex-style: fresh process per command, returns after 30 s while the command keeps running, write_stdin polls | Long commands survive in Codex CLI, KimiCode, DeepSeek Harness, Claude Code, Grok Build, MiniMax Code, Alma. Killed at 30 s: Cline CLI, mini-SWE-agent. No timeout: Exo | With the best |
| Context assembly | L0/L1/L2 component registry, most stable first; date rides the user message; AGENTS.md from home and the Git root down | Stable-to-volatile ordering is common: OpenCode v2, Hermes Agent, KimiCode, Grok Build, Oh My Pi, GitHub Copilot CLI | Comparable |
| Prompt caching | Anthropic breakpoints on tools and the latest user message; OpenAI prompt_cache_key; each request is diffed against the last and a cache break is named | On the eval's Chat Completions path nearly all rely on the provider's prefix cache; KimiCode sends a cache key, Alma sends cache_control | Ahead on diagnosis |
| Compaction | LLM summary at 80% of the window including a 16K reserve; mid-turn; an unknown model is assumed to have 128K | Trigger in the eval: Pi 112K, Cline CLI about 115K, ZCode about 166K, Grok Build about 170K, KimiCode about 212K, Codex CLI 245K. Practically never: DeepSeek Harness, Hermes Agent, Oh My Pi, OpenCode. None: mini-SWE-agent, Exo | Earliest trigger |
| Tool-output truncation | About 40k characters per result, bash about 30k; 60% head, 40% tail, full text spilled to a file; no pruning while the request fits | Tight: Alma bash 3.8k, Maka 7.5 KB, Cline CLI 8k characters in requests, Codex CLI 10k tokens. Generous: Hermes Agent and KimiCode 50k characters, DeepSeek Harness 12.5k tokens | Generous |
| Subagents | agent tool, depth 1, six running per conversation; the base prompt says not to delegate unless asked | Most have one. None: Pi, mini-SWE-agent, Exo, Cline CLI in its eval preset. Swarms: KimiCode 128, Oh My Pi 32 | Comparable |
| Permissions | Five modes, default bypass; rules; tool.before gate; LLM classifier in auto mode; Seatbelt and bubblewrap off by default; Docker and SSH backends | OS sandbox off by default in Codex CLI, Grok Build, GitHub Copilot CLI, MiniMax Code. LLM approval judges: Codex CLI, GitHub Copilot CLI, Antigravity CLI, Hermes Agent, Alma | Comparable |
| Sessions | Append-only log per session: a DAG of user, llm and code nodes with branch heads; import from Claude Code and Codex | Trees: Pi, Oh My Pi. Event logs: Maka, DeepSeek Harness, Exo. Import: Maka from four tools, Cline CLI from three, Hermes Agent and Oh My Pi from two | Ahead on code nodes |
| Extensions | MCP client and server, ACP, skills, plugins, 38 events, /v1/chat/completions | MCP, skills, plugins and hooks are standard; DeepSeek Harness builds everything from plugins | Comparable |
| Interfaces | TUI, Web, Electron desktop, iPhone app, Discord, Slack, Telegram, WeChat; -p with text, json, stream-json; Python SDK | Channels: Hermes Agent about 25, Maka 8, Cline CLI 6, Alma 4. IDE extensions: Claude Code, KimiCode, Cline CLI, OpenCode | Behind on channels and IDEs |
| Providers | About 28 adapters, six wire APIs, cross-provider history normalization. Chat Completions sends past reasoning back in the field it came in | Pi, KimiCode and Maka send reasoning back on Chat Completions; Exo drops it | Aligned |
| Cost reporting | usage.db with cache reads, cache writes and USD per part | Pi, Hermes Agent and Maka price locally; Grok Build shows cost only from xAI and leaves side calls out; KimiCode shows no amounts | Ahead |
Code paths for the OpenProgram column
| Dimension | Path under openprogram/ |
|---|---|
| Agent loop | runtime/agent/loop/loop.py · runtime/agent/loop/tool_loop_guard.py · runtime/conversation/turn_runtime/stop_hook.py |
| Tool surface | programs/__init__.py (DEFAULT_TOOLS, deferred list, TOOLSETS) |
| Edit | programs/tools/files/edit.py · programs/tools/files/apply_patch.py · state/store/snapshot/read_tracking.py |
| Shell | programs/tools/files/bash/session.py · programs/tools/files/bash/bash.py |
| Truncation | state/store/session/files/spill.py · runtime/context/compaction/request.py |
| Context | runtime/context/prompt_assembly/components.py · runtime/context/prompt_assembly/guides/base.md |
| Caching | models/providers/settings/cache_policy.py · models/usage/prefix_fingerprint.py |
| Compaction | runtime/context/engine.py · runtime/context/compaction/summarize.py · runtime/context/token_accounting/tokens.py |
| Subagents | programs/tools/agents/agent/agent/agent.py · runtime/jobs/chain_budgets.py |
| Permissions | runtime/permissions/modes.py · runtime/permissions/auto_mode/classifier.py · state/sandbox_settings.py |
| Sessions | state/store/session/nodes.py · state/store/session/external_import/ |
| Providers | models/providers/catalog/register.py · models/providers/shared/transform_messages.py · models/providers/adapters/openai_completions/openai_completions.py |
| Cost | models/usage/ledger.py |
By group
Vendor CLIs come from model or platform makers; open coding agents are independent projects. Cells describe what the eval ran.
Vendor CLIs, open source: Codex CLI, ZCode, KimiCode, DeepSeek Harness
| Dimension | Codex CLI | ZCode | KimiCode | DeepSeek Harness |
|---|---|---|---|---|
| Form | Rust TUI, exec, app server, SDKs | TUI, desktop, web, Android, two bots | TUI, web, desktop, VS Code, ACP, SDK | Web, desktop, headless, ACP, SDK; no TUI |
| Tools and edit | About 8; patches sent through the shell | About 17, Claude Code shape; str_replace with normalization | 31, about 14k tokens; str_replace | Minimal 10, Standard 23, Code one run_code |
| Shell | PTY sessions, poll with write_stdin | 120 s, then background | 60 s, then background | 60 s, then background |
| Output cap | 10k tokens head and tail | 30 KB, then file | 50k characters, then file | 12.5k tokens, then file |
| Compaction | 245K, local summary | About 166K; clears old results at 90% first | About 212K, handoff summary | About 839K: never |
| Pass-rate levers | "Keep going until resolved", validation section | Last-paragraph rule; continuation after length | "Delivering work" verification; repeat breaker | Repeat reminders; cache-stable catalog |
| Sessions | JSONL rollouts, fork, SQLite state | SQLite, fork, rewind with files | Event journal, fork, search | Append-only log, fork |
Vendor CLIs, closed source: Claude Code, GitHub Copilot CLI, Grok Build, Antigravity CLI, MiniMax Code
| Dimension | Claude Code | GitHub Copilot CLI | Grok Build | Antigravity CLI | MiniMax Code |
|---|---|---|---|---|---|
| Form | TUI, IDEs, desktop, web, Agent SDK | Rust runtime under an Ink TUI, ACP, SDK | Rust TUI, ACP | Go TUI, ACP, remote control | TUI on a Pi runtime, ACP |
| Tools and edit | About 50 documented, many gated for unknown models; str_replace | About 20; str_replace or apply_patch | About 30 implemented, many always on; str_replace | About 30; exact chunks plus an LLM repair call | About 13 base; Claude Code shape |
| Shell | 2 min, then background | Persistent shells by id | 15–30 s, then background | Wait, then background | 60 s, then background |
| Output cap | 30k characters, then file | 20 KiB, then file | 20k characters, middle cut | Middle cut | 24 KiB head and tail |
| Compaction | Near the assumed 200K | 80% of an assumed 128K, in the background | 85% of 200K | Server default | About 174K, archive first |
| Side calls | Subagents, compaction | Subagents on the session model | Summary model is the eval model | Checkpoint and edit-repair calls | Possible session title |
| Cache hit | 94.3% | 88.6% | 92.4% | 95.6% | 92.3% |
Open coding agents: Pi, Oh My Pi, OpenCode, Cline CLI, mini-SWE-agent
| Dimension | Pi | Oh My Pi | OpenCode | Cline CLI | mini-SWE-agent |
|---|---|---|---|---|---|
| Form | TUI, JSON, RPC, SDK | Pi fork: TUI, ACP, RPC, SDK | TUI over a local server, desktop, web, ACP | TUI, VS Code, JetBrains, hub daemon | Research CLI and library |
| Tools and edit | 4; str_replace | 11 schemas, the rest as xd:// names; hashline or str_replace by model | v1 about 12, v2 fewer and shorter; str_replace | 4 in the eval preset; str_replace | 1: bash; edits by sed |
| Prompt | About 1.5k tokens | About 7–10k tokens with schemas | v1 8.5 KB per model, v2 756 bytes | 4.6 KB benchmark prompt | One line plus 4.5 KB task template |
| Shell | No default timeout | Persistent embedded bash, 300 s | 2 min | 30 s, then killed | 30 s, then killed |
| Output cap | 50 KB tail | 50 KB, read summaries, stale reads pruned | 50 KiB, then file | 8k characters in requests | 10k characters head and tail |
| Compaction | 112K | 85% of 1M: never | None for an unknown window | About 115K | None |
| Sessions | JSONL tree | JSONL tree, import | SQLite, fork, share | SQLite, fork, import | Trajectory file |
Assistant platforms: Hermes Agent, Maka, Alma, Exo
| Dimension | Hermes Agent | Maka | Alma | Exo |
|---|---|---|---|---|
| Form | Python CLI, TUI, web, desktop, about 25 channels | Runtime host with desktop, TUI, 8 channels | Closed desktop and server, iOS, 4 channels | Hosting runtime for other harnesses; its example harness ran |
| Tools and edit | About 14; patch with 9 fuzzy strategies | Full interactive set; fuzzy str_replace | About 18; str_replace with fallbacks | 23, one of them shell; no edit tool |
| Shell | 180 s, cwd and env kept | 120 s, opt-in background | 60 s, then background | No timeout |
| Output cap | 50k characters, then file | 7.5 KB placeholder, page the rest | Bash 3.8k characters, archive | 4k-character head, exit code lost |
| Compaction | 50% of about 1M: rare | Only after overflow | 80%, mid-turn | None |
| Pass-rate levers | Keep-working blocks for GLM, DeepSeek, Muse and Kimi | Progress-update contract | Grader rules; 10 automatic continuations | None; reasoning dropped |
| Side calls | None in one-shot runs | Title, memory extraction | Bash risk analysis, skill selection | None |
Codebase size
| Project | First-party lines |
|---|---|
| Hermes Agent | About 1,607,000 |
| Grok Build | About 1,438,000 Rust, 1.0.45 mirror |
| Oh My Pi | About 1,410,000: 1.07M TypeScript, 342K Rust |
| Codex CLI | 1,199,720 |
| ZCode | About 1,136,000; Agent CLI about 365,000 |
| OpenCode | v2 842,906; v1 496,564 |
| Maka | About 812,000 |
| DeepSeek Harness | About 535,000 |
| OpenProgram | 433,183 Python in openprogram/, plus the Web and TUI clients |
| KimiCode | About 407,000 |
| Cline CLI | About 216,800 in the pieces the CLI runs |
| Pi | 208,798 |
| Exo | 146,011 |
| mini-SWE-agent | 5,080 |
| Claude Code, GitHub Copilot CLI, Antigravity CLI, Alma, MiniMax Code | Closed source; not counted |
.py, .ts, .tsx, .js, .rs, .go; tests, vendor, dist and generated code excluded. Size indicates scope, not quality.
Eval results
- Cheapest per passCodex CLI: $0.94, near-lowest cost per task and 61.1% passed
- As cheap, fewer passesPi, OpenCode v2, Oh My Pi: about $0.56 per task, 57–58% passed
- Most passes, mid costZCode 61.9%, KimiCode 60.2%, Grok Build 60.0%, Hermes Agent 59.9%, Alma 59.7%
- Most expensiveClaude Code and Antigravity CLI by tokens per task; Exo by its 50.6% pass rate
| Rank | Harness | Version | Cost per pass | Cost per task | Pass rate | Cache hit |
|---|---|---|---|---|---|---|
| 1 | Codex CLI | 0.164.0 | $0.937 | $0.573 | 61.1% | 93.9% |
| 2 | Pi | 1.4.0 | $0.976 | $0.563 | 57.7% | 94.5% |
| 3 | OpenCode v2 | 2.2.7 | $0.978 | $0.561 | 57.3% | 94.3% |
| 4 | Oh My Pi | 18.12.6 | $0.983 | $0.564 | 57.3% | 93.1% |
| 5 | ZCode | 0.17.0 | $1.06 | $0.659 | 61.9% | 92.0% |
| 6 | KimiCode | 2.3.1 | $1.09 | $0.653 | 60.2% | 93.3% |
| 7 | OpenCode v1 | 1.19.4 | $1.12 | $0.646 | 57.4% | 94.6% |
| 8 | Maka | 0.2.2-dev.92.20261019 | $1.13 | $0.654 | 57.7% | 91.5% |
| 9 | MiniMax Code | 0.6.13 | $1.14 | $0.647 | 56.8% | 92.3% |
| 10 | DeepSeek Harness: Minimal | 0.2.1-rc.3 | $1.15 | $0.661 | 57.4% | 95.1% |
| 11 | Hermes Agent | 0.22.5 | $1.16 | $0.692 | 59.9% | 93.0% |
| 12 | Cline CLI | 3.0.73 | $1.19 | $0.689 | 57.7% | 86.4% |
| 13 | Grok Build | 1.0.67 | $1.20 | $0.723 | 60.0% | 92.4% |
| 14 | Alma | 0.4.212 | $1.22 | $0.731 | 59.7% | 91.0% |
| 15 | DeepSeek Harness: Standard | 0.2.1-rc.3 | $1.27 | $0.697 | 55.0% | 94.6% |
| 16 | DeepSeek Harness: Creator | 0.2.1-rc.3 | $1.27 | $0.713 | 56.1% | 95.5% |
| 17 | mini-SWE-agent | 2.4.6 | $1.29 | $0.757 | 58.6% | 94.7% |
| 18 | DeepSeek Harness: Code | 0.2.1-rc.3 | $1.32 | $0.732 | 55.2% | 94.5% |
| 19 | Exo | 825318306c0e | $1.36 | $0.691 | 50.6% | 91.1% |
| 20 | GitHub Copilot CLI | 1.0.103 | $1.38 | $0.787 | 56.9% | 88.6% |
| 21 | Claude Code | 2.1.308 | $1.55 | $0.915 | 58.9% | 94.3% |
| 22 | Antigravity CLI | 1.4.6 | $1.63 | $0.897 | 55.0% | 95.6% |
62 tasks, 4 attempts each, five open models (GLM-5.3, GLM-5.3-Flash, DeepSeek-V4.1-Flash-1017, Muse Spark Open, Kimi-K3) at maximum effort through a LiteLLM proxy to Baseten; cost is list price times reported tokens. OpenProgram was not run. In the figure DSH stands for DeepSeek Harness.
What drives cost and pass rate
Causes are the research notes' inference from source; the eval publishes only totals.
| Mechanism | What the eval shows | OpenProgram |
|---|---|---|
| Small fixed prefix | The four cheapest per task send little: Pi 4 tools and about 1.5k tokens of prompt; Codex CLI about 8 one-line tools; OpenCode v2 cut its prompt from 8.5 KB to 756 bytes and got 13% cheaper at the same pass rate; Oh My Pi sends 11 schemas and names the rest. The heaviest prefixes cost most: Antigravity CLI 10–30k tokens, KimiCode 18–20k, Alma 11–13k | Lighter. 20 resident schemas, about 7.7k tokens, before a system prompt of about 1.7k; a snapshot test pins both. programs/__init__.py |
| Few tools beat many | DeepSeek Harness Minimal (10 tools, no subagents, todo or goal) was both cheaper and more often right than Standard (23): $1.15 and 57.4% against $1.27 and 55.0% | Partly. The base prompt forbids unrequested delegation, and the goal and four MCP meta tools are deferred; agent and computer_use stay resident |
| Stable prefix | Hit rates span 86.4–95.6%. Lowest where history is rewritten: Cline CLI's stale-read rewrites (86.4%), GitHub Copilot CLI's compaction of an assumed 128K window (88.6%). A high rate alone does not make a harness cheap: Antigravity CLI has the best rate and the highest cost per pass | Aligned. Stable components first, date in the user message, no pruning while the request fits, cache breaks named. runtime/context/compaction/request.py · models/usage/prefix_fingerprint.py |
| Bounded context | Pi compacts at 112K and Codex CLI at 245K; both are among the cheapest. mini-SWE-agent never compacts and pays 32% more per task than Codex CLI with the smallest prompt. DeepSeek Harness and Hermes Agent are given about 1M and in practice never compact | Aligned. 80% including the reserve, mid-turn, 128K assumed for an unknown model: earlier than Pi. runtime/context/engine.py |
| Tool-output caps | Codex CLI keeps 10k tokens of head and tail; Maka pages anything over 7.5 KB. Generous caps (Hermes Agent and KimiCode 50k characters) sit with mid-table cost | Comparable to Codex CLI. About 40k characters per result; Codex CLI's 10k tokens are about 40 KB. state/store/session/files/spill.py |
| No side calls | The cheapest make none. Alma runs a risk analysis on the eval model for many Bash commands; Grok Build and GitHub Copilot CLI send summaries and subagents to the session model; Antigravity CLI adds checkpoint and edit-repair calls | Few. An LLM title on turns 1, 6, 16 and 40. runtime/conversation/turn_runtime/titles.py |
| Anti-early-stop prompting | ZCode, the highest pass rate, requires the last paragraph not to be a plan or a promise. Codex CLI: "keep going until resolved". Hermes Agent adds keep-working blocks for the eval's model families. Alma continues unfinished turns up to 10 times. Exo has none and ends on any text reply | Present. "Finishing work" forbids stopping while work is owed, and the last paragraph is checked before ending, as in ZCode; continuation after a length or empty stop. runtime/context/prompt_assembly/guides/base.md · runtime/agent/loop/loop.py |
| Verification | KimiCode (60.2%) requires checking work in the form the user receives it; Cline CLI will not end without submit_and_exit and a verified flag; Alma's rules target what a grader checks. GitHub Copilot CLI's heavy verification prompting did not lift its 56.9% | Present. Verify the result the way the user gets it: run the tests, the command or the program changed; a separate verification turn in goal mode. programs/tools/planning/goal/verification.py |
| Long commands survive | Codex CLI, KimiCode, Grok Build and Claude Code move slow commands to the background. Cline CLI and mini-SWE-agent kill at 30 s; Exo can hang forever | Aligned. Codex unified-exec model. programs/tools/files/bash/session.py |
| Reasoning kept between tool rounds | All five eval models think. Pi, KimiCode and Maka send reasoning back; Exo drops it and has the lowest pass rate, among other defects | Aligned. Reasoning goes back in the field it came in, in this turn and later ones; DeepSeek gets reasoning_content on every assistant message. models/providers/adapters/openai_completions/openai_completions.py (_replay_reasoning) |
| Loop breakers | KimiCode nudges at 3, 5 and 8 identical calls and stops at 12; Cline CLI stops at 5; DeepSeek Harness nudges at 3, 5 and 8 | Aligned. A failing call is skipped from its third repeat; 8 identical rounds end the turn. runtime/agent/loop/tool_loop_guard.py |
Cheap harnesses share a small prefix, a stable history and no side calls. High-pass harnesses add persistence and verification rules and keep long commands alive. OpenProgram matches the cache, shell, loop-breaker, reasoning-replay and output-cap mechanisms and runs a heavier prefix.
Evidence and versions
| Harness | Evidence read | Differs from what the eval ran |
|---|---|---|
| OpenProgram | Current code under openprogram/ | Not in the eval |
| Codex CLI | Tag rust-v0.164.0 | Same. Unknown model names fall back to a 272K window and no apply_patch tool, so behaviour differs from OpenAI models |
| Pi | Tag v1.4.0 and npm package | Same. The eval gave no window, so Pi assumed 128K |
| OpenCode | Tags v1.19.4 and v2.2.7 | Same |
| Oh My Pi | Tag v18.12.6 and npm package | Same; edit format per model inferred from the alias rules |
| ZCode | Commit 3c5b2276, the one the eval built | Same; the exact tool list depends on bootstrap ports |
| KimiCode | Tag 2.3.1 and npm package | Same |
| Maka | Tag v0.2.2-dev.92.20261019 and npm package | Same version; the eval ran the interactive composition, not Maka's own benchmark profile |
| MiniMax Code | npm 0.6.13 bundle and templates | No public source; tool count and side calls unconfirmed |
| DeepSeek Harness | Tag dsh-v0.2.1-rc.3, recorded prompt and schema snapshots | Same; the four profiles are the eval's patches |
| Hermes Agent | Commit bf0203a7 | Same |
| Cline CLI | Tag cli-v3.0.73 and npm packages | Same |
| Grok Build | Public mirror at 1.0.45; strings of the 1.0.67 binary | Prompt text and mechanisms come from 1.0.45, 22 releases older; 1.0.67 encrypts its prompts |
| Alma | 0.4.212 desktop release bundle | Closed source. The eval built a headless server from a private tarball; packaging differences unconfirmed |
| mini-SWE-agent | Tag v2.4.6 | Same |
| Exo | Public commit 825318306c0e | The eval used a private tarball of the same commit with a patch to tool-call replay |
| GitHub Copilot CLI | 1.0.103 package files, strings of its runtime, current docs | Closed source; docs describe a newer release |
| Claude Code | Official docs, public repository changelog, public npm files | Docs describe the current release; 2.1.308 behaviour is pinned through the changelog only |
| Antigravity CLI | Strings of the 1.5.19 binary, changelog, current docs | 1.4.6 is not downloadable; the eval's installer cannot pin it either |
Sources sit in references/<slug>/, which is not tracked; references/README.md indexes them.
Related pages
- Framework overview
- How one conversation runs inside OpenProgram
- Feature matrix
- The same reference set by feature inventory
- Capability differences
- What the set has that OpenProgram lacks
- Context composition
- Agent collaboration
- Sandboxing
- Long-term memory
- Extension admission