Software v2026-05-03.2

Pi.dev Guide

A compact guide to Pi as a minimal, extensible terminal coding-agent harness.

Pi is a local terminal coding-agent harness for developers who want to own and customize the harness itself: provider-neutral models, tree sessions, skills, extensions, packages, RPC, JSON event streams, and SDK embedding, with fewer built-in product workflows than Claude Code, Codex, Cursor, Copilot, Devin, or app builders.

Install npm global @mariozechner/pi-coding-agent installs the pi CLI.
Observed version 0.72.1 npm metadata checked 2026-05-03.
Modes TUI + JSON/RPC/SDK Interactive, print, event stream, process protocol, and Node APIs.
License MIT Observed for pi-mono and the npm package.

The move

Own the harness.

Pi keeps the core small and puts workflow shape into extensions, skills, prompts, themes, packages, RPC, and SDK surfaces.

The catch

You inherit the safety boundary.

Extensions and packages can run code with full system access, and core Pi intentionally avoids built-in permission popups.

The choice

Harness, product, or app builder?

Pi competes most directly with terminal coding agents and agent SDKs, not with prompt-to-app builders.

Bottom line

Pi is for developers who want to customize the coding-agent harness itself.

Use Pi when the job is local agent work, harness experimentation, provider/model flexibility, and custom workflows. Use something else when the job is hosted delegation, IDE-native assistance, GitHub issue-to-PR automation, enterprise backlog execution, or prompt-to-app creation.

Snapshot

What Pi is

AxisPi.dev snapshot
Product shapeMinimal terminal coding-agent harness plus reusable agent packages.
Installnpm install -g @mariozechner/pi-coding-agent; command is pi.
Default tools read, write, edit, and bash optional read-only grep, find, and ls.
ModesInteractive TUI, print, JSON event stream, RPC, and Node/TypeScript SDK.
Context systemAGENTS.md / CLAUDE.md, SYSTEM.md, APPEND_SYSTEM.md, skills, prompt templates, and compaction.
ExtensibilityTypeScript extensions, Agent Skills, prompt templates, themes, and Pi packages.
PricingNo separate Pi SaaS price found; model costs depend on provider subscription or API-key usage.

Feature map

The important primitives

FeatureWhat it doesWhy it mattersCaveat
Minimal tool surfaceStarts with file read/write/edit plus shell execution.Easier to reason about than a giant preloaded tool belt.Powerful enough to damage a repo; use git checkpoints or containers.
Provider switchingCan use subscription logins or API keys across many providers.More backend-neutral than Claude-only or OpenAI-only tools.Provider/model lists are release-bound.
Tree sessionsStores branchable JSONL session history.Lets you rewind, fork, resume, and inspect the agent's working history.Does not replace tests, commits, or review.
ExtensionsTypeScript modules can add tools, commands, UI, events, providers, gates, sub-agents, MCP, and more.This is the real customization layer.Extensions are arbitrary code.
PackagesBundle extensions, skills, prompts, and themes.Makes custom harness behavior portable.Third-party package quality and safety vary.

Upgrade / downgrade

Choose by product layer

PickWhat you gainWhat you loseChoose it when
Simpler AiderMature Git-first terminal pair programmer.Less of a general-purpose harness and package system.You mostly want pair programming and patch generation in a repo.
Target PiProvider-neutral terminal harness, tree sessions, hackable extensions, skills, packages, RPC, and SDK.Less built-in polish around permissions, hosted delegation, IDE UI, and enterprise governance.You want to customize the agent harness itself.
Lateral daily driver Claude Code or Codex CLIMore productized local coding-agent experience and strong first-party model integration.Less provider-neutral and less bring-your-own-harness than Pi.You want a polished local agent more than an extensible toolkit.
GitHub-native Copilot coding agentIssue/comment-to-PR workflow in GitHub with ephemeral Actions-backed environments.Not a local interactive harness.Your team already lives in GitHub issues and PRs.
Enterprise/upmarket Devin or OpenHandsManaged or self-hostable software-agent workflows, cloud environments, integrations, and backlog delegation.More operational or vendor surface than Pi.You need organization-scale delegation, auditability, or cloud execution.
Adjacent builders Replit Agent, Lovable, Bolt, v0Prompt-to-app creation, previews, hosting/deploy flows, and nontechnical-user ergonomics.Less useful as a general existing-repo coding harness.The job is build this app more than operate this codebase.

