Pi Coding Agent
To be verified
Minimal, deeply customizable terminal coding agent harness.
Pi is a minimal, highly customizable terminal-based coding harness and agent designed to adapt seamlessly to existing developer workflows. Unlike rigid, sealed products that enforce specific methodologies, Pi acts as an extensible framework where users can build or install commands, tools, providers, or custom UI tweaks on the fly. It ships with powerful default features but intentionally skips heavy, pre-baked abstractions like sub-agents, permission gates, background bash execution, or built-in plan modes. Instead, developers can easily extend Pi using TypeScript-based packages shared via npm or git, allowing it to act as a truly tailored terminal companion that can even be scripted, run in RPC mode, or embedded into third-party applications via an SDK.
- Generate shell scripts and command-line automations in print modeTo be verified.
- Create highly customized development workflows by hot-reloading extensions on the flyTo be verified.
- Navigate complex project histories by branching out from any previous point in a session treeTo be verified.
- Inject custom workspace instructions, skills, and prompt templates dynamically to save context window spaceTo be verified.
- To use Pi
- install it via the terminal using curl
- PowerShell
- npm
- pnpm
- or bun (for example
- run `npm install -g --ignore-scripts @earendil-works/pi-coding-agent`). Once installed
- developers can start an interactive TUI session
- run it in print mode using `pi -p "query"` for shell scripting
- or switch models mid-session using `/model` or `Ctrl+L`. Users can customize its functionality by editing configurations like `models.json` or installing extensions directly using commands like `pi install npm:@foo/pi-tools`.
