OpenProgram Docs

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

DimensionOpenProgramThe reference setStanding
Product formPython harness for one local user: persistent worker, TUI, Web, Electron desktop, iPhone app, four chat channels14 coding CLIs; four assistant platforms with a host process, desktop and channels: Hermes Agent, Maka, Alma, ExoClosest to the platforms
Execution modelOne worker serves every surface; openprogram -p runs one promptOne process per run: Pi, mini-SWE-agent, Codex CLI exec. Local host that clients attach to: OpenCode, Maka, Alma, Cline CLI hub, DeepSeek Harness webComparable
Agent loopOne loop; ends on text without tool calls; continues after a length or empty stop; turn.stop hooksAll 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 surface35 default tools: 20 sent as schemas (with read_conversation), about 7.7k tokens; 16 behind tool_searchTools 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 31Heavy half
Edit formatExact str_replace, Codex apply_patch, whole-file write; read before edit, stale files refusedstr_replace almost everywhere; apply_patch for GPT-family models; fuzzy match cascades in Hermes Agent, Maka, Alma, ZCode; hashline by default in Oh My PiStrict: no fuzzy match
ShellCodex-style: fresh process per command, returns after 30 s while the command keeps running, write_stdin pollsLong 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: ExoWith the best
Context assemblyL0/L1/L2 component registry, most stable first; date rides the user message; AGENTS.md from home and the Git root downStable-to-volatile ordering is common: OpenCode v2, Hermes Agent, KimiCode, Grok Build, Oh My Pi, GitHub Copilot CLIComparable
Prompt cachingAnthropic breakpoints on tools and the latest user message; OpenAI prompt_cache_key; each request is diffed against the last and a cache break is namedOn the eval's Chat Completions path nearly all rely on the provider's prefix cache; KimiCode sends a cache key, Alma sends cache_controlAhead on diagnosis
CompactionLLM summary at 80% of the window including a 16K reserve; mid-turn; an unknown model is assumed to have 128KTrigger 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, ExoEarliest trigger
Tool-output truncationAbout 40k characters per result, bash about 30k; 60% head, 40% tail, full text spilled to a file; no pruning while the request fitsTight: 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 tokensGenerous
Subagentsagent tool, depth 1, six running per conversation; the base prompt says not to delegate unless askedMost have one. None: Pi, mini-SWE-agent, Exo, Cline CLI in its eval preset. Swarms: KimiCode 128, Oh My Pi 32Comparable
PermissionsFive modes, default bypass; rules; tool.before gate; LLM classifier in auto mode; Seatbelt and bubblewrap off by default; Docker and SSH backendsOS 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, AlmaComparable
SessionsAppend-only log per session: a DAG of user, llm and code nodes with branch heads; import from Claude Code and CodexTrees: 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 twoAhead on code nodes
ExtensionsMCP client and server, ACP, skills, plugins, 38 events, /v1/chat/completionsMCP, skills, plugins and hooks are standard; DeepSeek Harness builds everything from pluginsComparable
InterfacesTUI, Web, Electron desktop, iPhone app, Discord, Slack, Telegram, WeChat; -p with text, json, stream-json; Python SDKChannels: Hermes Agent about 25, Maka 8, Cline CLI 6, Alma 4. IDE extensions: Claude Code, KimiCode, Cline CLI, OpenCodeBehind on channels and IDEs
ProvidersAbout 28 adapters, six wire APIs, cross-provider history normalization. Chat Completions sends past reasoning back in the field it came inPi, KimiCode and Maka send reasoning back on Chat Completions; Exo drops itAligned
Cost reportingusage.db with cache reads, cache writes and USD per partPi, Hermes Agent and Maka price locally; Grok Build shows cost only from xAI and leaves side calls out; KimiCode shows no amountsAhead
Code paths for the OpenProgram column
DimensionPath under openprogram/
Agent loopruntime/agent/loop/loop.py · runtime/agent/loop/tool_loop_guard.py · runtime/conversation/turn_runtime/stop_hook.py
Tool surfaceprograms/__init__.py (DEFAULT_TOOLS, deferred list, TOOLSETS)
Editprograms/tools/files/edit.py · programs/tools/files/apply_patch.py · state/store/snapshot/read_tracking.py
Shellprograms/tools/files/bash/session.py · programs/tools/files/bash/bash.py
Truncationstate/store/session/files/spill.py · runtime/context/compaction/request.py
Contextruntime/context/prompt_assembly/components.py · runtime/context/prompt_assembly/guides/base.md
Cachingmodels/providers/settings/cache_policy.py · models/usage/prefix_fingerprint.py
Compactionruntime/context/engine.py · runtime/context/compaction/summarize.py · runtime/context/token_accounting/tokens.py
Subagentsprograms/tools/agents/agent/agent/agent.py · runtime/jobs/chain_budgets.py
Permissionsruntime/permissions/modes.py · runtime/permissions/auto_mode/classifier.py · state/sandbox_settings.py
Sessionsstate/store/session/nodes.py · state/store/session/external_import/
Providersmodels/providers/catalog/register.py · models/providers/shared/transform_messages.py · models/providers/adapters/openai_completions/openai_completions.py
Costmodels/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
DimensionCodex CLIZCodeKimiCodeDeepSeek Harness
FormRust TUI, exec, app server, SDKsTUI, desktop, web, Android, two botsTUI, web, desktop, VS Code, ACP, SDKWeb, desktop, headless, ACP, SDK; no TUI
Tools and editAbout 8; patches sent through the shellAbout 17, Claude Code shape; str_replace with normalization31, about 14k tokens; str_replaceMinimal 10, Standard 23, Code one run_code
ShellPTY sessions, poll with write_stdin120 s, then background60 s, then background60 s, then background
Output cap10k tokens head and tail30 KB, then file50k characters, then file12.5k tokens, then file
Compaction245K, local summaryAbout 166K; clears old results at 90% firstAbout 212K, handoff summaryAbout 839K: never
Pass-rate levers"Keep going until resolved", validation sectionLast-paragraph rule; continuation after length"Delivering work" verification; repeat breakerRepeat reminders; cache-stable catalog
SessionsJSONL rollouts, fork, SQLite stateSQLite, fork, rewind with filesEvent journal, fork, searchAppend-only log, fork
Vendor CLIs, closed source: Claude Code, GitHub Copilot CLI, Grok Build, Antigravity CLI, MiniMax Code
DimensionClaude CodeGitHub Copilot CLIGrok BuildAntigravity CLIMiniMax Code
FormTUI, IDEs, desktop, web, Agent SDKRust runtime under an Ink TUI, ACP, SDKRust TUI, ACPGo TUI, ACP, remote controlTUI on a Pi runtime, ACP
Tools and editAbout 50 documented, many gated for unknown models; str_replaceAbout 20; str_replace or apply_patchAbout 30 implemented, many always on; str_replaceAbout 30; exact chunks plus an LLM repair callAbout 13 base; Claude Code shape
Shell2 min, then backgroundPersistent shells by id15–30 s, then backgroundWait, then background60 s, then background
Output cap30k characters, then file20 KiB, then file20k characters, middle cutMiddle cut24 KiB head and tail
CompactionNear the assumed 200K80% of an assumed 128K, in the background85% of 200KServer defaultAbout 174K, archive first
Side callsSubagents, compactionSubagents on the session modelSummary model is the eval modelCheckpoint and edit-repair callsPossible session title
Cache hit94.3%88.6%92.4%95.6%92.3%
Open coding agents: Pi, Oh My Pi, OpenCode, Cline CLI, mini-SWE-agent
DimensionPiOh My PiOpenCodeCline CLImini-SWE-agent
FormTUI, JSON, RPC, SDKPi fork: TUI, ACP, RPC, SDKTUI over a local server, desktop, web, ACPTUI, VS Code, JetBrains, hub daemonResearch CLI and library
Tools and edit4; str_replace11 schemas, the rest as xd:// names; hashline or str_replace by modelv1 about 12, v2 fewer and shorter; str_replace4 in the eval preset; str_replace1: bash; edits by sed
PromptAbout 1.5k tokensAbout 7–10k tokens with schemasv1 8.5 KB per model, v2 756 bytes4.6 KB benchmark promptOne line plus 4.5 KB task template
ShellNo default timeoutPersistent embedded bash, 300 s2 min30 s, then killed30 s, then killed
Output cap50 KB tail50 KB, read summaries, stale reads pruned50 KiB, then file8k characters in requests10k characters head and tail
Compaction112K85% of 1M: neverNone for an unknown windowAbout 115KNone
SessionsJSONL treeJSONL tree, importSQLite, fork, shareSQLite, fork, importTrajectory file
Assistant platforms: Hermes Agent, Maka, Alma, Exo
DimensionHermes AgentMakaAlmaExo
FormPython CLI, TUI, web, desktop, about 25 channelsRuntime host with desktop, TUI, 8 channelsClosed desktop and server, iOS, 4 channelsHosting runtime for other harnesses; its example harness ran
Tools and editAbout 14; patch with 9 fuzzy strategiesFull interactive set; fuzzy str_replaceAbout 18; str_replace with fallbacks23, one of them shell; no edit tool
Shell180 s, cwd and env kept120 s, opt-in background60 s, then backgroundNo timeout
Output cap50k characters, then file7.5 KB placeholder, page the restBash 3.8k characters, archive4k-character head, exit code lost
Compaction50% of about 1M: rareOnly after overflow80%, mid-turnNone
Pass-rate leversKeep-working blocks for GLM, DeepSeek, Muse and KimiProgress-update contractGrader rules; 10 automatic continuationsNone; reasoning dropped
Side callsNone in one-shot runsTitle, memory extractionBash risk analysis, skill selectionNone
Codebase size
ProjectFirst-party lines
Hermes AgentAbout 1,607,000
Grok BuildAbout 1,438,000 Rust, 1.0.45 mirror
Oh My PiAbout 1,410,000: 1.07M TypeScript, 342K Rust
Codex CLI1,199,720
ZCodeAbout 1,136,000; Agent CLI about 365,000
OpenCodev2 842,906; v1 496,564
MakaAbout 812,000
DeepSeek HarnessAbout 535,000
OpenProgram433,183 Python in openprogram/, plus the Web and TUI clients
KimiCodeAbout 407,000
Cline CLIAbout 216,800 in the pieces the CLI runs
Pi208,798
Exo146,011
mini-SWE-agent5,080
Claude Code, GitHub Copilot CLI, Antigravity CLI, Alma, MiniMax CodeClosed source; not counted