Decision surface

What to use instead

If you want...Use
A hackable local coding harness that can become your own agent workbenchPi
A small terminal pair programmer with fewer moving partsAider
The most polished terminal coding agent tied to AnthropicClaude Code
OpenAI local/cloud coding with app, CLI, IDE, and automation surfacesCodex
AI inside your editor and background agents attached to that editorCursor
GitHub issue-to-PR automation under GitHub controlsCopilot coding agent
Managed autonomous engineering work for a team backlogDevin
Open-source agent infrastructure or self-hostable coding-agent platformOpenHands
A product/backend framework for agent endpointsFlue
A generated web/mobile app with hosting and previewsReplit Agent, Lovable, Bolt, or v0

Caveats

Where Pi can surprise you

  • No built-in MCP, sub-agents, plan mode, permission popups, to-dos, or background bash by design.
  • Third-party extensions and Pi packages should be treated like developer tooling with shell access.
  • Provider/model coverage, npm version, and GitHub counts are volatile and should be refreshed before publishing.
  • Pi is not an app builder or hosted delegation product by itself.
  • Pricing is indirect through model subscriptions or API providers rather than a clearly published Pi SaaS plan.

Receipts

Claim table

WhereClaimConfidenceSourceCaveat
Bottom linePi is a minimal terminal coding harness oriented around extensibility.HighPi.devProduct positioning, not independent benchmark evidence.
SnapshotPi installs through @mariozechner/pi-coding-agent and exposes the pi CLI.HighPi.devPackage version changes frequently.
Feature mapPi's default tools are read, write, edit, and bash, with optional grep, find, and ls.HighPi.devTools execute in the current workspace and can modify files.
SnapshotPi supports interactive, print, JSON event stream, RPC, and SDK usage.HighPi.devThe homepage groups print and JSON together in its four-mode framing.
Feature mapPi sessions are JSONL tree histories under ~/.pi/agent/sessions/.HighPi.devSession format can migrate across releases.
Feature mapPi extensions and packages can add custom tools, commands, UI, event hooks, providers, permission gates, sub-agents, MCP, prompts, skills, and themes.HighPi.devExtensions and packages can run arbitrary code and require trust.
CaveatsPi intentionally omits MCP, sub-agents, permission popups, plan mode, to-dos, and background bash from the core.HighPi.devThese workflows can be added through extensions or packages.
SnapshotNo separate Pi SaaS pricing was found; model usage appears to depend on provider subscriptions or API keys.MediumPi.devA future pricing page or commercial packaging could change this.

Sources

How this was built

PublisherSourceTypeAccessed
Pi.devPi homepageOfficial2026-05-03
Pi.devPi documentationOfficial2026-05-03
Pi.devPi quickstartOfficial2026-05-03
Pi.devUsing PiOfficial2026-05-03
Pi.devPi providersOfficial2026-05-03
Pi.devPi session formatOfficial2026-05-03
Pi.devPi extensionsOfficial2026-05-03
Pi.devPi skillsOfficial2026-05-03
Pi.devPi packagesOfficial2026-05-03
GitHubbadlogic/pi-monoOfficial2026-05-03
AiderAider documentationOfficial2026-05-03
AnthropicClaude Code overviewOfficial2026-05-03
OpenAIOpenAI CodexOfficial2026-05-03
OpenAI Help CenterOpenAI Codex CLI getting startedOfficial2026-05-03
CursorCursor background agentsOfficial2026-05-03
GitHub DocsAbout assigning tasks to CopilotOfficial2026-05-03
DevinDevin documentationOfficial2026-05-03
OpenHandsOpenHands documentationOfficial2026-05-03
Replit DocsReplit AgentOfficial2026-05-03
LovableLovable documentationOfficial2026-05-03
BoltBolt getting startedOfficial2026-05-03
v0v0 documentationOfficial2026-05-03