Most developers evaluate coding agents by comparing frontier models: Claude Opus 5.5 vs GPT-6 Astra vs Gemini 4 Argon (names as listed on each vendor’s model page on October 30, 2026). That framing assumes model weights are the sole variable dictating coding performance.
Assign an agent to a large brownfield codebase, however, and you quickly discover the real chokepoint: the execution harness.
When an agent fails to resolve an issue, it is rarely because it lacked the intelligence to diagnose the bug. More often, it fails at the mechanical interface: fuzzy diffs drift, whitespace mismatches break string replacements, compiler logs blow out context windows, and concurrent subagents clash over shared files.
Can Bölük (creator of oh-my-pi) put it this way in The Harness Problem: blaming the model for these failures is like “blaming the pilot for the landing gear.” Optimizing the edit tool alone can swing model pass rates by up to 10× with zero training compute. The best case was Grok Code Fast 1, from 6.7% to 68.3%.
To solve this execution bottleneck, Oh My Pi (omp.sh) is a hardened, high-performance CLI harness. It started as a fork of Mario Zechner’s minimalist pi-mono. Today omp combines native Rust execution, deterministic Hashline patching, AST structural refactoring, and multi-agent coordination without vendor lock-in.
This article is a deep-dive tour of Oh My Pi. It covers the core thesis behind The Harness Problem, the 16-model benchmark results, and 4 built-in architectural differentiators. It also explains why open harnesses beat proprietary walled gardens and how omp compares directly to OpenCode, Claude Code, Cursor Agent, and Pi.dev.
Updated October 30, 2026.
ompis now at v18.14.0 (October 29, 2026) and ships on a near-daily cadence, with 670+ releases in the repo. What changed since the August tour: the Bun requirement is now ≥ 1.4.4. Manual compactions emitmanual_compaction_start/manual_compaction_endsession events for RPC hosts. A newretry.rateLimitWalksChainsetting can walk the model fallback chain on a 429 instead of retrying a throttled model. Sessions can be renamed from the resume picker. v18.14.0 also made provider-qualified model selectors exact: a near match now fails with an error instead of silently picking a sibling model, so use exact model IDs (the config below does). The project now describes itself as “a coding agent with the IDE wired in” (60+ providers, 31 built-in tools, LSP/DAP operations, ~80k lines of Rust core). The model names in this article were also refreshed against each vendor’s model page on October 30, 2026. None of that changes the thesis below: the harness is still the bottleneck. Pin a version before quoting any feature list, including this one.
TL;DR
- The Harness Problem: The coding agent bottleneck is often not model intelligence, but the interface between model tokens and workspace mutations. Improving the edit tool format alone swings success rates by up to 10× (6.7% → 68.3% on Grok Code Fast 1) and cuts output tokens by up to 61% (Grok 4 Fast).
- What Oh My Pi Is: A high-speed, open-source terminal coding harness built on Bun and Rust native bindings (
@oh-my-pi/pi-natives). It pairs multi-model portability with deterministic execution guardrails. - The 4 Competing Edit Tool Paradigms:
- Codex
apply_patch: OpenAI-flavored diff blobs, which the post infers are biased at the API gateway. Grok 4 and GLM-4.7 had patch failure rates of 50.7% and 46.2%. - Claude Code
str_replace: Exact character/whitespace matching; prone to “string not found” error fatigue. - Cursor Instant Apply: Dedicated 70B fine-tuned apply model that rewrites the whole file instead of emitting diffs (Cursor’s May 2024 post).
- Oh My Pi Hashline (
[PATH#TAG]): Content-hashed anchors (a 4-hex snapshot tag per file read) with Optimistic Concurrency Control (OCC); zero whitespace recall needed.
- Codex
- 4 Key Built-In Differentiators:
- Deterministic Hashline Patching: Checksum-tagged line anchors prevent silent offset drift across multi-file edits.
- Native AST-Grep Staging: Language-aware syntax tree refactoring staged in memory before touching disk.
- Snapcompact Visual Compaction: Compresses long transcripts by rendering historical turns into 1-bit bitmap PNGs for multimodal vision models.
- The Agent Hub: A live TUI dashboard (
Alt+A) and peer-to-peer IRC broker for concurrent subagent swarms, with opt-in copy-on-write sandboxes.
- Open Harnesses vs Walled Gardens: The post argues that proprietary vendors (Anthropic, Google) will never optimize their CLI harnesses for competitor models. An open-source harness can serve as a neutral bridge and cross-model R&D layer for the entire AI ecosystem.
- Velocity warning (October 2026): Oh My Pi now ships almost daily (v18.14.0, October 29, 2026; Bun ≥ 1.4.4 for the Bun install path). The architecture below is stable; any specific tool count, model ID, or config key should be re-verified against the release you install.
What You Will Learn Here
- Why model benchmarks miss the primary source of agent failure in production.
- How the 4 main code editing paradigms (
apply_patch,str_replace, 70B merge models, and Hashline) compare mechanically. - The quantitative results of the React Edit Benchmark across 16 LLMs and 3 edit formats.
- How
omp.shimplements Hashline patching, AST-grep staging, and visual context compaction. - How the Model Roles architecture decouples logical tasks from concrete model providers.
- A feature-by-feature comparison matrix against Claude Code, OpenCode, Cursor, and Pi.dev.
What is Oh My Pi? (The 30-Second Tour)
At its core, Oh My Pi (omp.sh) is a developer-centric CLI engine designed to execute long-horizon coding tasks safely.
flowchart TB
subgraph UserInterface ["Terminal Layer (Bun Runtime)"]
CLI["omp CLI & Interactive TUI"]
HubHUD["Agent Hub HUD (Alt+A)"]
Router["Model Tier Router (Opus, GPT, Gemini)"]
end
subgraph HardenedCore ["Hardened Engine (@oh-my-pi/pi-natives)"]
Hashline["Hashline Snapshot Tagging Engine"]
AST["ast-grep & Tree-Sitter Modding Core"]
Compact["Multi-Tier Compaction (Snapcompact & Shake)"]
PAL["Platform Abstraction Layer (APFS CoW / OverlayFS)"]
Mnemopi["Mnemopi Episodic Memory (SQLite-Vec)"]
end
UserInterface --> HardenedCore
omp executes its core operations through compiled Rust N-API bindings rather than interpreted scripts. This provides sub-millisecond workspace scanning, syntax-aware code parsing, and fast checksum calculations.
The Harness Problem: Why Model Benchmarks Miss the Real Bottleneck
In AI engineering, discourse is dominated by leaderboard battles between frontier models. Yet when you trace agent failures in realistic brownfield repos, the breakdown rarely occurs in high-level reasoning.
Instead, the failure happens in the harness: the tool schemas, edit formats, error messages, and state reconciliation layers that translate model thoughts into filesystem writes.
flowchart LR
A["Industry Obsession<br><b>'Which Model is Best?'</b><br>(Opus vs GPT vs Gemini)"] -.->|Misses the Real Chokepoint| B["The Execution Harness<br><b>Tool Schemas & Edit Anchors</b><br>(Where most agent failures occur)"]
B --> C["The Finding<br><b>'Blaming the pilot for the landing gear'</b><br>Models understand the task but fail at diff syntax"]
The 4 Edit Tool Paradigms
How does an LLM communicate a change to a file? Today’s developer tools take four distinct architectural approaches:
flowchart TD
subgraph Paradigms ["Code Modification Approaches in 2026"]
P1["1. apply_patch (Codex)<br>OpenAI diff blob with gateway token bias"]
P2["2. str_replace (Claude Code)<br>Exact string match; zero whitespace tolerance"]
P3["3. Dedicated 70B Model (Cursor)<br>Fine-tuned model trained solely to merge diffs"]
P4["4. Hashline [PATH#TAG] (Oh My Pi)<br>Content-hashed line anchors + Optimistic Concurrency"]
end
| Paradigm | Primary Tools | How It Works | Primary Failure Mode |
|---|---|---|---|
apply_patch | OpenAI Codex | LLM outputs a unified diff string following strict structural formatting rules. | Gateway Bias (the post’s inference): In the benchmark, Grok 4 and GLM-4.7 had patch failure rates of 50.7% and 46.2%. |
str_replace | Claude Code, Gemini CLI | LLM outputs the exact old text chunk and the new text chunk. | Whitespace Drift: A single missed space or indentation error triggers “String not found” failures. |
| Dedicated Model | Cursor (Instant Apply) | A fine-tuned 70B neural network inspects draft edits and merges them into the file. | Second Model in the Loop: Every edit depends on a separate merge model; Cursor’s own post has it rewrite the whole file instead of emitting diffs. |
Hashline ([PATH#TAG]) | Oh My Pi (omp.sh) | Every file read returns a 4-hex snapshot tag; edits cite that tag plus line numbers. (The benchmark’s first version tagged each line with a 2–3 character hash.) | Stale View (Safe): If the file changed, tag mismatch triggers fast rejection before corruption. |
Why Naive Edit Tools Break in Practice
- The Exact-Recall Trap (
str_replace): To replace 5 lines of code, the model must reproduce every single character, indentation space, and newline perfectly. In large files, minor whitespace drift causes the dreaded “String to replace not found in file” error (Claude Code Issue #3471 + 27 related issues). - Proprietary Gateway Bias (
apply_patch): The post infers that OpenAI’s Codex models are “almost certainly” biased at the API gateway to fit theapply_patchstructure. Give that same format to Grok 4 or GLM-4.7, and patch failure rates in the benchmark hit 50.7% and 46.2%. The models understand the code; they simply don’t speak OpenAI’s diff dialect. - Academic Confirmation: The JetBrains Diff-XYZ benchmark found that the best diff format depends on the use case and model size. EDIT-Bench found that only 1 of the 40 LLMs it evaluated scores over 60% on real-world instructed edits.
4 Built-In Features That Make omp.sh Different
flowchart TD
subgraph HardeningPillars ["Oh My Pi Hardening Architecture"]
F1["1. Deterministic Hashline Patching<br>Line-level checksums + OCC rejection"]
F2["2. Native AST-Grep Staging<br>In-memory syntax tree refactoring"]
F3["3. Visual Snapcompact<br>1-bit bitmap PNG transcript compaction"]
F4["4. Supervised Agent Hub<br>CoW sandboxes + peer IRC messaging"]
end
1. Deterministic Hashline Patching ([PATH#TAG])
Rather than forcing the model to reproduce verbatim code or guess shifting line numbers, Oh My Pi tags every read file view with a 4-hex checksum fingerprint:
[src/auth/session.ts#4F1A]
1:export interface SessionConfig {
2: ttlMs: number;
3: jwtSecret: string;
4:}
5:
6:export function createSession(config: SessionConfig) {
7: return new SessionStore(config);
8:}
When modifying code, the agent targets the snapshot tag using syntactic block operators:
[src/auth/session.ts#4F1A]
PUT 6*:
+export function createSession(config: SessionConfig, logger?: Logger) {
+ if (logger) logger.info("Initializing session store");
+ return new SessionStore(config);
+}
PUT N*:replaces the entire AST node (function, class, interface) starting on line N, resolved automatically by Tree-sitter.- Optimistic Concurrency Control (OCC): If another process or subagent modifies
session.ts, the file tag changes (for example, to#9B2E). When the agent submits an edit against#4F1A, the engine instantly rejects the patch, stopping silent code collisions before disk writes occur.
sequenceDiagram
autonumber
actor LLM as Coding Agent
participant Harness as Oh My Pi Harness
participant FS as Local Filesystem
LLM->>Harness: Read src/auth/session.ts
Harness-->>LLM: Returns content with fingerprint [session.ts#4F1A]
Note over LLM,FS: Background process updates session.ts (tag becomes #9B2E)
LLM->>Harness: PUT 6*: [session.ts#4F1A] (New implementation)
Harness->>Harness: Verify current tag (#9B2E) == Request tag (#4F1A)
Harness-->>LLM: ERROR: Tag mismatch. File modified since last read. Re-read required.
Note over LLM,FS: Code corruption prevented! Agent re-reads fresh state and succeeds.
The React Edit Benchmark Results
To measure the impact of edit tool design, Can Bölük ran the React Edit Benchmark (since renamed typescript-edit-benchmark in the repo). It covers 16 models and 3 edit formats (apply_patch, str_replace, and hashline). Each model got 3 runs per task and 180 tasks per run, in fresh sessions on mutated React source files. Five of the 16 models, with figures read from the post’s chart (hashline v1 vs apply_patch):
| Model | Patch Pass Rate | Hashline Pass Rate | Net Improvement | Output Token Change |
|---|---|---|---|---|
| Grok Code Fast 1 | 6.7% | 68.3% | +61.6 pp (10× jump) | -49% |
| GPT-5.1 Codex Mini | 57.2% | 60.0% | +2.8 pp (+20.3 pp with Hashline v2: 77.5%) | n/a |
| Gemini 3 Flash | 73.3% | 78.3% | +5.0 pp | -21% |
| MiniMax M2.1 | 23.3% | 55.0% | +31.7 pp (2.4× jump) | -42% |
| Grok 4 Fast | 28.9% | 43.3% | +14.4 pp | -61% (fewer retry loops) |
The post describes per-line 2–3 character hashes, while omp’s edit docs now describe a 4-hex snapshot tag per file read. Treat these numbers as evidence for the anchor approach, not a measurement of today’s tag format (an editorial reading, not a claim from the post).
Key Takeaways from the Data:
- Hashline beat patch in 14 out of 16 models, and Hashline v2 improved scores further in 12 of 16 models.
- Weaker models gained the most: Grok Code Fast 1 jumped from 6.7% to 68.3% because its actual coding capability was previously masked behind mechanical edit failures.
- Massive Token Reductions: Grok 4 Fast output tokens dropped by 61% because the agent stopped burning context in endless “patch failed, re-reading file” retry loops.
- Zero Compute Cost: Gemini 3 Flash went from 73.3% to 78.3% (+5.0 pp, beating Google’s best attempt by 5.0 pp), and to 81.3% (+8.0 pp) with the v2 revision. The post reports zero model retraining and about $300 in benchmark API spend.
2. Native AST-Grep Staging (ast_edit)
For multi-file refactoring, regex search-and-replace is notoriously dangerous. Oh My Pi includes native structural AST transformations via ast_edit:
sequenceDiagram
autonumber
actor Agent as Coding Agent
participant Rust as Rust AST Engine (ast-grep)
participant Staging as Memory Staging Buffer
participant FS as Local Filesystem
Agent->>Rust: Send AST Pattern (e.g. async function $F($$$ARGS))
Rust->>Rust: Parse CST & Match Structural Nodes
Rust->>Staging: Stage Proposed Diff
Staging-->>Agent: Preview Structured Diff [PATH#TAG]
alt Apply Verified Edit
Agent->>FS: write xd://resolve
FS-->>Agent: Atomic Disk Commit Applied
else Discard
Agent->>Staging: write xd://reject
Staging-->>Agent: Staging Buffer Discarded
end
AST edits match syntax nodes rather than whitespace or characters. As a result, comments, formatting, and adjacent methods remain intact.
3. Visual Context Compaction (Snapcompact & Shake)
When a coding session runs for hours, managing token usage is critical. Oh My Pi uses a multi-tier compaction pipeline:
- Shake (Local Elision): Instead of calling a summarization model, shake swaps eligible tool results and large fenced/XML blocks for recoverable
artifact://references. A protected window of recent tokens stays intact. If needed, the agent retrieves slices on demand viaread(path="artifact://12:500-550"). - Snapcompact (Visual Compression): For vision-capable models, older turns render into 1-bit monochrome PNG bitmaps in bundled pixel fonts (for example
11on16-bwfor Anthropic readers). The project ships tuned frame shapes for Claude, Gemini, and GPT readers. The multimodal model reads past context directly from the image. The project’s own 200k-token evals found this preserved question-answering recall at a lower billed-token cost than raw text.
4. The Agent Hub & Isolated Swarms
To parallelize work without risking your working directory, Oh My Pi provides the Agent Hub:
flowchart TB
Main["Coordinator Agent<br><code>task(tasks=[{AuthMigrator}, {DbAuditor}])</code>"]
subgraph Swarms ["Supervised Subagent Fleet"]
Auth["Subagent: AuthMigrator<br>(Role: task)"]
Db["Subagent: DbAuditor<br>(Role: scout)"]
end
subgraph Sandboxes ["Platform Abstraction Layer (PAL)"]
S1["APFS Copy-on-Write Clone #1"]
S2["OverlayFS Mount #2"]
end
Main --> Swarms
Auth --> S1
Db --> S2
Auth <-->|Peer-to-Peer IRC Messaging| Db
- Workspace Virtualization: With
task.isolation.enabledon, a task that setsisolated: truegets its own checkout. That means APFS copy-on-write clones on macOS, OverlayFS mounts on Linux, and other backends elsewhere. Each isolated task gets its sandbox in<10ms. - Peer-to-Peer IRC: Subagents communicate directly over structured messages (
writetoagent://DbAuditor) without bloating the main conversation transcript. - TUI Dashboard: Pressing
Alt+Aopens the live Agent Hub HUD. You can monitor subagent progress, read live transcripts, steer a worker, or kill a stuck one without aborting the parent session.
Vendor Walled Gardens vs The Open Harness Moat
In early 2026, Anthropic blocked OpenCode from accessing Claude through Claude Code subscriptions, saying OpenCode had reverse-engineered a private API. Around the same time, Google disabled Can Bölük’s own Gemini account while he ran the benchmark. Both events are as reported in The Harness Problem.
The post reads these actions as a push toward vendor-locked developer tools: “Don’t build harnesses. Use ours.”
flowchart LR
subgraph WalledGardens ["Proprietary Single-Vendor CLIs"]
Anthropic["Claude Code<br>(Anthropic only)"]
OpenAI["Codex CLI<br>(OpenAI only)"]
Google["Gemini Code<br>(Google only)"]
end
subgraph OpenBridge ["The Open Harness Moat (omp.sh)"]
OMP["Oh My Pi Harness<br><b>Neutral Cross-Model Bridge</b>"]
end
WalledGardens -.->|Will never optimize for competitors| OMP
OMP --> SharedRD["Shared Ecosystem R&D<br>Tuned for all models simultaneously"]
Why Closed Harnesses Limit Developer Velocity
- No Vendor Optimizes for Competitors: The post’s argument: Anthropic will never tune Claude Code’s edit schemas for Grok. OpenAI will never optimize its patch tooling for Claude. xAI will never tune for Gemini.
- Open Harnesses Provide Free Ecosystem R&D: An open-source harness can tune an edit tool (like Hashline) and lift Gemini 3 Flash by 8 points or Grok Code Fast 1 by 10×. That is free optimization for the model creators.
- The Harness as the Bridge: As Can Bölük noted: “The model is the moat. The harness is the bridge. Burning bridges just means fewer people bother to cross.”
By keeping the harness open, modular, and model-agnostic, omp ensures developers are never held hostage by any single vendor’s CLI limitations.
How Model Roles Work: Decoupling Architecture from Endpoints
One of the cleanest design choices in Oh My Pi is its Model Roles system (omp.sh/docs/roles).
Most coding agents force you to either hardcode model strings (like cursor/composer-2.5-fast) across all configurations, or lock you into a single vendor. Oh My Pi decouples the functional role a model plays from the concrete provider endpoint serving it.
flowchart LR
UserPrompt["Agent Workflow Step"] --> Roles
subgraph Roles ["Logical Model Roles"]
Default["@default<br>Primary coding & edits"]
Slow["@slow<br>Complex reasoning & architecture"]
Smol["@smol<br>Fast scouting & log processing"]
Tiny["@tiny<br>Session titles & memory indexing"]
Reviewer["@reviewer<br>Adversarial security audit"]
end
subgraph Providers ["Configured Provider Endpoints"]
Composer["Composer 2.5 Fast"]
Opus["Claude Opus 5.5:high"]
Gemini["Gemini 3.8 Flash:minimal"]
Local["Local Llama / Ollama"]
GPT["GPT-6.1 Sol"]
end
Default --> Composer
Slow --> Opus
Smol --> Gemini
Tiny --> Local
Reviewer --> GPT
The Standard Role Roster
| Role | Purpose | Invocation / CLI Flag | Recommended Mapping |
|---|---|---|---|
default | Main conversational loop, standard code edits, and tool responses. | Primary CLI workhorse | cursor/composer-2.5-fast |
slow | Architectural planning, deep refactoring, and complex root-cause synthesis. | --slow or --model slow | anthropic/claude-opus-5-5 or openai/gpt-6-astra |
smol | Fast directory sweeps, git archaeology, and log triage. | --smol and subagent scouts | google/gemini-3.8-flash or anthropic/claude-haiku-5-5 |
tiny | Zero-latency local tasks: session titles, memory indexing, stop detection. | Built-in background loops | Local quantized model or gemini-flash |
plan | Structural blueprint generation in read-only plan mode. | --plan | anthropic/claude-opus-5-5 |
reviewer | Adversarial critic, auth review, and acceptance validation (a custom role you define; not one of omp’s built-in chat roles). | Subagent reviewer persona | openai/gpt-6.1-sol |
advisor | Passive watchdog daemon providing turn-by-turn verification notes. | Background watchdog runtime | @smol or @default |
Key Economic Optimizations
- Role Aliases & Thinking Modifiers: Roles can point at other roles (for example
@smol) and take a thinking-level suffix. You can pin effort directly to a role inconfig.yml(e.g.slow: "anthropic/claude-opus-5-5:high"). - Prewalk Cost Handoff (
--prewalk, off by default): With--prewalk,ompstarts on your active model and builds a plan and todo list. Setprewalk.from: "@slow"to plan on the slow role. When the first code edit or file write lands, the engine hands off to@smol(override with--prewalk-into), saving up to 70–80% on inference bills during mechanical implementation. - Context Promotion: If a small-context model hits a length limit,
ompcan switch to a larger-context model you configured (contextPromotionTargetin the model metadata). That happens before it falls back to compaction. It does not pick a larger sibling on its own.
Production Use Case: Pareto-Tiered Roles in CI/CD Swarms
In our earlier breakdown of building ultra-fast agent platforms on Kubernetes with ArgoCD and Ante, we analyzed the 2026 Speed-vs-Quality Pareto Frontier. The core finding was clear. Sending every agent task to a heavy frontier model adds severe latency to loops that a fast model could finish in seconds.
Oh My Pi’s role system allows you to configure an optimal multi-provider Pareto pipeline in config.yml:
flowchart TD
Webhook[Git Push / Jira Webhook] --> Pod[Ephemeral Kubernetes KEDA Job]
subgraph SwarmPipeline ["Oh My Pi Pareto Execution Pipeline"]
Scout["1. Fast Triage & Archaeology<br><b>@smol (Gemini 3.8 Flash)</b><br>Runs git log, directory sweeps & log parsing"]
Plan["2. Architectural Decomposition<br><b>@slow (Claude Opus 5.5:max)</b><br>Emits test contract & plan with --prewalk"]
Exec["3. Deterministic Implementation<br><b>@default (Composer 2.5 Fast)</b><br>Applies Hashline [PATH#TAG] edits in APFS sandbox"]
Review["4. Orthogonal Security Gate<br><b>@reviewer (GPT-6.1 Sol)</b><br>Adversarial review to eliminate single-model cognitive blind spots"]
end
Pod --> Scout
Scout --> Plan
Plan --> Exec
Exec --> Review
Review --> PR[Green PR Opened with Verified CI Tests]
- High-Throughput Exploration (
@smol→ Gemini 3.8 Flash): Gemini Flash performs broad codebase sweeps and test log triage in seconds without burning expensive tokens. In the July–August 2026 speed data cited in the Ante article, its predecessor Gemini 3.7 Flash generated 362 tok/s; that data has no figure for 3.8 Flash. - Deep Architectural Synthesis (
@slow→ Claude Opus 5.5): Reserved for plan mode (--plan), root-cause analysis, and defining failing test specifications. - Surgical Implementation (
@default→ Composer 2.5 Fast): The primary coding loop that writes code against the snapshot-anchored hashline contract. - Orthogonal Adversarial Review (
@reviewer→ GPT-6.1 Sol): When an executor model reviews its own output, it shares the same cognitive blind spots. Routing final PR validation to an independent model family (OpenAI GPT-6.1 Sol) catches edge-case logic bugs before code merges.
How omp.sh Compares to the Competition
| Dimension | Oh My Pi (omp.sh) | OpenCode | Claude Code | Cursor Agent | Pi.dev (Minimal Core) |
|---|---|---|---|---|---|
| Runtime Core | Bun + Rust N-API (@oh-my-pi/pi-natives) | TypeScript / Node.js | Node.js CLI | Electron / C++ Core | Node.js (pi-mono) |
| Code Modification | Hashline Tags ([PATH#TAG]) + AST-Grep | Exact string edit + apply_patch | str_replace | Instant Apply (70B Model) | Line Range / Whole File |
| Edit Failure Handling | OCC Tag Verification (Zero Whitespace Recall) | Patch Re-try Loops | ”String Not Found” Errors | Neural Merge Drift | Truncation / Overwrite |
| Context Strategy | Snapcompact (Visual PNG) + Shake | Text Summarization | Dynamic Truncation | Vector Sliding Window | Manual /compact Summary |
| Subagent Model | Bounded Swarms with PAL Sandboxes | Sub-processes | Native Sub-agents | Cloud Background Agents | Single-threaded CLI |
| Model Freedom | Universal (60+ providers) | Universal (75+ providers) | Claude models only | Multi-Model (Hosted) | Universal (pi-ai) |
| Daemon Supervision | Built-in named bash services with ready checks | Shell backgrounding (&) | Approval-gated Shell | VS Code Tasks | Bare bash tool |
| Long-Term Memory | Mnemopi (local SQLite; opt-in multi-voice RRF recall) | Local vector cache | Provider Memory Store | Shadow Workspace | None (Stateless) |
A 2-Minute Quickstart: Configuration and Multi-Model Routing
Install omp (the bun install path needs Bun ≥ 1.4.4; without a usable Bun, the install script fetches a prebuilt binary; checked against v18.14.0):
curl -fsSL https://omp.sh/install | sh
# or
bun install -g @oh-my-pi/pi-coding-agent
Configure your model tiers in ~/.omp/agent/config.yml:
# ~/.omp/agent/config.yml
modelRoles:
default: "cursor/composer-2.5-fast"
slow: "anthropic/claude-opus-5-5:high" # Architectural planning
smol: "google/gemini-3.8-flash" # Fast scouting
reviewer: "openai/gpt-6.1-sol" # Adversarial code review (custom role)
task:
batch: true
maxConcurrency: 8
isolation:
enabled: true # let tasks opt in with isolated: true
isolation:
backend: "auto" # APFS on macOS, OverlayFS on Linux
compaction:
enabled: true
methodOrder: ["remote", "snapcompact", "handoff", "shake", "soft"]
asyncEnabled: true
memory:
backend: "mnemopi"
mnemopi:
scoping: "per-project"
autoRecall: true
autoRetain: true
Launch a refactoring task from your terminal:
omp "Refactor user authentication to support Passkeys/WebAuthn and update DB schema"
Inside the session, omp loads project memory and can run isolated subagent tasks in APFS copy-on-write sandboxes. Scouts run on Gemini Flash, and AST edits are previewed before they touch disk.
When to Choose Oh My Pi
flowchart TD
Start{What is your primary development workflow?}
Start -- "IDE / GUI Pair Programming" --> Cursor[Choose Cursor Agent]
Start -- "Anthropic-Only Terminal Coding" --> Claude[Choose Claude Code]
Start -- "Multi-Model Hardened Monorepo CLI" --> Omp[Choose Oh My Pi<br><b>omp.sh</b>]
Start -- "Build Custom Agent from Scratch" --> Pi[Choose Pi.dev]
Choose Oh My Pi (omp.sh) When:
- You work on large brownfield monorepos where
str_replacewhitespace drift or fuzzy patch matching causes silent code breakages. - You want multi-model routing without locking yourself into a single AI provider’s CLI walled garden.
- You run long autonomous tasks that need visual context compaction (
Snapcompact) that preserves accuracy without ballooning token costs. - You want supervised subagent swarms that execute concurrently in isolated, copy-on-write sandboxes.
Sources
Rechecked on October 30, 2026:
- Oh My Pi releases: can1357/oh-my-pi, Releases and CHANGELOG: v18.14.0 (October 29, 2026; exact provider-qualified model selectors) and v18.13.3 (October 28, 2026: Bun ≥ 1.4.4, manual-compaction events,
retry.rateLimitWalksChain, session renaming); and the repo README (“coding agent with the IDE wired in”, 60+ providers, 31 built-in tools). - The Harness Problem: Can Bölük, We improved 15 LLMs at coding in one afternoon. Only the harness changed., stencil.so/blog/the-harness-problem (February 12, 2026). The per-model pass rates in the benchmark table are read from the chart on that page.
- React Edit Benchmark: Can Bölük,
packages/react-edit-benchmarkin can1357/oh-my-pi, pinned at the last commit before it was renamed totypescript-edit-benchmark(2026). - Diff-XYZ Benchmark: Glukhov et al., JetBrains Research, Diff-XYZ: A Benchmark for Evaluating Diff Understanding, arXiv:2510.12487 (2025).
- EDIT-Bench: Chi et al., EDIT-Bench: Evaluating LLM Abilities to Perform Real-World Instructed Code Edits, arXiv:2511.04486 (2025).
- Aider Leaderboard & Edit Format Benchmarks: Paul Gauthier, Aider LLM Code Editing Benchmarks and Format Evaluations, aider.chat/docs/benchmarks.html (2024–2026).
- Cursor Instant Apply: Aman Sanger, Editing Files at 1000 Tokens per Second, cursor.com/blog/instant-apply (May 14, 2024).
- Oh My Pi documentation: can1357/oh-my-pi, README, settings, edit tool, compaction, task tool, prewalk, and omp.sh (checked October 30, 2026).
- Pi Minimal Harness: Mario Zechner, pi-mono: A Minimal Terminal Coding Agent Harness, github.com/badlogic/pi-mono (2025–2026).
- AST-Grep Tooling: Herrington Darkholme, ast-grep: Fast Polyglot Code Structural Search and Replace, ast-grep.github.io (2025).
- Tree-sitter Incremental Parser: Max Brunsfeld et al., Tree-sitter Parser System, tree-sitter.github.io (2025).
- Claude Code: Anthropic, Model configuration (October 30, 2026).
- OpenCode: Providers and Tools documentation (October 30, 2026).
- Reciprocal Rank Fusion: Cormack, Clarke, and Buettcher, Reciprocal Rank Fusion in Information Retrieval, SIGIR (2009).
- Vendor model pages (October 30, 2026): Anthropic, Models overview; OpenAI, Models; Google, Gemini API models and the Gemini 3.7 Flash deprecation notice; Cursor, Models & pricing.