Pi
Pi is a minimal, extensible agent harness for developers. It pairs a keyboard-driven TUI with skills, extensions, and prompt templates, supports print/JSON, RPC, and SDK modes, switches among many model providers, and stores navigable, shareable session trees for reproducible automation and coding.
Overview
In practice, you start Pi in the TUI, load project skills and prompts, and iterate. You can steer a running job, queue follow-ups, or jump within a session tree to branch work. For automation, use print mode for scripts or RPC/SDK for programmatic control.
How Pi works
Pi suits engineers who want tight control over agent behavior and integration points. It’s a strong fit for platform teams, toolsmiths, researchers, and maintainers building CLI tools, scripted automations, or editor-integrated flows. Teams that need to branch experiments, compare models, and ship reproducible, auditable runs benefit from tree-structured history. Organizations preferring composable primitives over heavy, opinionated assistants can evolve Pi to match internal workflows without abandoning existing tooling or security practices.
- Switch models and providers mid-session without restarting or losing conversation context.
- Navigate, branch, and share tree-structured sessions for reproducible explorations and workflows.
- Generate shell scripts in print mode, or stream JSON events for automation.
- Load per-project AGENTS.md instructions, optional SYSTEM.md, skills, and prompt templates.
- Extend the harness with TypeScript modules that add tools, UI, and workflows.

Highlights
What users build with Pi
Install via a one-line script for Unix or PowerShell, or add the global package using npm, pnpm, or bun. Configure provider credentials with API keys or OAuth, then open the TUI to create a project. Add AGENTS.md and optional SYSTEM.md, and load skills or extensions as needed. Use /model to switch models, /tree to navigate history, and -p to print scripts. For automation, stream events in JSON mode, talk over the RPC protocol, or embed via the SDK. Reload after edits and share branches when ready.
A small, composable harness that adapts to your workflow instead of enforcing one.
Getting started
Pi’s differentiator is scope control: a small core with powerful primitives instead of heavyweight features. It omits sub-agents, plan mode, permission popups, and MCP by default, yet enables them via extensions when warranted. With a fast TUI, shareable session trees, and multi-provider switching, teams gain precise, portable workflows that fit existing tooling.
Open the tool and review its core product experience.
Create your account or access your existing workspace.
Use your own task to judge speed, quality, and fit.
Check similar AI tools before making a final decision.



Comments (0)
No Comments Found