What are Pi and oh-my-pi?
Pi is a deliberately minimal open source coding agent; oh-my-pi is its MIT fork adding LSP, debuggers and subagents.
Pi is an open source terminal coding agent under the MIT license, written by Mario Zechner, the creator of libGDX, and published by Earendil. Its idea is subtraction: the core ships a handful of tools and a short system prompt, and deliberately leaves out subagents, plan mode, MCP support and permission popups. All of that can be added, when needed, through extensions and packages written in TypeScript. The project is a set of separate libraries: one to talk to models from different providers, one for the agent loop, one for the coding agent itself and one for the text interface. oh-my-pi, or omp for short, is the MIT fork of Pi maintained by Can Bölük: it starts from the same base and heads the opposite way, building into the product the features Pi leaves out. One entry covers both because each makes sense only next to the other.
See also: LSP (Language Server Protocol)Contract between an editor and the program that knows the language: the editor asks for errors and types, and gets answers.
Two philosophies on one engine
Both are an agent harness, the shell that turns a model into an agent that gets work done. Pi aims to be small and readable, enough to be embedded in other products: its SDK is what OpenClaw runs on, and Pi's own site lists it as a real-world integration. omp brings everything on board: its README claims more than sixty model providers and three features that usually live in the IDE. Hashline edits have the model point at an anchor tied to the line's current content instead of retyping it, and if the file changed in the meantime the edit is rejected before it corrupts the code. LSP is the protocol an editor uses to ask a language server for errors and references; DAP is the equivalent for debuggers, and lets the agent pause the program and inspect it instead of guessing.
| Aspect | Pi | oh-my-pi |
|---|---|---|
| Philosophy | Minimal core, readable and embeddable | Batteries included, ready to use |
| Subagents, MCP, planning | Outside the core, added through extensions | Built in, subagents can run in parallel |
| File edits | Text replacement | Hashline, rejecting edits on lines that changed |
| IDE features | None in the core | LSP on every write, debugger via DAP, browser |
| Technology | TypeScript | Rust core, TypeScript SDK |
| Maintained by | Mario Zechner and Earendil | Can Bölük and Stencil Labs, as a fork of Pi |
As of late September 2026, as far as I can observe, omp is the coding harness with the widest technical surface available, and I say so on verifiable properties. The cost is just as concrete: more features means more code to audit, and a fork has to chase its upstream on every release. Pi remains the choice for anyone who wants to know exactly what is running. Unlike Claude Code, and like opencode, neither is tied to a single lab's models.
An enterprise example
A company with a Go back office and Python services wants an agent that fixes defects without introducing new ones. With omp the agent gets compile errors from the language server right after each edit and, on an intermittent bug, starts the debugger to read the actual state instead of sprinkling in print statements. The security team, though, wants to know what the tool executes: there the simpler answer is Pi with two in-house extensions, reviewed line by line.
Why it matters for decision makers
The choice is not between two products but between two approaches. A minimal core is quick to verify and grows only where needed; a full platform makes the agent more capable from day one but widens the perimeter to approve and ties the organization to the pace of whoever maintains the fork. Either way the model stays a configuration parameter, and that reversibility is worth more than any ranking of the month.
Related terms
- LSP (Language Server Protocol)Contract between an editor and the program that knows the language: the editor asks for errors and types, and gets answers.
- Agent harnessAn agent harness is the software scaffolding around an LLM that makes it an agent: the execution loop, the tools, the context and the limits you give it.
- opencodeopencode is an open source coding agent under the MIT license, born in the terminal, that edits repositories with models from dozens of providers or local ones.
- OpenClawOpenClaw is a self-hosted, open-source AI assistant that works inside chat apps and uses tools and data within the permissions granted by whoever runs it.
- OpenAI CodexOpenAI's coding agent relaunched in 2025: CLI, IDE extension and cloud execution, not the old 2021 Codex model.