OpenSource-Hub
O

oh-my-pi

SHA-256
5.6k stars·Developer Tools·SHA-256 checksum verified

A terminal-based AI coding agent with hash-anchored edits, built-in LSP, debugger, subagents, and multi-language support. Outperforms generic tools by offering a unified, high-performance harness that integrates IDE-grade intelligence directly into the command line.

Smart Download

Download Download Version

v15.1.9 · 508.4 MB

The most capable terminal AI coding agent with hash-anchored edits, LSP, debugger, subagents – all native.

Core Features

  • Hash-anchored edits: target content by hash, no retyping needed
  • Built-in LSP: rename, references, etc. through the agent
  • Native debugger: lldb, dlv, debugpy integration
  • Time-traveling stream rules: inject corrections mid-stream without context tax
  • Subagents: parallel workers with typed results

What It Can't Do

  • Requires Bun runtime (≥1.3.14) for npm install variant
  • LSP/debugger features depend on project's language toolchain
  • Initial run downloads model configuration (network required)
  • Hash-anchored edits may reject if target file content has changed externally (safety feature)

Use Cases

  • Code comprehension and modification directly from terminal
  • Decompose complex tasks into subagents for parallel execution
  • Debug crashes by attaching lldb/dlv/debugpy automatically
  • Automated code review for branches, commits, and uncommitted changes

Detailed Introduction

oh-my-pi is a powerful terminal AI coding agent forked from Pi, enhanced with 32+ built-in tools, 13 LSP operations, 27 DAP ops, and a Rust core (~27k lines). It supports 40+ providers and features hash-anchored edits (reducing retries by 61% tokens on Grok 4 Fast), in-process ripgrep/glob/brush, time-traveling stream rules, subagents, and full LSP integration. Unlike Copilot in the editor, oh-my-pi gives you a native terminal agent that runs the same binary on macOS, Linux, and Windows without WSL, with first-class Python/JavaScript execution, code review verdicts, and GitHub-as-filesystem access.

Tags

AI Coding AgentTerminalLSP IntegrationDebug Adapter ProtocolSubagentsHash-anchored EditsRustOpen Source

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Run curl -fsSL https://omp.sh/install | sh to install on macOS/Linux

4

Or install globally with: bun install -g @oh-my-pi/pi-coding-agent

5

Launch by typing omp in terminal

Install Guide
  1. Run curl -fsSL https://omp.sh/install | sh to install on macOS/Linux
  2. Or install globally with: bun install -g @oh-my-pi/pi-coding-agent
  3. Launch by typing omp in terminal

Latest Release Notes

## What's Changed

* fix(ai): drop tool_choice "none" when tools list is empty (LiteLLM→Bedrock) by @roboomp in https://github.com/can1357/oh-my-pi/pull/1228

* fix(web-search): added hard timeout and abort propagation for stalled fetches by @roboomp in https://github.com/can1357/oh-my-pi/pull/1222

* fix(providers): skip disabled discovery probes by @roboomp in https://github.com/can1357/oh-my-pi/pull/1233

* fix(acp): disable host MCP discovery in ACP session factory by @roboomp in https://github.com/can1357/oh-my-pi/pull/1235

* fix(coding-agent): force Ollama named tools by @roboomp in https://github.com/can1357/oh-my-pi/pull/1237

* fix(tui): reassembled split private CSI probe responses so DA1 reply does not leak as keystrokes by @roboomp in https://github.com/can1357/oh-my-pi/pull/1239

* fix(cli): roll back failed binary updates by @roboomp in https://github.com/can1357/oh-my-pi/pull/1241

**Full Changelog**: https://github.com/can1357/oh-my-pi/compare/v15.1.8...v15.1.9

File Integrity

SHA-256 checksum verified

Checksum extracted from GitHub official Release page

SHA256 Checksum

0b595b531955bbdd275fe9d5fc1f3e800f92820d87698f5a5e9cca1f66bc72de

This checksum is extracted from the GitHub Release page. Verify file integrity after download.

All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.

Open Source Transparency

View GitHub Source
Environment Guide

Uninstall Info

Delete ~/.oh-my-pi directory and remove the binary or npm global package.

No Extra Dependencies

Ready to use after download. No additional runtime required.

Project Info
LicenseMIT
Last Updated2026-05-21T06:44:12Z
GitHub RepositoryOfficial Website

Similar Projects