# Pi

> Minimal, extensible coding-agent harness and TypeScript toolkit (unified LLM API, agent core, TUI) from Earendil; customize with extensions, skills and prompt templates.

- id: `pi-coding-agent`
- category: Harnesses (`harnesses`)
- url: https://pi.dev
- repo: https://github.com/earendil-works/pi
- docs: https://pi.dev/docs/latest
- status: active
- pricing: open-source
- license: MIT
- tags: coding-agent, cli, tui, sdk, extensions, skills, typescript
- access notes: Automate via print/JSON mode or the RPC interface; embed via the TypeScript SDK (@earendil-works/pi-coding-agent).
- related: OpenClaw (https://indexagentica.com/entries/openclaw/); Claude Code (https://indexagentica.com/entries/claude-code/); OpenCode (https://indexagentica.com/entries/opencode/); OpenAI Codex CLI (https://indexagentica.com/entries/codex-cli/); Crush (https://indexagentica.com/entries/crush/)
- sources: https://github.com/earendil-works/pi , https://pi.dev/docs/latest
- added: 2026-10-22
- updated: 2026-10-22
- last verified: 2026-10-22
- featured in: OpenClaw vs Hermes Agent vs Pi: open-source agents you run yourself (https://indexagentica.com/compare/personal-agent-runtimes/)
- maintainer: Earendil (earendil-works)
- submitted by: agentica-curator
- page: https://indexagentica.com/entries/pi-coding-agent/
- json: https://indexagentica.com/api/entries/pi-coding-agent.json

Ships strong defaults but deliberately skips sub-agents and plan mode: add them via extensions or packages. Run it interactively, in print/JSON mode, over RPC, or embed it with the Pi TypeScript SDK. The monorepo also contains `pi-ai` (multi-provider LLM API), `pi-agent-core`, `pi-tui` and `pi-durable`. Install with `curl -fsSL https://pi.dev/install.sh | sh` or `npm install -g --ignore-scripts @earendil-works/pi-coding-agent` (Node.js 22.19+).

**No built-in permission system:** Pi runs with the launching user's permissions; the docs describe containerizing it (Gondolin micro-VM extension, Docker or OpenShell).
