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.
- Audience: people building software and AI agents
- Pricing (vendor's published price): 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).. Prices change, so verify on the official site.
- Official site: https://pi.dev/
- Source / changelog: https://github.com/earendil-works/pi
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
- Bake-off against your current agent: Rerun a task you already finished in Claude Code or Codex and compare the result and token cost.
- Switch models mid-task: Use /model or Ctrl+L to move a hard step to a stronger model and back.
- 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
- Install with curl -fsSL https://pi.dev/install.sh | sh (needs Node.js 22.19+)
- Run it inside a Docker container or sandbox at first
- Connect one provider with /login
- Give it one small task you already know the answer to
- 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.
- 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.
- Connect one provider with /login, then rerun a task you already finished in your current agent and compare the result and the token bill.
- 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
- Claude Code: Agentic coding tool that runs in the terminal and IDEs, reads a codebase and makes multi-file edits.
- Codex: OpenAI's software engineering agent, available as a CLI, IDE extension and cloud agent inside ChatGPT.
- Devin: Cognition's AI software engineer. Devin Cloud agents take tickets from Slack, Teams, Linear or Jira, work in their own environment and open pull requests; Devin Desktop is the editor with tab completions and agents. Devin Bots (Nov 17, 2026) are standing agents that take a goal, split it into tasks and run several Devin sessions in parallel, with schedules and triggers. Plans bundle quotas across frontier models from OpenAI, Anthropic and Google, open models, and Cognition's own SWE-2 model.
- Cline: Open-source autonomous coding agent for VS Code, with a CLI. It plans, edits files across your project and runs terminal commands, asking for your approval along the way, and connects to MCP servers through its MCP Marketplace.
- Aider: Open-source AI pair programmer that runs in your terminal and edits files in your git repo. It builds a map of your codebase, commits each change with a message so you can diff or undo it, can lint and test after edits, and connects to almost any model, including local ones.
- Gemini CLI: Open-source AI agent that brings Gemini into the terminal.
Recent changes
- 2026-11-28: Two updates. v1.7.0 (Nov 27) can reopen a session after a terminal restart with the same tool restrictions and instructions it started with, adds image generation, and keeps the prompt cache when you change thinking level on GitHub Copilot's Claude 5.x and GPT-6 models. Separately, an open draft pull request (#12614) adds sign-in with a Google AI subscription so Gemini usage draws on your plan instead of an API key. It is not merged or released: testers report a disabled_client sign-in error, the docs name only the Ultra plan, and commenters question whether Google's terms allow other tools to reuse it. Don't buy a Google plan for this until it ships. Source
- 2026-11-08: Added to the Builder Brief tracker. Pi got fresh attention this weekend: a developer's write-up on leaving Claude Code for Pi reached the Hacker News front page on Nov 8, and several commenters in Claude Code's open User-Agent email issue (#107757) said they were moving to Pi. Those are individual user reports; we have not tested Pi or whether it avoids that issue. Vendor-documented: Pi has no built-in permission system and runs with the permissions of the user who starts it, so its own README recommends a container or sandbox (Docker, a Gondolin micro-VM extension, or OpenShell) when you need boundaries. Source
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.
Almost done. Confirm your email in the beehiiv tab we just opened.
That email does not look right. Try again.
Free. Unsubscribe anytime.Make an AI tool? List your tool on Builder Brief. Free listings get the same editorial review as paid ones.