Open-source terminal coding agent with IDE intelligence — LSP renames, live debugging, and 60+ AI providers under an MIT license.
Oh My Pi (omp) is an open-source AI coding agent that runs in your terminal with the capabilities of a full IDE wired in. Originally a fork of Mario Zechner's Pi, it has grown into a batteries-included harness built on a TypeScript frontend and roughly 80,000 lines of Rust that handle search, shell execution, AST editing, syntax highlighting, and desktop control in-process — no shelling out to external binaries on the hot path.
What sets omp apart from other terminal agents is how much of your editor it understands. Edits go through language servers, so a rename updates re-exports, barrel files, and aliased imports the way an IDE would. It can attach real debuggers (lldb, dlv, debugpy) to step through crashes and hangs, spawn parallel subagents in isolated worktrees, pair a second "advisor" model that reviews every turn, and drive a real browser or your desktop when a task calls for it. Other highlights include hashline editing tuned to cut token waste, time-traveling stream rules that inject course corrections mid-generation, agent-curated memory across sessions, GitHub integration via internal URL schemes (read pr://1428 like a file), and shareable live sessions via /collab.
Where commercial agents lock you into one vendor, omp is BYOK across 60+ providers: sign in with Anthropic, OpenAI, Google, or xAI accounts, route roles through coding-plan subscriptions like GitHub Copilot and Cursor, or go fully local with Ollama, LM Studio, llama.cpp, or vLLM. Nine model roles (default, smol, slow, plan, commit, and more) route work by intent, with fallback chains and round-robin API keys. It ships native binaries for macOS, Linux, and Windows — with 58 coreutils ported into the binary so even Windows needs no WSL — and works inside editors like Zed over the Agent Client Protocol. The whole thing is MIT licensed and extensible in TypeScript, and it reads your existing agent configs (Cursor MDC, Cline rules, AGENTS.md, Copilot applyTo) without any migration.