Pi Coding Agent
Minimal terminal coding-agent harness you bend to your own workflow.
Visit website →About
Pi is a minimal, open-source terminal harness for AI coding work, built by Earendil. The core stays small while extensions, skills, and themes let you shape the environment around your own workflow rather than the other way around.
It supports 15+ LLM providers and hundreds of models, with mid-session model switching, tree-structured session history, and modes for interactive TUI, JSON/print output, RPC, and a programmable SDK.
Notably, Pi deliberately omits MCP, sub-agents, and permission popups — the design philosophy is about what to leave out. Released under MIT license and installable via npm, pnpm, bun, or shell.
AI-assisted draft, human-reviewed before publishing — see how we choose & review tools.
Why we picked it
Pi stood out for mid-session model switching across 15+ providers — being able to change which model is driving the agent without restarting the whole session is worth naming for anyone comparing model quality on the same task in real time.