terminal coding agent

The coding agent that lives in your terminal.

pi reads your codebase, edits across files, runs your tests, and ships — without you ever leaving the prompt.

View on GitHubmacOS · Linux · alias agent
pi — zsh
$

// features

Built for people who live in the shell.

Agentic by default

Describe the outcome. pi plans, edits across files, runs your tests, and iterates until it's green.

Bring your own model

xAI, Anthropic, OpenAI, Google, OpenRouter, or GitHub Copilot. Switch providers mid-task — no lock-in.

Works in your shell

File edits, command execution, and sessions right in the terminal. Every change is reviewable.

A TUI that doesn't fight you

Streaming output and a fast terminal UI that never blocks while the agent works.

You hold the keys

Bring your own keys. Local-first config under ~/.pi. Approve commands before they run.

Sign in with Super Grok

OAuth straight into your xAI Super Grok or X Premium+ plan — no API key to paste. pi refreshes the session in the background.

// how it works

Three steps to your first shipped change.

01

Install

One line in your terminal. No IDE, no setup wizard.

02

Ask

Run pi inside any repo and describe what you want in plain language.

03

Ship

Review the diff, approve, and pi commits + pushes.

Start shipping in one line.

No IDE. No config. Install pi, run it in any repo, and ask for your first change.