Pi Coding Agent — Official Documentation

2026-05-15 · source · source ↗ · raw capture

Pi is a terminal-based coding tool created by Earendil Inc., hosted at pi.dev, and licensed under MIT. It positions itself as "a minimal terminal coding harness" that "stays small at the core while being extended through TypeScript extensions, skills, prompt templates, themes, and pi packages." Available as npm package @earendil-works/pi-coding-agent, with source on GitHub at earendil-works/pi.

Quick Start

Two installation methods: - curl -fsSL https://pi.dev/install.sh | sh - npm install -g @earendil-works/pi-coding-agent

After installation, run pi in a project directory. Authentication via /login for subscription-based providers, or environment variables like ANTHROPIC_API_KEY.

Documentation Structure

Start Here

Customization

Programmatic Usage

Reference

Platform Setup

Development

Community