Pi

Pi

Code & Development
Mario Zechner (earendil-works)
FreeOpen Source

About

Minimal open-source terminal coding agent with just 4 tools and a one-page prompt, reshaped into your own workflow via TypeScript extensions; model-agnostic and reuses your Claude/ChatGPT/Copilot subscriptions

Share this tool

Our Verdict

Recommended

The anti-framework coding agent: four tools, no guardrails, infinite rope

Pi is a reaction against feature creep. Mario Zechner — the libgdx creator — built it after Claude Code grew unpredictable, betting that an agent with just four tools and a one-page prompt would stay stable and do exactly what you tell it. That minimalism is the whole point: there's no plan mode, no subagents, and no permissions system, so out of the box you're "living dangerously" with an agent that will happily run any command. What you get in return is control. Pi is genuinely model-agnostic, so it reuses the Claude, ChatGPT or Copilot subscription you already pay for with no markup, and its tiny prompt makes it a favorite for local models. The real magic is the TypeScript extension system: developers describe building their own task trackers, ops dashboards and subagent "fleets" in an afternoon, and hot-reload them live. That it's free, open source, sitting above 46,000 GitHub stars, and now underpins Peter Steinberger's OpenClaw tells you the engineering crowd takes it seriously. The catch is equally clear — this is a tool that rewards tinkering, not a turnkey IDE. If you want safety rails, a GUI and a polished docs site, look elsewhere. If you want to shape your own one-person code factory and actually understand it, Pi is close to unbeatable.

Best for

  • Terminal-loving developers who want control and no vendor lock-in
  • Tinkerers who will build their own extensions, subagents and workflows
  • Local-model users who need a lean, token-efficient harness

Consider alternatives if

  • You want a turnkey GUI/IDE experience with safety rails (→ Cursor, GitHub Copilot)
  • You prefer an out-of-the-box CLI that just works without extending (→ Claude Code, Aider)

Supported Platforms

WindowsmacOSLinux

Available platforms include Windows, macOS, and Linux.

Key Features

Minimal harness: just 4 tools (read, write, edit, bash) and a one-page system prompt
Model-agnostic pi-ai layer normalizes OpenAI, Anthropic, Google and others behind one interface
Reuses existing Claude Pro/Max, ChatGPT Plus/Pro or GitHub Copilot subscriptions — no extra API cost by default
TypeScript extensions with hot reload add tools, slash commands, event hooks and custom TUI/React UI
First-class sessions: auto-save, resume (pi -c / -r), plus /fork and /clone to branch the conversation tree
One-shot, JSON and RPC modes (stdin/stdout JSONL) for scripting and integration from any language

Pricing

free
Fully free and open source. Install with npm install -g @earendil-works/pi-coding-agent — no license fee, no subscription for the tool itself. You bring your own model access.
paid
No paid tier for Pi. Your only cost is whatever model you plug in: reuse a Claude Pro/Max, ChatGPT Plus/Pro or GitHub Copilot subscription you already pay for, or connect provider API keys (OpenAI, Anthropic, Google, local models) billed directly by the provider — Pi adds no markup.

Use Cases

Terminal-native developers who want a fast, low-friction agent without leaving the shell
Power users building bespoke agent workflows and harnesses via TypeScript extensions
Running local models efficiently — the tiny system prompt wastes far fewer tokens
Reusing existing Claude/ChatGPT/Copilot subscriptions instead of paying separate API bills

Pros

Free, open source and hugely popular (46,000+ GitHub stars) with zero vendor lock-in
Truly model-agnostic — reuse subscriptions you already pay for, no forced API spend
Minimal and stable by design: fewer features means fewer surprises and less flakiness
Best-in-class session model with fork, clone and resume for long iterative work

Cons

No permissions system — you are "living dangerously by default" with no guardrails
No built-in plan mode or subagents; you build those capabilities yourself
Terminal-only with no polished official GUI (community GUIs like Paseo exist)
Docs are spread across many repo files rather than one polished site; rewards tinkering

Latest Update

2026: Pi crosses 46,000+ GitHub stars and becomes the foundation for Peter Steinberger's OpenClaw. Creator Mario Zechner (author of libgdx) doubles down on the self-modifying, minimal-harness philosophy, while the pi.dev package catalog of extensions, skills, prompt templates and themes keeps growing; multi-provider auth now covers Claude Pro/Max, ChatGPT Plus/Pro and GitHub Copilot.

Subscribe to AI Updates

Get the latest AI tool recommendations, industry insights, and analysis delivered to your inbox.

We respect your privacy. Unsubscribe at any time.