← Back to Leaderboard
Ocan1357

can1357/oh-my-pi

A Bun/Rust terminal agent for model-flexible coding with LSP and editor integration

Engineering Health (Methodology)
A+ · 98/100
Maintenance Activity
● Updated today
Latest Release
v19.4.3
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption23/25
Release Cadence20/20
License Clarity20/20
DockerCLISelf-Hosted1 README badge views (30d)
Total Stars
★ 40,483
24h Growth
+25
7d Growth
+483
Forks
4,734

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

can1357/oh-my-pi Star History (2025-12-30 - 2026-12-04) ALL-TIME STAR HISTORY (2025-12 – 2026-12) +40.5k in 339d · avg +119/day 42.8k 21.4k 0 2025-12-30: ★ 12026-01-24: ★ 452026-02-14: ★ 7172026-03-07: ★ 1,6752026-03-28: ★ 2,3132026-04-18: ★ 2,9912026-05-09: ★ 4,0082026-05-30: ★ 8,4692026-06-20: ★ 13,2212026-07-11: ★ 16,8092026-08-01: ★ 20,5642026-08-22: ★ 26,0352026-09-12: ★ 30,3522026-10-03: ★ 33,7932026-10-24: ★ 36,2232026-11-14: ★ 38,9192026-12-04: ★ 40,483 ★ 40.5k 2025-12 2026-06 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Oh My Pi is a terminal-first fork of Pi. The omp CLI runs a TypeScript agent on Bun, backed by a Cargo workspace with Rust crates for editing, diffs, shell, version control, and virtual filesystems. Ripgrep, globbing, and shell builtins run in-process rather than launching a subprocess per call. Persistent Python and Bun execution workers can call back into agent tools over a loopback bridge, so code execution and tool use share the same tool interface.

The integration boundaries are distinct: LSP supplies language-aware operations; ACP lets Zed drive the agent through editor buffers, saves, and terminals; and project-level MCP definitions can be loaded from .claude/. A virtual path layer exposes sources such as pr://, issue://, and agent:// through ordinary file-shaped tools. Subagents use separate Git worktrees and return schema-validated objects, giving the parent structured results without relying on prose parsing.

Key Capabilities & Differentiators

OMP offers nine model roles, including default, plan, smol, and advisor, so planning, worker tasks, and independent review can use different models. /model changes the active model in-session, and ~/.omp/agent/models.yml accepts custom OpenAI-compatible endpoints. An advisor reads the main agent’s turns in a separate context. Cross-session memory is project-scoped by default and supports local, Hindsight, and Mnemopi backends.

On the write path, Hashline targets lines by content and rejects edits when anchors go stale; ast_edit stages a proposal for acceptance before writing. File renames can request reference updates through workspace/willRenameFiles. The agent also supports debugging workflows with LLDB, Delve, and debugpy. For change review, /review can inspect a branch, a commit, or uncommitted changes in parallel and rank findings from P0 through P3 with confidence scores.

Trade-offs & Limitations

Compared with an editor-first choice like Cursor, OMP is a better fit when the terminal is the primary interface and editor integration is needed at specific points. For a Claude Code team, support for CLAUDE.md and project .claude/ assets lowers migration friction, but it does not establish full workflow parity. OMP does not automatically import another tool’s home-directory configuration. Provider and role flexibility also means more settings to own: credentials, endpoints, model assignments, and context budgets.

Worktrees keep parallel edits apart during execution, but integrating overlapping changes still needs review. Concurrent workers and a turn-by-turn advisor can raise model consumption and local resource use. Local hosting gives teams control of the CLI and its state, not an automatic data boundary: model APIs, MCP servers, web tools, collaboration, and memory backends need separate review. The MIT license permits commercial use and modification, but does not cover the terms of external services.

Hardware & Deployment Guide

The prebuilt CLI is available for macOS, Linux, and Windows, with additional Homebrew, Bun, and Nix install paths. The Linux musl binary needs libstdc++ and libgcc on stock Alpine. The Cargo workspace declares Rust 1.101; the multi-stage Dockerfile pins Bun 1.4.5, builds the native .node module and Python omp_rpc wheel, and defaults to pi-runtime. The interactive container example binds the checkout at /work and runs cli. Keep persistent ~/.omp state separate from disposable containers if sessions and settings need to survive.

