← Tracker · Coding agent

Pi

Updated

TL;DR: Pi (by Earendil (open source, created by Mario Zechner); category: Coding agent). A minimal, open-source coding agent harness for the terminal. It connects to 15+ model providers (Anthropic, OpenAI, Google, OpenRouter, Ollama and more) with API keys or OAuth, lets you switch models mid-session, and keeps sessions as branching trees you can export or share. It deliberately skips built-in sub-agents, plan mode, to-dos and permission popups; you add those yourself with TypeScript extensions, skills and prompt templates, or install packages others wrote. MCP is now built in. Also usable in print/JSON mode, over RPC or as a TypeScript SDK. Pricing: Free, MIT license. You pay your model provider (API key or a subscription you connect). Needs Node.js 22.19 or newer (GitHub README, checked Nov 29, 2026).. Best for: Developers who want to read and change their coding agent's prompt and tools.

BuildersCoding agentEarendil (open source, created by Mario Zechner)

A minimal, open-source coding agent harness for the terminal. It connects to 15+ model providers (Anthropic, OpenAI, Google, OpenRouter, Ollama and more) with API keys or OAuth, lets you switch models mid-session, and keeps sessions as branching trees you can export or share. It deliberately skips built-in sub-agents, plan mode, to-dos and permission popups; you add those yourself with TypeScript extensions, skills and prompt templates, or install packages others wrote. MCP is now built in. Also usable in print/JSON mode, over RPC or as a TypeScript SDK.

Features and pricing are based on Earendil (open source, created by Mario Zechner)'s official site and docs (vendor claims), not our own testing. Our take is labeled separately below.

The Builder Brief Take

Who it's for

  • Developers who want to read and change their coding agent's prompt and tools
  • Teams switching between many model providers, including local models
  • Builders embedding an agent in their own app via the SDK or RPC

Who should skip it

  • Anyone who wants approval prompts out of the box
  • Non-developers
  • Teams that want one vendor-supported product

Where it works

  1. Bake-off against your current agent: Rerun a task you already finished in Claude Code or Codex and compare the result and token cost.
  2. Switch models mid-task: Use /model or Ctrl+L to move a hard step to a stronger model and back.
  3. Add your own guardrail: Ask Pi to write an extension that asks before any command that reaches the network, then /reload.

Pros and cons

Pros

  • MIT open source with a small, readable core
  • 15+ providers and hundreds of models, switchable mid-session
  • Branching session history you can export or share
  • Extensions, skills and packages for anything missing

Cons

  • No built-in permission prompts; runs with your user permissions
  • No built-in sub-agents or plan mode
  • You maintain your own setup
  • We have not tested it

The move: getting started with Pi

  1. Install with curl -fsSL https://pi.dev/install.sh | sh (needs Node.js 22.19+)
  2. Run it inside a Docker container or sandbox at first
  3. Connect one provider with /login
  4. Give it one small task you already know the answer to
  5. Add a confirmation extension before using it on real repos

Articles mentioning Pi

How it helps

Who: Developers who want to own their coding agent setup and use any model, rather than a vendor's bundled harness.

  1. Install it (curl -fsSL https://pi.dev/install.sh | sh, or the npm command with --ignore-scripts) and run pi inside a Docker container or sandbox the first time, since it will not ask before running commands.
  2. Connect one provider with /login, then rerun a task you already finished in your current agent and compare the result and the token bill.
  3. Only after that, add the pieces you miss, such as a confirmation step for commands, as an extension or an existing Pi package.

Result: A coding agent whose prompt, tools and safety checks you can read and change, tested against your current one on real work.

Why it matters

Editorial assessment: the coding agent market is splitting into bundled products (Claude Code, Codex, Cursor) and open harnesses you assemble yourself. Pi is the clearest example of the second kind: a small system prompt and a short list of tools you can read. That makes it easier to see and control what goes to the model. The trade-off is real, though. Pi ships with no approval prompts at all, so anyone who wants a human check before commands run has to add it. You probably don't need this if your current agent works and nobody on the team wants to maintain their own setup.

Pi alternatives

Recent changes

Putting it to work? Get a starter stack for your job in about a minute with the Stack Picker, or see how done-with-you setup works if you want help.

Get changes in your inbox

New AI tools, honest reviews and playbooks. One email a week.

Free. Unsubscribe anytime.

Make an AI tool? List your tool on Builder Brief. Free listings get the same editorial review as paid ones.