.py, .ts, .tsx, .js, .rs, .go; tests, vendor, dist and generated code excluded. Size indicates scope, not quality.

Eval results

0.6 0.7 0.8 0.9 50% 55% 60% Average cost per task (USD) Pass rate $1.00 $1.20 $1.50 Codex CLI ZCode KimiCode Hermes Agent Cline CLI Grok Build Alma DSH Standard DSH Creator mini-SWE-agent DSH Code Exo Copilot CLI Claude Code Antigravity CLI Pi · OpenCode v2 · Oh My Pi OpenCode v1 · Maka · MiniMax Code · DSH Minimal per pass
  1. Cheapest per passCodex CLI: $0.94, near-lowest cost per task and 61.1% passed
  2. As cheap, fewer passesPi, OpenCode v2, Oh My Pi: about $0.56 per task, 57–58% passed
  3. Most passes, mid costZCode 61.9%, KimiCode 60.2%, Grok Build 60.0%, Hermes Agent 59.9%, Alma 59.7%
  4. Most expensiveClaude Code and Antigravity CLI by tokens per task; Exo by its 50.6% pass rate
RankHarnessVersionCost per passCost per taskPass rateCache hit
1Codex CLI0.164.0$0.937$0.57361.1%93.9%
2Pi1.4.0$0.976$0.56357.7%94.5%
3OpenCode v22.2.7$0.978$0.56157.3%94.3%
4Oh My Pi18.12.6$0.983$0.56457.3%93.1%
5ZCode0.17.0$1.06$0.65961.9%92.0%
6KimiCode2.3.1$1.09$0.65360.2%93.3%
7OpenCode v11.19.4$1.12$0.64657.4%94.6%
8Maka0.2.2-dev.92.20261019$1.13$0.65457.7%91.5%
9MiniMax Code0.6.13$1.14$0.64756.8%92.3%
10DeepSeek Harness: Minimal0.2.1-rc.3$1.15$0.66157.4%95.1%
11Hermes Agent0.22.5$1.16$0.69259.9%93.0%
12Cline CLI3.0.73$1.19$0.68957.7%86.4%
13Grok Build1.0.67$1.20$0.72360.0%92.4%
14Alma0.4.212$1.22$0.73159.7%91.0%
15DeepSeek Harness: Standard0.2.1-rc.3$1.27$0.69755.0%94.6%
16DeepSeek Harness: Creator0.2.1-rc.3$1.27$0.71356.1%95.5%
17mini-SWE-agent2.4.6$1.29$0.75758.6%94.7%
18DeepSeek Harness: Code0.2.1-rc.3$1.32$0.73255.2%94.5%
19Exo825318306c0e$1.36$0.69150.6%91.1%
20GitHub Copilot CLI1.0.103$1.38$0.78756.9%88.6%
21Claude Code2.1.308$1.55$0.91558.9%94.3%
22Antigravity CLI1.4.6$1.63$0.89755.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.

