Oh My Pi setup: local models, refactoring and debugging

Learn to install Oh My Pi, connect Claude or local models, and use Hashline edits, language-server renaming and a live debugger.

Player not loading? Watch on YouTube

Oh My Pi (OMP) is an open source terminal coding assistant forked from Pi. The walkthrough covers installation on macOS, Linux and native Windows, then provider login and model selection. The speaker gives Bun 1.3.14 or later as the requirement for the recommended package-manager route.

The presenter signs in through an existing Claude subscription using OAuth and says OMP can also connect to Ollama, LM Studio, llama.cpp and vLLM without an API key. These connections provide a local LLM option alongside hosted providers. Separate model roles handle normal work, smaller sub-agent tasks, heavier reasoning and planning.

For the coding demonstration, the speaker asks for a single-file Snake game in HTML and JavaScript, then requests fixes to speed and collision detection. OMP's Hashline editing format references lines by content hash and rejects patches when those anchors no longer match. The presenter reports that every edit succeeded in this session; the cited benchmark gains are reported claims, not a guarantee for other projects.

Later examples cover a language-server rename across imports and re-exports, plus a debugger attached to a process with an intentional async deadlock. The speaker also describes project memory and reviewer sub-agents. Configuration complexity is the main criticism discussed, with some users reportedly choosing an ACP-connected editor instead of the terminal interface.