Privacy choices: we'd like to measure visits anonymously (our own cookie-free counter plus Google Analytics, which sets its own cookies; no ads) and load Beehiiv's newsletter sign-up, which may set its own cookies. Nothing optional runs until you choose. Privacy policy

AgentScout / coding / Pi
codingOpen sourceAdded Oct 18, 2026

Pi logoPi

No ratings yet★ Rate this tool

Pi is a minimal, MIT-licensed agent harness from Earendil that runs as a terminal coding agent and doubles as a toolkit for building your own agents. It ships a unified multi-provider LLM API, an agent loop, a TUI, print/JSON and RPC modes and a TypeScript SDK, and deliberately leaves out built-in sub-agents and plan mode: you add behaviour through extensions, skills, prompt templates and themes, bundled as Pi packages shared over npm or git.

Updated

✨ Try AgentScout's free AI image generator →

Good for: writing code, coding in the terminal, building AI agents, building MCP servers

Use cases

Get featured

About Pi

Pi is listed in our coding category and is aimed at builders. Pi is a minimal, MIT-licensed agent harness from Earendil that runs as a terminal coding agent and doubles as a toolkit for building your own agents. It ships a unified multi-provider LLM API, an agent loop, a TUI, print/JSON and RPC modes and a TypeScript SDK, and deliberately leaves out built-in sub-agents and plan mode: you add behaviour through extensions, skills, prompt templates and themes, bundled as Pi packages shared over npm or git. Pricing, as the maker states it: Open source (MIT); bring your own model provider or subscription. Maturity: Mature. We last checked the official link on 2026-12-01.

What is Pi?

Pi is a minimal, extensible agent harness from Earendil that you can run as an interactive terminal coding agent, in print/JSON mode for scripts, as an RPC server over stdin/stdout, or as a TypeScript SDK embedded in your own app. Pi 1.0 shipped together with Pi Durable, a durable conversation, task and document runtime.

It deliberately leaves out built-in sub-agents and plan mode: you add what you need with TypeScript extensions, skills, prompt templates and themes, bundled as Pi packages and shared over npm or git. It works with 15+ providers (Anthropic, OpenAI, Google, Bedrock, Mistral, Groq, xAI, OpenRouter, Ollama and more), can switch models mid-session, and stores sessions as branchable trees you can export to HTML or share as a gist.

Sources: the official README and our directory listing, checked 2026-10-18. Official site: pi.dev.

Who is Pi for?

Developers who want a small, hackable terminal coding agent they can reshape with their own extensions, and teams that want to embed an agent loop in their own product (the project cites OpenClaw as a real-world integration).

Pi at a glance

  • Open source: Yes (MIT License)
  • GitHub: earendil-works/pi · 125,292 stars (as of Dec 2, 2026)

Key features

  • Interactive TUI, print/JSON, RPC and SDK modes
  • 15+ model providers; switch models mid-session
  • Extensions, skills, prompt templates and themes as npm or git packages
  • Tree-structured sessions with HTML export and gist sharing
  • AGENTS.md / SYSTEM.md context control and customizable compaction

Pi FAQ

What is Pi?

Pi is a minimal, extensible agent harness from Earendil that you can run as an interactive terminal coding agent, in print/JSON mode for scripts, as an RPC server over stdin/stdout, or as a TypeScript SDK embedded in your own app. Pi 1.0 shipped together with Pi Durable, a durable conversation, task and document runtime.

Who is Pi for?

Developers who want a small, hackable terminal coding agent they can reshape with their own extensions, and teams that want to embed an agent loop in their own product (the project cites OpenClaw as a real-world integration).

Is Pi free?

Pi's pricing, as the maker states it: Open source (MIT); bring your own model provider or subscription. Open-source tools are free to use, though you may still pay for model API usage or a hosted plan. Check the official site for current plans.

Is Pi open source?

Yes. Pi is released under the MIT License, according to its GitHub repository.

Does Pi sandbox the commands it runs?

No. Pi has no built-in permission system and runs with the permissions of the user who starts it; its docs recommend running it in a container or sandbox if you need stronger boundaries.

How do I install Pi?

Use the installer from pi.dev (curl -fsSL https://pi.dev/install.sh | sh, or the PowerShell script on Windows) or npm install -g @earendil-works/pi-coding-agent. It needs Node.js 22.19 or newer.

What are alternatives to Pi?

Similar tools include Claude Code, Cline, CC Switch, GSD Core, Agent Skills (Addy Osmani) and Jupyter AI.

Pi ratings and reviews

No ratings yet. Be the first to review Pi.

Be the first to rate Pi: tap 1 to 5 stars below. A written review is optional.

Your rating of Pi

Pi alternatives

Other coding tools in our directory. See all coding tools →

Claude Code logo

Claude Code

Claude Code is Anthropic's agentic coding tool that lives in your terminal, understands your codebase and carries out routine tasks, explains complex code and handles git workflows through natural-language commands. It also runs in IDEs and on GitHub when you tag @claude, and installs via a native script, Homebrew or WinGet (the npm install is deprecated).

Cline logo

Cline

Cline is an Apache-2.0 open-source coding agent that runs as a VS Code extension, a JetBrains plugin, a macOS and Windows desktop app, a CLI (npm i -g cline, interactive or headless for CI) and an SDK for building your own agents. It creates and edits files, runs commands, browses the web and uses MCP tools with human-in-the-loop approval for each step, and works with the model provider of your choice.

CC Switch logo

CC Switch

CC Switch is a free, MIT-licensed desktop app for Windows, macOS and Linux that manages Claude Code, Claude Desktop, Codex, Gemini CLI, OpenCode, OpenClaw, Hermes Agent, Pi, Kimi Code and other coding agents from one window. You can switch each agent's API provider in one click, keep MCP servers, skills and system prompts in sync across tools, and stop hand-editing JSON, TOML or YAML config files. Built with Tauri, with frequent releases.

GSD Core logo

GSD Core

GSD Core is a spec-driven development and context-engineering framework that runs Claude Code, Codex, Cursor, Copilot and other coding agents through a discuss, plan, execute, verify and ship loop, doing heavy research and execution in fresh-context subagents to avoid context rot.

Agent Skills (Addy Osmani) logo

Agent Skills (Addy Osmani)

Agent Skills by Addy Osmani packages senior-engineer workflows and quality gates as skills for AI coding agents, with nine slash commands such as /spec, /plan, /build, /test, /review and /ship that walk an agent from idea to production with tests and review at each step.

Jupyter AI logo

Jupyter AI

Official JupyterLab extension that connects AI agents and chat to notebooks.