# Pi

> A minimal, extensible coding agent harness that you can make your own

Source: https://talira.ai/catalog/pi-ds9f4k0w
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Library
- Categories: [developer tools / ai coding / agents](https://talira.ai/categories/developer-tools/ai-coding/agents), [ai / agents / frameworks](https://talira.ai/categories/ai/agents/frameworks)
- Platforms: macos, linux, windows[^3]
- Licence: MIT[^4]
- Pricing: Free and open source[^4]
- Free tier: yes[^4]
- API: yes[^3]
- Plugins: yes[^3]
- Backed by: [Earendil Inc.](https://talira.ai/orgs/earendil.md)

Pi is a minimal, open source coding agent harness from Earendil (formerly pi-mono): a terminal coding agent with a short system prompt, so it's token efficient, that you adapt to your workflow rather than the other way round. You extend it with TypeScript extensions (including custom TUI), skills, prompt templates and themes, bundled as Pi packages shared through npm or git, and it deliberately ships without sub-agents or plan mode, which you add as packages or ask Pi to build. It reads AGENTS.md files, lets you rewind to any earlier message, branch and share sessions, and steer a run while it works. It runs interactively, in print or JSON mode for scripts, over RPC, or embedded with its TypeScript SDK, and connects to many model providers by API key or subscription login. The monorepo also holds its libraries: pi-ai (one API over OpenAI, Anthropic, Google and other providers), pi-agent-core (an agent runtime with tool calling), pi-tui (a terminal UI library with differential rendering) and Pi Durable (durable conversations and tasks).

## Links

- Website: https://pi.dev/
- GitHub: https://github.com/earendil-works/pi
- Docs: https://pi.dev/docs/latest

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/pi-coding-agent>[^1]
- [mise](https://talira.ai/catalog/mise-0axr08xw.md): <https://mise-versions.jdx.dev/tools/pi>[^2]

## Problems it solves

- a coding agent I can customise completely instead of living with someone else's workflow
- a token-efficient terminal coding agent with a short system prompt
- one TypeScript API for calling OpenAI, Anthropic and Google models
- script a coding agent from shell scripts with JSON output

## Features

- extensions, skills, prompt templates and themes, shared as Pi packages
- rewind to any message, branch and share a session
- interactive TUI, print and JSON modes for scripts, RPC control and a TypeScript SDK
- many model providers, by API key or subscription login
- unified multi-provider LLM API and agent runtime libraries

## Limitations

- No built-in permission system: it runs with the full permissions of the user who starts it, unless you containerize or sandbox it.[^3]
- Leaves out sub-agents and plan mode by design; extensions or packages add them.[^3]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.86 out of 1.
Signals: maintenance 1.00, adoption 1.00, momentum 1.00, community 1.00, backing 0.30, extensibility 0.60.

- last commit yesterday
- 2864 commits in the last 90 days
- latest release v1.7.0 2 days ago
- 124.5k GitHub stars
- 322 contributors
- 10k Homebrew installs in 30 days
- backed by Earendil Inc.
- has a plugin system

## Forks

- [oh-my-pi (omp)](https://talira.ai/catalog/oh-my-pi-omp-sajna0hc.md): Terminal coding agent with the IDE wired in, forked from Pi. Its own project since 2025.

## Alternatives

- [OmO](https://talira.ai/catalog/omo-1cc2hj2q.md): Agent harness that turns one prompt into a graph of model-matched agents
- [Prime Agent](https://talira.ai/catalog/prime-agent-ys2pshgw.md): Self-improving coding and research agent built on a persistent Python REPL
- [jcode](https://talira.ai/catalog/jcode-scs6tq27.md): Rust coding agent harness built for running many agents in parallel with little memory
- [Codewhale](https://talira.ai/catalog/codewhale-4v3r8wrx.md): Open source terminal coding agent for any model
- [OpenCode](https://talira.ai/catalog/opencode-fn6hh4gp.md): The open source coding agent.
- [Qwen Code](https://talira.ai/catalog/qwen-code-nm8dyj27.md): Open source AI coding agent for the terminal, editor, desktop, browser and chat

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 28 Nov 2026)
[^2]: https://mise-versions.jdx.dev/tools.json (checked 28 Nov 2026)
[^3]: https://github.com/earendil-works/pi/blob/main/README.md (checked 28 Nov 2026)
[^4]: https://github.com/earendil-works/pi/blob/main/LICENSE (checked 28 Nov 2026)
