Pi is a harness you make yours. These are the pieces I made.
Pi is a minimal agent harness you adapt with extensions. I build the ones I need to work with agents every day: undo, a sense of context health, worktree awareness, web access, and a spinner with taste.
❯ /rewind
Rewind to checkpoint◆ 4 checkpoints› "add retry to client" → edit → client.ts [feature]
"write tests" → write → client.test.ts [feature]
"user prompt" → write → file.ts, edit → other.ts [feature]
"bootstrap" → bash ⚠️ main Restore: files + conversation · files only · conversation only
↩ Undo last rewind
Illustration of the picker described in the README
Real recording · v0.1.0 showcase (21 animations at the time)
~/project (main)
🧠 ████████░░░░│░░░░░│░░░░░ smart 64% left
… a few long tool outputs later …
🧠 ████░░░░│░░░░░│░░░░░ smart 36% left
… keep going …
⚠️ ████████████░│░░░░░ warm
🧟 ██████████████████dumb — time to compact
Replaces Pi's default spinner with 26 terminal animations for thinking, working and tool execution, from demoscene fire to Matrix rain to Unicode block loaders, rendered inline in ANSI true color with Nerd Font glyphs.
26 animations, each tagged for thinking, working or tool calls
ANSI true color + Nerd Font glyphs, rendered inline
Interactive showcase to preview and pick
Real recording · v0.1.0 showcase (21 animations at the time)
A context health bar in the footer: see at a glance whether you're in the smart, warm or dumb zone before context rot sets in. Inspired by Dex Horthy's “No Vibes Allowed” talk.
Smart / warm / dumb zones at a glance
Lives in the footer, zero interaction
Helps you compact or start fresh at the right time
~/project (main)
🧠 ████████░░░░│░░░░░│░░░░░ smart 64% left
… a few long tool outputs later …
🧠 ████░░░░│░░░░░│░░░░░ smart 36% left
… keep going …
⚠️ ████████████░│░░░░░ warm
🧟 ██████████████████dumb — time to compact
A TUI-only indicator that shows which git worktree or disposable experiment the agent is touching when it edits files or runs commands on long paths. Detects; never manages.
Detects runs/agents/worktrees/<slug> and runs/experiments/<app>/<slug>
A security-minimal web extension: web_search, web_answer and web_research through Codex with ChatGPT subscription auth, and web_contents through Cloudflare Browser Rendering markdown. Inspired by mavam/pi-web-providers.
search / answer / research via Codex (ChatGPT auth)
The same minimal web extension for OpenAI-compatible / Azure OpenAI Responses API (search, answer, deep research) plus Cloudflare Browser Rendering for page contents.