About this project

oh-my-pi (omp) is a coding agent that runs in the terminal and is built by Stencil Labs as a fork of Pi by Mario Zechner. It is distributed via a shell installer, Homebrew, Bun, Nix, PowerShell, and mise, and targets macOS, Linux, and Windows with Bun 1.3.14 or newer. The project emphasizes deep integration with developer tooling rather than a thin chat wrapper. Language server protocol support is wired into writes, so renames flow through workspace/willRenameFiles and update re-exports and aliased imports. A debug adapter protocol layer lets the agent attach real debuggers such as lldb, dlv, and debugpy to step through native, Go, and Python processes. Search and shell utilities including ripgrep, glob, find, and a bash implementation with many ported coreutils run in-process to avoid fork-exec overhead. Beyond editing, omp offers persistent Python and JavaScript execution cells that can call back into the agent's own tools, first-class subagents that fan out into isolated worktrees and return schema-validated results, an advisor model that reviews each turn, collaborative sessions shared via link or QR code, and a memory system the agent curates across sessions. It also includes code review with P0-P3 priorities, content-hash based editing, GitHub treated as a filesystem, merge conflict resolution through URLs, browser and desktop control, and atomic commit splitting. Model support spans 60+ providers across frontier APIs, coding-plan subscriptions, and local OpenAI-compatible servers, with nine routing roles such as default, smol, slow, plan, commit, vision, task, advisor, and tiny. Custom providers, fallback chains, and per-role model assignment are configurable. The README notes that pull requests are temporarily open to everyone as a trial.