Oh My Pi (omp) is a terminal coding agent from Stencil Labs with a Rust core, many model providers, and built-in edit, search, LSP, and debugger tools.
Overview
omp is a command-line coding agent aimed at developers who want IDE-grade tooling inside the terminal. Prebuilt binaries install on macOS, Linux, and Windows through curl, Homebrew, Bun, Nix, or mise, with shell completions generated from live CLI metadata.
The agent exposes a broad native tool surface: file read and write with hashline edits, structural ast-grep queries, in-process ripgrep and glob search, a workspace bash environment with bundled coreutils, persistent Python and JavaScript eval cells that can call agent tools, and LSP operations such as diagnostics, navigation, and renames. Debugger adapters attach to lldb, dlv, or debugpy for languages that need runtime inspection rather than print debugging.
Higher-level behaviors include subagents with schema-validated results, a paired advisor model that comments on each turn, time-traveling stream rules that inject corrections mid-response, session collaboration links, memory backends, hashline anchors to reduce bad diffs, GitHub paths treated like files, and browser or desktop automation helpers for eval workflows. It inherits rule formats from other coding agents without manual conversion.
The project extends Mario Zechner’s Pi harness with Stencil Labs–specific tuning across models, emphasizing fewer retried edits, summarized reads, and native Rust implementations instead of shelling out to missing Unix utilities on Windows.
Key features
- Rust core with dozens of built-in tools
- Hashline and ast-grep based editing
- LSP diagnostics, navigation, and rename
- Debugger adapters via DAP
- Subagents with typed result schemas
- Advisor model reviewing each turn
- 60+ LLM provider integrations
- Session collaboration and memory backends
Use cases
- Terminal-first agentic development
- Cross-platform coding without WSL
- Rename-safe refactors via LSP
- Debugging crashes from the agent
- Shared live agent sessions with teammates