Built on Pi Extension API · MIT

PieX — Extend Pi without forking

Core capabilities extracted from oh-my-pi, Claude Code, OpenCode and other coding agents, packaged as independent @piex-dev/* npm packages. Install with pi install.

$ curl -fsSL piex.dev/scripts/install.sh | bash
pi — piex
# Pick any package:
$ pi install npm:@piex-dev/hashline
$ pi install npm:@piex-dev/dap
$ pi install npm:@piex-dev/lsp
# All-in-one:
$ curl -fsSL piex.dev/scripts/install.sh | bash
🧭

Design Philosophy

Extend Pi without forking — on demand, understood, and measured.

🔌

Extend Pi, never fork

omp forks the core and bundles everything; piex only extends via the official Extension API — never touching the core, upgrading with Pi.

🧩

On demand, switch freely

Independent packages — install & remove at will. Minimal and in control: pay tokens only for what you use.

🧠

Know how it works

Borrow the best from top agents — understand their designs, then rebuild as extensions you fully control.

📏

Eval first

Behavior-changing extensions ship with eval criteria & data. No measurement, no adoption.

Read the full design philosophy →

📦

Packages

All packages are published as @piex-dev/<name>. See README in each package directory for details.

hashline edit

Line-anchored, #TAG-verified hashline patch language — fewer mistakes, less token waste.

pi install npm:@piex-dev/hashline
Overview →
dap debug

DAP debug adapter collection (14 adapters): breakpoints, stepping, variable inspection inside the agent session.

pi install npm:@piex-dev/dap
Overview →
lsp lsp

Diagnostics (post-edit ERRORs), navigation, rename/code actions & format across ~50 default servers.

pi install npm:@piex-dev/lsp
Overview →
plan /plan

Read-only exploration, plan drafting & step-by-step execution with progress tracking and tool locking.

pi install npm:@piex-dev/plan
Overview →
review /review

Interactive code review command & callable review tool covering diff / commit / branch comparisons.

pi install npm:@piex-dev/review
Overview →
init /init

Guided /init prompt template: scan the repo and create or improve AGENTS.md.

pi install npm:@piex-dev/init
Overview →
xai-oauth /login

xAI Grok OAuth subscription login: SuperGrok / X Premium+, with real-time model discovery.

pi install npm:@piex-dev/xai-oauth
Overview →
theme-dark-terminal theme

High-contrast dark terminal theme with green/blue/red accents, distributed via pi.themes.

pi install npm:@piex-dev/theme-dark-terminal
Overview →
btw /btw

Ephemeral side questions with full session context — answers not saved to conversation history.

pi install npm:@piex-dev/btw
Overview →
context /context

Session usage report: entry distribution, role breakdown, and estimated token allocation.

pi install npm:@piex-dev/context
Overview →
goal /goal

Autonomous goal completion: agent_settled-gated continuation, goal_id stale guard, goal_blocked impasse, and token-budget wrap-up.

pi install npm:@piex-dev/goal
Overview →
📚

Documentation

Synced with the docs/ directory in the repository.

✍️

Blog

Project-level deep dives: Pi extension mechanics, coding agent design, and tooling.