Key takeaways
- Pi powers OpenClaw (378K+ stars) — the minimal core that made the viral personal assistant possible
- In April 2026 Mario Zechner joined Earendil, a venture-backed public benefit corporation co-founded by Armin Ronacher; pi moved to the earendil-works org and stays MIT
- Only 4 tools (read, write, edit, bash) plus the shortest system prompt of any agent — everything else is extensible
- Mid-session model switching across 15+ providers lets you use Claude for exploration, GPT for a second opinion, Gemini for large context
- An ecosystem is forming around pi — Paseo drives it from mobile/desktop, plus official pi-chat, pi-review, and the Gondolin micro-VM sandbox
FAQ
What is Pi coding agent?
Pi is a minimal terminal coding agent with only 4 tools (read, write, edit, bash) that emphasizes extensibility over built-in features — the engine behind OpenClaw.
How is Pi different from Claude Code?
Pi has a smaller core (4 tools vs 20+), supports mid-session model switching across 15+ providers, and makes everything extensible via TypeScript hooks rather than baking features in.
Who created Pi?
Mario Zechner (@badlogic), creator of libGDX, the cross-platform game framework with 23K+ GitHub stars. Since April 2026 pi is owned and stewarded by Earendil, where Zechner is a shareholder in charge of pi decisions.
Is Pi still open source after the Earendil acquisition?
Yes — the core pi agent remains MIT licensed, per Earendil's RFC 0015. Earendil has said some future pi-related components may be Fair Source or proprietary, but the agent itself stays open.
What's the relationship between Pi and OpenClaw?
OpenClaw uses Pi as its core coding engine via Pi's SDK mode. Pi handles the LLM interaction; OpenClaw adds messaging integration and the personal assistant layer.
Executive Summary
Pi is a minimal terminal coding agent that powers OpenClaw, created by Mario Zechner (creator of libGDX). With only 4 core tools and the shortest system prompt of any major agent, Pi takes an aggressively extensible approach — features that other agents bake in can be built yourself via TypeScript extensions, skills, or pi packages. In April 2026, Zechner joined Earendil — a venture-backed public benefit corporation co-founded by Armin Ronacher — bringing pi with him; the repo moved from badlogic/pi-mono to earendil-works/pi, and the core remains MIT.
| Attribute | Value |
|---|---|
| Creator | Mario Zechner (@badlogic) |
| Founded | 2024 |
| Owner | Earendil (public benefit corporation, since April 2026) |
| Funding | Earendil is venture-backed; pi itself is free OSS |
| GitHub Stars | 61.7K ★ (as of June 2026) |
| License | MIT |
Product Overview
Pi is a terminal-native coding agent designed for developers who prefer primitives over features. The philosophy: if you want something Pi doesn't do, ask Pi to build it — or install an extension that does.
Unlike Claude Code or Cursor which bundle features, Pi ships with four tools (read, write, edit, bash) and expects you to extend it. This keeps the core minimal while enabling infinite customization. The approach works — OpenClaw (378K+ stars as of June 2026) uses Pi's SDK to power its entire assistant layer. An ecosystem has formed around it: Paseo wraps pi (alongside Claude Code and Codex) in a self-hosted control layer you can drive from desktop, web, and mobile, and Earendil ships official companions including pi-chat (Slack/chat automation), pi-review, pi-tutorial, and the Gondolin micro-VM sandbox.
Key Capabilities
| Capability | Description |
|---|---|
| Minimal Core | 4 tools, shortest system prompt of any agent |
| Multi-Model | Mid-session switching across 15+ providers |
| Tree Sessions | Branch history, never lose work |
| Extensions | TypeScript hooks for tools, commands, UI |
| Skills | Agent Skills standard, on-demand loading |
| SDK Mode | Embed in apps (how OpenClaw works) |
Product Modes
| Mode | Description | Use Case |
|---|---|---|
| Interactive | Full TUI experience | Daily coding |
| Print/JSON | pi -p "query" for scripts | Automation |
| RPC | JSON protocol over stdin/stdout | Non-Node integration |
| SDK | Embed in Node.js apps | Building agents |
Technical Architecture
Pi's architecture reflects its philosophy: small core, maximum extensibility.
Core Design
┌─────────────────────────────────────────────┐
│ Pi Core │
├─────────────────────────────────────────────┤
│ 4 Tools: read, write, edit, bash │
│ Minimal system prompt (~200 lines) │
│ Tree-structured JSONL sessions │
│ Multi-provider LLM support │
└─────────────────────────────────────────────┘
↓ ↓ ↓
┌──────────┐ ┌──────────┐ ┌──────────┐
│Extensions│ │ Skills │ │ Prompts │
│(TypeScript)│(Markdown)│ │(Markdown)│
└──────────┘ └──────────┘ └──────────┘
Key Technical Details
| Aspect | Detail |
|---|---|
| Language | TypeScript (Node.js) |
| Deployment | npm global install or standalone binary |
| Providers | 15+ (Anthropic, OpenAI, Google, Azure, Bedrock, Mistral, Groq, xAI, OpenRouter, Ollama, etc.) |
| Session Format | JSONL tree (branches preserved) |
| Open Source | Yes (MIT) |
What's NOT in Pi (By Design)
Pi intentionally omits features that other agents include:
| Feature | Pi's Approach |
|---|---|
| MCP | Build CLI tools with READMEs, or use mcporter |
| Sub-agents | Spawn pi instances via tmux, or build via extensions |
| Permission popups | Run in a container, or build your own via extensions |
| Plan mode | Write plans to files, or build via extensions |
| Background bash | Use tmux directly |
Strengths
- Extensibility by design — TypeScript extensions can add tools, commands, UI components, even run Doom
- Multi-model freedom — Switch from Claude Opus to GPT-5 to Gemini mid-session; use the right model for each subtask
- Tree-structured sessions — Every branch preserved; rewind 10 messages, try something else, never lose work
- Clean codebase — Armin Ronacher calls it "written like excellent software" — no flicker, low memory, very reliable
- Powers OpenClaw — Proven at scale; if Pi breaks, OpenClaw breaks (378K+ stars depend on it)
- No longer a one-man project — Earendil stewardship adds Armin Ronacher and team behind the core, with rapid releases (v0.79.1 shipped June 9, 2026)
Cautions
- Opinionated minimalism — If you want features out of the box, you'll need to build or install extensions
- Extension security — Extensions run with full system access and pi has no built-in permission system; the project's own docs tell you to containerize or sandbox it (OpenShell, Gondolin, or Docker)
- No MCP support — Deliberate omission, but requires workarounds for MCP-dependent workflows
- Corporate stewardship is new — pi is now owned by Earendil; the core stays MIT, but RFC 0015 says future pi-related components may be Fair Source or proprietary, and trademark enforcement is the stated protection mechanism
- Gated contributions — New issues and PRs from first-time contributors are auto-closed by default (maintainers review daily), which some find off-putting
- Terminal-only — No GUI, no VS Code integration; designed for developers who live in the terminal (though Paseo adds a mobile/desktop layer)
What Developers Say
- "Claude Code, Codex, OpenCode are great places to start, but they limit what you believe is possible." — Alexander Holbreich, June 2026
- "Written like excellent software" — Armin Ronacher, on pi's codebase (written before he became its corporate steward)
- "We want Pi to continue to exist as a high-quality, open, extensible piece of software." — Armin Ronacher, announcing the Earendil move
- Not everyone cheered the acquisition. One Hacker News commenter on the April 2026 announcement: "This was terrible branding, and is terrible branding. The clash between 'Earendil' and 'Pi' is so overdetermined…" — skepticism centered on naming and what corporate ownership means for an indie tool, not on the software itself.
Pricing & Licensing
| Tier | Price | Includes |
|---|---|---|
| Open Source | Free | Full functionality |
| API Costs | Variable | Depends on provider (Anthropic, OpenAI, etc.) |
Licensing: MIT — use commercially, modify freely, no restrictions. Earendil's RFC 0015 commits the core agent to MIT, while reserving the option to ship future pi-related components under Fair Source or proprietary licenses.
Hidden costs: You pay for LLM API calls directly to providers. With Claude Pro/Max or GPT Plus subscriptions, Pi can use OAuth to leverage your existing subscription.
Competitive Positioning
Direct Competitors
| Competitor | Differentiation |
|---|---|
| Claude Code | Pi has smaller core, multi-model support, tree sessions |
| Aider | Pi has full TUI, extensions system, SDK mode |
| Cursor | Pi is terminal-native, model-agnostic, fully open source |
| Cline | Pi has extension system, SDK mode, multi-provider |
When to Choose Pi
- Choose Pi when: You want a minimal base to extend, need multi-model flexibility, or are building your own agent (SDK mode)
- Choose Claude Code when: You want batteries-included with Anthropic's models
- Choose Cursor when: You prefer GUI-based coding with AI
- Choose Aider when: You want simpler git integration without extensions
Ideal Customer Profile
Best fit:
- Developers who live in the terminal
- Teams building agents on top of Pi's SDK
- Power users who want to customize everything
- Multi-model users who switch providers mid-task
Poor fit:
- Non-technical users wanting plug-and-play
- Those who need MCP integrations out of the box
- Developers preferring GUI-based tools
- Teams requiring enterprise support contracts
Viability Assessment
| Factor | Assessment |
|---|---|
| Financial Health | Backed by Earendil (venture-backed PBC) since April 2026 |
| Market Position | Foundation layer (powers OpenClaw, runs inside Paseo) |
| Innovation Pace | Rapid (1,500+ commits since Feb 2026; v0.79.1 on June 9, 2026) |
| Community | Active Discord, responsive maintainers |
| Long-term Outlook | Strong — Earendil's products are built on top of pi |
Pi's viability strengthened materially in 2026. Stars grew from ~14K in February to 61.7K in June, OpenClaw (378K+ stars) still depends on it, and the move to Earendil replaced the single-maintainer risk with a funded team — Zechner remains in charge of pi decisions as an Earendil shareholder, alongside Armin Ronacher. The new risk is governance: corporate ownership means licensing of future adjacent components is at Earendil's discretion, though the MIT core could always be forked.
Bottom Line
Pi represents a philosophy: coding agents should provide primitives, not opinions. With only 4 tools and the shortest system prompt in the space, it's the anti-bloat alternative to feature-heavy competitors.
Recommended for: Developers building agents, terminal power users, and anyone who wants multi-model flexibility with a minimal footprint.
Not recommended for: Non-technical users, teams requiring enterprise support, or those wanting features without extension work.
Outlook: Pi's position as OpenClaw's engine guarantees relevance, and Earendil's backing turned a one-man project into a funded platform — with the usual caveat that corporate stewardship of a beloved indie tool cuts both ways. The extensible approach is proven — if you can run Doom in your coding agent, you can build whatever workflow you need.
Research by Ry Walker Research • methodology
Sources
- [1] Pi GitHub Repository (earendil-works/pi)
- [2] Pi Coding Agent README
- [3] pi.dev — Official Site
- [4] Why I Switched to Pi (Helmut Januschka)
- [5] Pi: The Minimal Agent Within OpenClaw (Armin Ronacher)
- [6] Mario Zechner Blog - Pi Philosophy
- [7] Reddit: Why I switched from Claude Code to Pi
- [8] NPM Package (@earendil-works/pi-coding-agent)
- [9] I've Sold Out (Mario Zechner)
- [10] Mario and Earendil (Armin Ronacher)
- [11] RFC 0015: Pi Licensing (Earendil)
- [12] Paseo: Pi Agent Mobile and Desktop App
- [13] Pi: A Coding Agent for Engineers Who Own Their Tools (Alexander Holbreich)
- [14] Hacker News: Earendil/Pi acquisition discussion