Minimal Core, Maximum Extensibility
Pi avoids dictating workflows. Instead, it provides a foundation that adapts through TypeScript extensions, skills, prompt templates, and themes.
A minimal, extensible terminal coding harness by Mario Zechner. MIT licensed. 15.7k GitHub stars.
Pi is an open-source AI coding agent CLI (MIT licensed) created by Mario Zechner. Rather than being a monolithic tool, Pi is designed as a minimal terminal coding harness that adapts through extensibility.
The project is structured as a monorepo with focused packages:
# Install globally
npm install -g @mariozechner/pi-coding-agent
# Set your API key
export ANTHROPIC_API_KEY=sk-ant-...
# Launch
piThat is it. Pi drops you into an interactive coding session. Type your request, and the agent works with full file system and bash access.
| What Pi Does | What Pi Does NOT Do |
|---|---|
| Provides multi-provider LLM access | Dictate a single workflow |
| TypeScript extension API | Lock you into MCP protocol |
| Session branching and history | Force permission popups |
| Skills, prompts, themes | Include bloated built-in features |
| npm/git package ecosystem | Require a specific editor or IDE |
Pi's philosophy: the core stays minimal; any workflow is possible through extensibility.