# Capability differences

Mechanisms in the [framework comparison](https://openprogram.io/docs/reference/design/framework-comparison/overview.html)'s reference set that OpenProgram lacks or does differently, each with its source and an assessment. Listing one does not approve building it.

## Missing or different

| Mechanism | Where | OpenProgram | Assessment |
| --- | --- | --- | --- |
| [Reasoning kept on Chat Completions](#reasoning) | Pi, KimiCode, Maka | Kept | Done |
| [Last-paragraph rule](#early-stop) | ZCode, Hermes Agent, Alma | "Read your last paragraph" in the base prompt | Done |
| [Verification mandate](#verify) | KimiCode, Cline CLI, Alma | Verify the way the user gets it, in the base prompt | Done |
| [Names-only tool catalog](#deferred) | Oh My Pi, Grok Build, Claude Code | 20 resident schemas | Done |
| [Programmatic tool calling](#ptc) | DeepSeek Harness, Codex CLI, Alma, Pi, OpenCode v2 | Absent | Not as the main surface |
| [Small output placeholder](#archive) | Maka, Cline CLI, Alma | About 40k characters inline | Measure a lower cap |
| [One-shot profile](#profile) | Cline CLI, Maka, Hermes Agent, MiniMax Code | `-p` runs the chat composition | Keep one composition |
| [Critic agent and approval judge](#critic) | GitHub Copilot CLI, Codex CLI, Antigravity CLI | Judge yes, critic no | No critic |
| [Forgiving edits](#edit) | Hermes Agent, Maka, ZCode, Oh My Pi, Antigravity CLI | Exact, then four deterministic normalizations | Done |
| [Session import breadth](#import) | Maka, Cline CLI | Claude Code, Codex, DeepSeek Harness, Antigravity, Cursor, Hermes | Enough |
| [Pinned prompt snapshots](#snapshots) | DeepSeek Harness | Snapshot test of the default prefix | Done |
| [Swarms and teams](#swarm) | KimiCode, Antigravity CLI, Cline CLI, Oh My Pi | Depth 1, six running | No |
| [Channel and IDE reach](#reach) | Hermes Agent, Maka, Cline CLI, KimiCode | Four channels, no IDE extension | Unchanged gap |

### Each mechanism

**Reasoning kept on Chat Completions**

| Aspect | Detail |
| --- | --- |
| Mechanism | Reasoning streamed in `reasoning_content` goes back on later assistant messages in the same field, so a thinking model keeps its plan across tool rounds |
| Source | Pi `packages/ai/src/api/openai-completions.ts`; KimiCode `thinking.keep = "all"`; Maka `model-factory.ts` plaintext replay. Exo drops it (`exoharness/typescript/model-runtime/responses.ts`) and passes least |
| OpenProgram | The thinking block records the field the reasoning came in; `_replay_reasoning` sends it back there, inside the turn and in later turns, and DeepSeek gets `reasoning_content` on every assistant message, as in Pi. `models/providers/adapters/openai_completions/openai_completions.py` · [Reasoning replay](https://openprogram.io/docs/reference/design/providers/requests/responses-reasoning-replay.html#chat-completions) |
| Assessment | All five eval models think and arrive over this wire; another model gets the reasoning as text, never in a reasoning field |

**Last-paragraph rule**

| Aspect | Detail |
| --- | --- |
| Mechanism | ZCode, the highest pass rate: before ending, check the last paragraph; if it is a plan or a promise, do that work now. The user cannot answer mid-task, so no "Want me to…?". Hermes Agent sends keep-working blocks to GLM, DeepSeek, Muse and Kimi by model name. Alma continues an unfinished turn up to 10 times |
| Source | ZCode `CLI/core/src/context/dynamic-sections.ts`; Hermes Agent `agent/prompt_builder.py`; Alma `ALMA_MAX_AUTO_CONTINUE` |
| OpenProgram | "Finishing work" forbids stopping while work is owed, and before ending the turn the model reads its last paragraph: a plan, next steps or a promise that waits on no one is done now with tool calls. `runtime/context/prompt_assembly/guides/base.md` · `runtime/agent/loop/loop.py` |
| Assessment | Done: ZCode's trigger, as a prompt rule; the loop still continues on its own only after a length or empty stop |

**Verification mandate**

| Aspect | Detail |
| --- | --- |
| Mechanism | KimiCode: verify in the form the user receives it, never mark done while tests fail, re-read every "must". Cline CLI: the run ends only through `submit_and_exit` with a verified flag. Alma: remove your byproducts, check the task's own criterion, write a best answer early |
| Source | KimiCode `core/app/agentProfileCatalog/system.md`; Cline CLI `sdk/packages/shared/src/prompt/system/yolo.ts`; Alma bundle prompt |
| OpenProgram | "Verify the result the way the user will get it before you say it is done: run the tests, the command or the program you changed", in the base prompt; a separate verification turn exists in goal mode only. `runtime/context/prompt_assembly/guides/base.md` · `programs/tools/planning/goal/verification.py` |
| Assessment | Done as wording, KimiCode's form. Mixed evidence (GitHub Copilot CLI prompts heavily for verification and passes 56.9%), so no required completion tool |

**Names-only tool catalog**

| Aspect | Detail |
| --- | --- |
| Mechanism | Oh My Pi mounts rarely used tools as `xd://` devices: the prompt lists names, `read` fetches docs, `write` runs them. 11 of 30 built-ins go out as schemas, and it costs within a cent of Pi. Grok Build and Claude Code put MCP tools behind a search tool |
| Source | Oh My Pi `packages/coding-agent/src/tools/xdev.ts`; Grok Build user guide, MCP servers |
| OpenProgram | `tool_search` holds 16 of 35 default tools; 20 resident, about 7.7k tokens (was 27 and 8.6k). Measured over 918 local conversations: the four MCP meta tools were never called, the three Goal tools once, so they went to the catalog. `programs/__init__.py` · [Measured split](https://openprogram.io/docs/reference/design/runtime/agent-configuration/tool-toggle-management.html#measured) |
| Assessment | Done, after Oh My Pi. `computer_use`, `task_start` and `remind` stay resident for the measured reasons in `programs/__init__.py`; the snapshot test shows any regrowth |

**Programmatic tool calling**

| Aspect | Detail |
| --- | --- |
| Mechanism | The model writes a program that calls tools; only the program's result enters context. DeepSeek Harness Code exposes one `run_code` tool and a generated TypeScript SDK of the rest. Codex CLI code mode reduces the surface to `exec` and `wait`. Alma's `run_script`, Pi's codemode and OpenCode v2's `execute` keep native tools and put scripts or MCP behind one entry |
| Source | DeepSeek Harness `packages/core/tools/src/ptc.ts`; Codex CLI `codex-rs/features/src/lib.rs` (`code_mode`, under development, off by default); OpenCode `packages/core/src/tool.ts` |
| OpenProgram | `execute_code` runs Python with no tool bridge; Agent methods and workflows are written ahead of the turn, not by the model inside it |
| Assessment | On this eval the full form lost: DeepSeek Harness Code was its most expensive profile ($1.32, 55.2%), with a 27.7k-character prompt. Only the narrow form, MCP or fan-out behind one tool, is worth comparing |

**Small output placeholder**

| Aspect | Detail |
| --- | --- |
| Mechanism | Maka archives any result over 7.5 KB and shows a placeholder with the first page, which the model pages with `Read`. Cline CLI cuts results to 8,000 characters in requests and keeps the full text behind `cline://cache`. Alma caps Bash at 3,800 characters |
| Source | Maka `tool-result-archive-transition.ts`; Cline CLI `core/src/session/services/message-builder.ts` |
| OpenProgram | About 40k characters inline, 60% head and 40% tail, then a file. `state/store/session/files/spill.py` |
| Assessment | Smaller caps did not make those three cheap, since Alma's tight cap pushes re-reads. Codex CLI's 10k tokens is the cheap harness's value; measure there before changing |

**One-shot profile**

| Aspect | Detail |
| --- | --- |
| Mechanism | A separate composition for unattended runs: Cline CLI's yolo preset (4 tools, own prompt), Maka's `headless-coding-v1`, Hermes Agent's one-shot footprint that hides skill management, MiniMax Code's `--prompt-mode` |
| Source | Cline CLI `extensions/tools/presets.ts`; Maka `hosted-execution-tool-profile.ts`; Hermes Agent `agent/oneshot_footprint.py` |
| OpenProgram | `-p` runs the same loop, compaction and guards as a Web turn. `interfaces/cli/print_mode/print_turn.py` |
| Assessment | The eval ran Maka's interactive composition, not its tuned profile, so a separate profile only helps if the harness wires it in. Make the default composition lean instead |

**Critic agent and approval judge**

| Aspect | Detail |
| --- | --- |
| Mechanism | GitHub Copilot CLI's prompt pushes a rubber-duck agent on a complementary model for non-trivial plans, and its assisted mode lets an LLM approve eligible tool calls. Codex CLI has a guardian review, Antigravity CLI a reversibility reviewer, Alma a per-command risk model |
| Source | GitHub Copilot CLI `definitions/*.agent.yaml` and command reference; Codex CLI `core/src/guardian/` |
| OpenProgram | Auto mode runs an LLM classifier that fails closed after a read-only allowlist. `runtime/permissions/auto_mode/classifier.py`. No critic agent |
| Assessment | The judge is present and allowlist-first, which avoids Alma's per-command cost. A critic is unproven here: GitHub Copilot CLI ranks 20th |

**Forgiving edits**

| Aspect | Detail |
| --- | --- |
| Mechanism | Hermes Agent's `patch` tries nine match strategies; Maka and Alma fall back from exact to trimmed and whitespace-normalized; ZCode keeps quote style, line endings and strips pasted line numbers. Oh My Pi defaults to hash-anchored lines and switches to `str_replace` for Kimi, DeepSeek and GLM Flash. Antigravity CLI sends a failed edit and the whole file to a repair call |
| Source | Hermes Agent `tools/file_tools.py`; ZCode `CLI/core/src/tool/edit-matchers.ts`; Oh My Pi `utils/edit-mode.ts` |
| OpenProgram | Exact match first, then in order: line endings (written in the file's CRLF or LF), `read`'s line-number prefixes, trailing whitespace per line, curly quotes (written in the file's style). Each still needs one target, the result names the normalization, and `apply_patch` hunks use the same chain. `programs/tools/files/_edit_match.py` |
| Assessment | Done: ZCode's deterministic steps only. No fuzzy matching and no repair call, which trade correctness or tokens |

**Session import breadth**

| Aspect | Detail |
| --- | --- |
| Mechanism | Maka imports from Claude Code, Codex, Cursor and OpenCode; Cline CLI from Claude Code, Codex and OpenCode; Hermes Agent and Oh My Pi from Claude Code and Codex |
| Source | Maka `packages/storage/src/*-session-adapter.ts`; Cline CLI `core/src/services/session-import/` |
| OpenProgram | `sessions import --from claude-code\|codex`; the Claude app, DeepSeek Harness, Antigravity, Cursor and Hermes Agent are synced as they are written, with no import. `state/store/session/external_import/` |
| Assessment | Covers Maka's sources but OpenCode, and adds the apps synced live |

**Pinned prompt snapshots**

| Aspect | Detail |
| --- | --- |
| Mechanism | DeepSeek Harness records the exact system prompt and tool schemas of each composition as test snapshots, and every package documents its token and cache effect |
| Source | DeepSeek Harness `snapshots/session/*/system-prompt.expected.md`, `tool-schemas.expected.json` |
| OpenProgram | A contract test builds the default web prompt and the resident schemas for a canonical Agent (fixed paths and OS, no AGENTS.md, memory or skills) and compares them with `system-prompt.expected.md`, `tool-schemas.expected.json` and a token estimate; the command in the test's docstring regenerates them. [`tests/contracts/context/test_default_prompt_snapshot.py`](https://github.com/Fzkuji/OpenProgram/blob/main/tests/contracts/context/test_default_prompt_snapshot.py) |
| Assessment | Done: growth of the default prefix (about 1.7k prompt and 7.7k schema tokens) shows as a diff in review |

**Swarms and teams**

| Aspect | Detail |
| --- | --- |
| Mechanism | KimiCode's `AgentSwarm` runs up to 128 templated subagents; Antigravity CLI has `/swarm` with a verifier; Cline CLI teams share a task board; Oh My Pi allows 32 concurrent workers and prompts eager delegation for non-OpenAI models |
| OpenProgram | Depth 1, six running per conversation; the base prompt says not to delegate unless asked |
| Assessment | The eval argues against delegation by default: DeepSeek Harness without subagents beat its own default on cost and pass rate. Keep the current stance |

**Channel and IDE reach**

| Aspect | Detail |
| --- | --- |
| Mechanism | Hermes Agent ships about 25 messaging platforms, Maka 8, Cline CLI 6. KimiCode and Cline CLI maintain VS Code extensions; Claude Code has VS Code and JetBrains |
| OpenProgram | Discord, Slack, Telegram, WeChat; ACP for editors that speak it; no maintained IDE extension |
| Assessment | Unchanged by this reference set and unrelated to the eval |

## Distinctive mechanisms

| Mechanism | Closest counterparts | Result |
| --- | --- | --- |
| Session DAG with code nodes | Maka: an append-only event log that prompts and UI are projected from. Exo: event log, fork at any event. DeepSeek Harness: append-only session log. Pi, Oh My Pi: id and parent id tree in one file | Event logs are now common. Still distinct: nested Agent method calls recorded as code nodes beside user and llm nodes, with caller and predecessor edges. `state/store/session/nodes.py` |
| Cache-break attribution | Codex CLI tracks request properties that break the cache; Hermes Agent reports cache-break metrics by cause | Each request is diffed against the lane's last one before sending, and a drop in cache reads is attributed to TTL or server. `models/usage/prefix_fingerprint.py` |
| Usage ledger in currency | Maka: editable pricing; Pi: footer cost; Grok Build: cost only when xAI stamps it, side calls excluded | Every model call with cache reads, cache writes and USD per part, budgets in micro-dollars. `models/usage/ledger.py` |
