Pi
pi.dev
Minimal, extensible open-source coding agent for the terminal: add extensions, skills and prompts to fit your workflow.
- GitHub stars
- 123,335
- License
- MIT
- Language
- TypeScript
- Pricing
- Open source
- Published
- Nov 22, 2026
Next steps
- OpenCode
Both tools are listed under AI Code Assistant, AI Agent, cli, and coding-agent.
- Agav
Both tools are listed under AI Code Assistant, AI Developer Tools, cli, and coding-agent.
- Kimi Code CLI
Both tools are listed under AI Code Assistant, AI Agent, cli, and coding-agent.
- Strix
- Daily Stock Analysis (DSA)
- Agent Reach
What it does
Pi is an open-source agent harness from Earendil whose main tool is a terminal coding agent. It keeps a small system prompt, supports skills and AGENTS.md files, and leaves out features such as sub-agents and plan mode so you can add exactly what you need through extensions, skills, prompt templates, themes or community packages. You can use it interactively, in print or JSON mode for scripts, over RPC, or build your own apps with its TypeScript packages. Install with the pi.dev script or npm (Node.js 22.19+), then run /login to connect a model provider. MIT licensed.
Use cases
- Run a lightweight coding agent in the terminal with the model provider or subscription you already use
- Extend the agent with your own extensions, skills, prompt templates and themes instead of waiting for built-in features
- Automate coding tasks from scripts through print/JSON mode or RPC, or build your own app on the Pi TypeScript packages
Frequently asked questions
- What is Pi?
- Pi is an open-source, minimal and extensible agent harness from Earendil. Its main product is a terminal coding agent (pi) that you customise with extensions, skills, prompt templates and themes.
- How do I install Pi?
- Run curl -fsSL https://pi.dev/install.sh | sh (PowerShell installer on Windows) or npm install -g --ignore-scripts @earendil-works/pi-coding-agent. It needs Node.js 22.19 or newer.
- Which models can it use?
- Inside Pi you run /login to connect a built-in AI provider with a subscription or an API key; the model catalogue is maintained on pi.dev.
- Does Pi include sub-agents or plan mode?
- Not by default. Pi deliberately skips features such as sub-agents and plan mode; you can ask Pi to build them or install a package that adds them.
- What licence is it under?
- MIT.