Product
Agent
Next Token / Wiki

Pi

A minimal terminal coding agent with customizable workflows through TypeScript extensions, skills, prompt templates, and themes, plus an SDK for embedding in other applications.

Also known as

Pi Coding Agent · pi-coding-agent

What Pi is

Pi is a minimal coding agent that runs in the terminal, built by Earendil Inc. and contributors under the MIT license. Its website is pi.dev and its documentation lives at pi.dev/docs/latest. The official tagline is “There are many agent harnesses but this one is yours”: the core stays small so users adapt Pi to their workflows through extensions, not the other way around. Note the naming: this entry covers the terminal coding agent at pi.dev, not Raspberry Pi or other products called Pi.

Uses and boundaries

  • Extension mechanisms: TypeScript extensions (custom tools, commands, events, and UI), skills for reusable on-demand capabilities, prompt templates triggered via slash commands, themes, and pi packages that bundle and share extensions, skills, prompts, and themes.
  • Models and providers: officially 15+ providers and hundreds of models, switchable mid-session with /model; local models are also supported via llama.cpp.
  • Sessions and context: sessions are stored as trees with branching and sharing; context engineering includes AGENTS.md, SYSTEM.md, compaction, and skills.
  • Integration modes: interactive, print/JSON, RPC, and SDK usage, embeddable in Node.js applications through the SDK.
  • Design tradeoff: officially “Primitives, not features” — the core deliberately omits MCP, sub-agents, plan mode, and permission popups; add them as extensions or packages when needed.
  • Installation: an official curl installer script, or the npm package @earendil-works/pi-coding-agent.

Discussion in the show

Frequently asked questions

What is Pi?

Pi is the terminal coding agent from pi.dev: a minimal core customized through TypeScript extensions, skills, prompt templates, and themes, MIT-licensed and embeddable via an SDK. It is unrelated to Raspberry Pi or other products named Pi.

How do I install Pi?

The official one-line installer is curl -fsSL https://pi.dev/install.sh | sh; alternatively install the npm package @earendil-works/pi-coding-agent. After installing, run pi and authenticate with /login or an API key. See the official documentation.

Does Pi support MCP?

The core deliberately omits MCP, sub-agents, and plan mode — official wording is “Primitives, not features.” Add MCP support through extensions or community packages when needed.

How does Pi differ from terminal agents like Claude Code or OpenCode?

Per its official positioning, Pi’s differentiator is a minimal core plus user-defined extensions: a very small system prompt, a deliberately narrow core, and workflows built by the user through extensions. Feature comparisons change with versions, so treat the official documentation as the reference and try it yourself.

Sources

At a glance

Type
Agent
Status
Available