Back to Tools
Pi

Pi

Earendil Inc. & Contributors

Open-source, minimal AI agent harness for building customizable coding assistants.

Updated 1mo ago
Open SourceCode Assistant⚡ 57

About Pi

Pi is a minimal terminal-based coding agent that is built to be reshaped. Its site describes it as an agent harness you adapt to your workflow rather than the other way around, and says it ships with strong defaults while deliberately leaving out features such as sub-agents and plan mode, which you can add through extensions or packages. It installs with a one-line script or through npm, pnpm or bun.

Customization is the main idea. Pi can be extended with TypeScript extensions, skills, prompt templates and themes, and these can be bundled as Pi packages and shared through npm or git. The site says that if you need a command, tool, provider, workflow or interface tweak, you can ask Pi to build it, reload, and keep going. It supports project instructions through AGENTS.md files loaded from your home configuration, parent directories and the current directory, and a system prompt file that can replace or extend the default. Its minimal system prompt is described as making it token efficient.

It works with a wide range of models. The site lists more than 15 providers, naming Anthropic, OpenAI, Google, Azure, Bedrock, Mistral, Groq, Cerebras, xAI, Hugging Face, Kimi, MiniMax, NVIDIA, OpenRouter and Ollama, with authentication by API key or OAuth. You can switch models mid-session, cycle through favorites with a keyboard shortcut, and add custom providers through a configuration file or an extension.

Sessions are stored as trees rather than linear chat logs: you can rewind to any earlier message, branch from there, and keep all branches in a single file. A session can be exported to HTML or shared as a GitHub gist. During a run you can press Enter to steer immediately or queue a follow-up. There are four modes: interactive terminal UI, print or JSON output, RPC, and an SDK for embedding, and the site points to OpenClaw as a real-world integration. It suits developers who want a small, hackable tool and are comfortable writing extensions.

Ready to see Pi for yourself?

Try Free

Key Information

Pricing
Open Source
Open Source
Yes
Category
Code Assistant
Developer
Earendil Inc. & Contributors
Last Updated
1mo ago
Website Status
Online
Website
pi.dev
Documentation
View Docs

Features

Minimal terminal coding agent extended through TypeScript extensions, skills, prompt templates and themes
Packages shareable via npm or git
15+ model providers with mid-session model switching and custom provider support
Session history stored as branchable trees with HTML export and GitHub gist sharing
AGENTS.md and system prompt files for context engineering
Interactive TUI, print/JSON, RPC and SDK modes
Real-time steering to interrupt or queue follow-ups; open source

Pricing

Open Source
This tool is open source and free to use or modify.

Free tier available

Pros and Cons

Pros

Free to use

Reviews & Ratings

—
0 reviews

Sign in to leave a review.

No reviews yet — Be the first to share your experience with Pi.

Frequently Asked Questions

Pi is open source and free to use.

Ready to try Pi?

Visit the official website and see what Pi can do for you.

Visit Pi

Disclosure: AlverHub may earn a commission if you sign up for a tool through a link on this page, at no additional cost to you. This never affects which tools we list or how we describe them — our recommendations are based on real, documented data and our published scoring methodology.

📬

The AlverHub Weekly

The 5 best new AI tools every week. Zero spam.