Self-hosting the CLI does not imply self-hosted inference. Hosted models require provider connectivity and authentication as applicable; a local OpenAI-compatible server is a separate deployment. For offline use, pair local inference and local memory with a tool set that avoids network-backed operations. Size the inference host for the chosen model, context length, and concurrency. Recent releases improved prompt-cache reuse for forked agents in v19.3.0, added model-specific tokenizers for more model families in v19.4.0, and fixed loss of earlier reasoning context and missed prompt-cache reuse during Codex remote compaction for GPT-6.2 in v19.4.1.

Native tooling: The TypeScript/Bun agent uses Rust components for in-process search, shell builtins, and filesystem tools.
Editor integration: ACP connects OMP to Zed buffers and terminals; LSP workspace/willRenameFiles can supply reference edits before files move.
Safer edits: Hashline rejects stale content anchors, and ast_edit stages changes for acceptance before writing them to disk.
Parallel review: Subagents use separate Git worktrees and return schema-validated results; Agent Hub exposes individual transcripts and controls.
Model routing: Nine roles separate tasks such as planning, advising, and subagent work; models.yml accepts custom OpenAI-compatible endpoints.
Docker packaging: The default pi-runtime is runnable, while pi-base bundles the native module, Python omp_rpc package, and CLI shim for derived images.
Best For

Terminal-first engineering teams that want to choose model providers, integrate language-aware edits and debugging, and run parallel reviews with structured results.

Skip If

Your team wants a single managed editor experience or needs a turnkey offline environment without separately operating inference and restricting network-backed tools.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releases · Newer release v19.4.3 (2026-12-04) shipped after this reviewMethodology

Quick Start & Installation

DockerCLISelf-Hosted
curl -fsSL https://omp.sh/install | sh

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
oh-my-pi ★40.5k+483TypeScriptMITA Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat
goose57.3k+219RustApache-2.0Rust coding agent with MCP tools and local or hosted models, embeddable via ACP
cline72.1k+116TypeScriptApache-2.0Shared coding-agent engine for IDEs and terminals, with pluggable models and MCP
openinterpreter69k+65RustApache-2.0A Rust coding CLI with swappable harnesses for low-cost models

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/can1357/oh-my-pi.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

can1357/oh-my-pi Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about oh-my-pi

Which integrations handle the editor, language tooling, and MCP?

Use ACP to run the agent in Zed with access to editor buffers, saves, and the integrated terminal. LSP is a separate integration: file renames call workspace/willRenameFiles so language servers can supply reference updates. OMP can also read project-level MCP definitions from .claude/, but it does not automatically read another tool’s home-directory configuration.

Does the CLI need a GPU, and how should I size the host?

The CLI does not need a local inference GPU when using a hosted model API. With a local OpenAI-compatible endpoint, RAM and VRAM requirements belong primarily to the model server and vary with model, context length, and concurrency. Size the CLI host separately for concurrent agent sessions, worktrees, and any browser, debugger, or code execution runtimes you enable. No fixed RAM or VRAM minimum is specified.

Can we deploy or redistribute OMP commercially, and does self-hosting keep code private?

The MIT license permits commercial use and modification; redistribution requires preserving the copyright and permission notices. Running the CLI yourself does not change model-provider terms or make external calls private. Review model endpoints, MCP servers, web tools, collaboration relay use, and any nonlocal memory backend before approving a deployment for sensitive code.

How should we evaluate OMP against Cursor and Claude Code?

Trial OMP if choosing model providers, routing different tasks to different models, and owning terminal configuration are priorities. Compare it with Cursor if your team wants an editor-first workflow: the concrete editor integration here is ACP in Zed. Compare it with Claude Code on an existing repository: OMP can read CLAUDE.md and project .claude/ assets, but that is not a guarantee of full workflow parity or automatic migration of user settings.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining can1357/oh-my-pi? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature can1357/oh-my-pi on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare