Agent stack build plans · № 1
oh-my-pi as a Claude Code replacement
One evening to switch, one config file to route cheap models at cheap work and frontier models at the hard parts.
oh-my-pi is Can Bölük’s hard fork of pi, Mario Zechner’s open-source coding agent — rebuilt as a terminal-first Claude Code alternative: same shape (tools, MCP, sessions, skills, subagents, plan mode), plus the thing Claude Code doesn’t give you: you choose the model per kind of work. Frontier model for the gnarly refactor, a cheap or local model for commit messages and subagent fan-out, automatic fallback chains when a provider rate-limits you.
The cost story is the reason to care. It’s MIT-licensed and
subscription-free: point it at API keys, log it into subscriptions you already
pay for (Claude, Copilot, Cursor), or run free local models through Ollama —
and mix all three in one session. The switch costs you an evening; on first
run it even inherits your existing rules, skills, and MCP servers from
.claude and friends, so your project config comes with you.
The plan, in five parts
Is this for you?
Yes, if you already live in a terminal agent and your API bill (or rate limit) is a monthly annoyance — routing is the fix, and nothing else ships it this complete. Yes, if you want local models in the loop for private repos. Skip it if Claude Code inside your existing subscription already covers you and cost isn’t a pressure: switching tools has a real attention price, and omp ships updates near-daily — you’re trading polish for control. This plan covers the switch and the routing config; it deliberately doesn’t tour all 32 tools, the extension API, or the Hermes-style always-on assistant category — that’s a different animal (and a different plan in this series).