oh-my-pi

Active
GitHub TypeScript MIT

Description

oh-my-pi is an AI coding agent for the terminal with hash-anchored edits, optimized tool harness, LSP, Python, browser, subagents, and more.

Key Features

  • Hash-anchored edits for first-attempt-landing precise code modifications, avoiding edit drift
  • 32 built-in tools + 13 LSP operations + 27 DAP debug operations — batteries included
  • Deep LSP integration — renames automatically update all references via willRenameFiles
  • Built-in real debugger supporting lldb, dlv, debugpy for multi-language breakpoint debugging
  • Time-traveling stream rules — regex matches abort streams mid-token to inject corrective rules
  • Subagent support for parallel task distribution with schema-validated structured results

Use Cases

💡 Full-stack development in the terminal with IDE-level code intelligence via LSP and debugger
💡 Quickly fix bugs in C/Go/Python programs using the DAP debugger for precise issue location
💡 Handle large refactoring tasks in parallel using subagents for improved code modification efficiency
💡 Rapidly search and read technical docs and Arxiv papers via the web_search and read toolchain
💡 Execute and test code snippets directly in Python/Bun environments using built-in code execution

Quick Start

Install on macOS/Linux: curl -fsSL https://omp.sh/install | sh or bun install -g @oh-my-pi/pi-coding-agent. On Windows: irm https://omp.sh/install.ps1 | iex. Launch omp to access all tools in the terminal. Supports bash/zsh/fish shell completions.

Related Projects