All apps/pi

pi

pi

A terminal-based coding agent.

Runs as pi|macOS, Linux, Windows|pi.dev

Command form

ai-draft · 2 tasks · 12 fields

Start pi with a prompt, choose provider, model and session handling, or run non-interactively. Extension flags, skills and themes are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui pi
Run the coding assistantExample values, fixed in this page — nothing here reaches a terminal
Basic
Prompt*
string
Non-interactive (print and exit)*
--print
Model
string
TasksEach one presets the form for one job
One-shot prompt
messagesprintmodel
Continue last session
continuemessages
ParametersOnly these flags are editable in the form
Prompt
Initial message. Prefix a file path with @ to include it.
string · positional 0 · repeatable
Non-interactive (print and exit)
boolean
--print-p
Provider
string
--provider
Model
Pattern or ID; provider/id and :thinking suffix are accepted.
string
--model
Thinking level
enum
--thinkingoffminimallowmediumhighxhigh
Continue previous session
boolean
--continue-c
Pick a session to resume
boolean
--resume-r
Ephemeral (do not save session)
boolean
--no-session
Disable all tools
boolean
--no-tools-nt
Skip AGENTS.md / CLAUDE.md
boolean
--no-context-files-nc
Append to system prompt
string · repeatable
--append-system-prompt
Offline startup
boolean
--offline
SourcesEvery flag above is checked against these
help
Usage: pi [options] [@files...] [messages...] --provider <name> Provider name (default: google) --model <pattern> Model pattern or ID (supports "provider/id" and optional ":<thinking>") --print, -p Non-interactive mode: process prompt and exit --continue, -c Continue previous session --…
helppi --help (local)

Before it fills your prompt, Otty checks the installed pi against its version. A form that does not match your version is not offered.