MechanismWhat the eval showsOpenProgram
Small fixed prefixThe 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–13kLighter. 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 manyDeepSeek 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 prefixHit 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 passAligned. 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 contextPi 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 compactAligned. 80% including the reserve, mid-turn, 128K assumed for an unknown model: earlier than Pi. runtime/context/engine.py
Tool-output capsCodex 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 costComparable 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 callsThe 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 callsFew. An LLM title on turns 1, 6, 16 and 40. runtime/conversation/turn_runtime/titles.py
Anti-early-stop promptingZCode, 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 replyPresent. "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
VerificationKimiCode (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 surviveCodex 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 foreverAligned. Codex unified-exec model. programs/tools/files/bash/session.py
Reasoning kept between tool roundsAll five eval models think. Pi, KimiCode and Maka send reasoning back; Exo drops it and has the lowest pass rate, among other defectsAligned. 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 breakersKimiCode nudges at 3, 5 and 8 identical calls and stops at 12; Cline CLI stops at 5; DeepSeek Harness nudges at 3, 5 and 8Aligned. 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

HarnessEvidence readDiffers from what the eval ran
OpenProgramCurrent code under openprogram/Not in the eval
Codex CLITag rust-v0.164.0Same. Unknown model names fall back to a 272K window and no apply_patch tool, so behaviour differs from OpenAI models
PiTag v1.4.0 and npm packageSame. The eval gave no window, so Pi assumed 128K
OpenCodeTags v1.19.4 and v2.2.7Same
Oh My PiTag v18.12.6 and npm packageSame; edit format per model inferred from the alias rules
ZCodeCommit 3c5b2276, the one the eval builtSame; the exact tool list depends on bootstrap ports
KimiCodeTag 2.3.1 and npm packageSame
MakaTag v0.2.2-dev.92.20261019 and npm packageSame version; the eval ran the interactive composition, not Maka's own benchmark profile
MiniMax Codenpm 0.6.13 bundle and templatesNo public source; tool count and side calls unconfirmed
DeepSeek HarnessTag dsh-v0.2.1-rc.3, recorded prompt and schema snapshotsSame; the four profiles are the eval's patches
Hermes AgentCommit bf0203a7Same
Cline CLITag cli-v3.0.73 and npm packagesSame
Grok BuildPublic mirror at 1.0.45; strings of the 1.0.67 binaryPrompt text and mechanisms come from 1.0.45, 22 releases older; 1.0.67 encrypts its prompts
Alma0.4.212 desktop release bundleClosed source. The eval built a headless server from a private tarball; packaging differences unconfirmed
mini-SWE-agentTag v2.4.6Same
ExoPublic commit 825318306c0eThe eval used a private tarball of the same commit with a patch to tool-call replay
GitHub Copilot CLI1.0.103 package files, strings of its runtime, current docsClosed source; docs describe a newer release
Claude CodeOfficial docs, public repository changelog, public npm filesDocs describe the current release; 2.1.308 behaviour is pinned through the changelog only
Antigravity CLIStrings of the 1.5.19 binary, changelog, current docs1.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
Last updated · 2026-11-30