Pi

A minimal, extensible terminal coding harness — adapt Pi to your workflows instead of the other way around.

Earendil Inc. / Mario Zechner Open source Since

Pi is a minimal, extensible terminal coding harness by Mario Zechner and Earendil Inc. — a low-ceremony CLI agent that supports 15+ LLM providers, tree-structured session history, context engineering via AGENTS.md/SYSTEM.md/skills, and a powerful extension API for tools, commands, events, and custom TUI components. Released under MIT, it ships with four operation modes (interactive, print/JSON, RPC, SDK) and a Pi package ecosystem for sharing extensions, skills, themes, and prompt templates.

+ Pros

  • Extremely extensible architecture (skills, themes, prompt templates, event hooks, commands)
  • Massive community: 56.5k stars, 6.7k forks, 223+ releases
  • 15+ LLM providers supported — Anthropic, OpenAI, Gemini, Bedrock, Ollama, and more
  • Minimal core with radical extensibility — install only what you need
  • Rich package ecosystem with 50+ example extensions
  • Tree-structured session history for non-linear conversations
  • Self-modifying agent — Pi can write its own extensions
  • Four operation modes: interactive, print/JSON, RPC, SDK
  • Context engineering via AGENTS.md, SYSTEM.md, and skill files

Cons

  • Steeper learning curve due to the extensibility model
  • Documentation spread across pi.dev, GitHub, and blog posts
  • Less opinionated than alternatives — you configure more yourself
  • TUI is functional but less polished than dedicated TUI-first agents like Crush
  • Requires Node.js 22.19.0+
  • npm package can be confusing due to scoped naming

Pricing

Free

$0

Full functionality under MIT license. Bring your own API keys for LLM providers. Install via npm, bun, or curl.

Introduction

Pi is a terminal coding harness built for extensibility — an agent that stays small at the core with radical extensibility through extensions, skills, themes, and prompt templates. Released under MIT by Earendil Inc.

Version History

v0.76.0

Explicit session IDs for automation, RPC improvements, predictable retries and timeouts

v0.75.5

Read tool output, Windows fixes, adaptive thinking

v0.75.4

Shrinkwrap, supply-chain hardening, theme detection

Signature Snippet
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
cd /path/to/project
pi

# First session prompt
Summarize this repository and tell me how to run its checks.

# Switch models mid-session
/model

# Non-interactive mode
pi -p "List all .ts files in src/"

# Reference files with @
pi @README.md "Summarize this"

# Install a Pi package
pi install npm:@foo/pi-tools

# Export session to HTML
/export

Live feed in your inbox

Track the tools. Lead the shift.

Tech leaders use Artificialus to stay ahead: editorial picks, agent comparisons, MCP updates, and signal-heavy analysis when it matters.

No spam. Only tools and shifts worth tracking.