What GSD Pi Does
Pi takes a project goal and decomposes it into a structured hierarchy of work:- Milestones — shippable increments that each move your project meaningfully forward
- Slices — coherent units of work within a milestone, planned and executed together
- Tasks — atomic implementation units that a single agent session completes and commits
Autonomous Execution
Let Pi run unattended through planning, coding, testing, and committing with
/gsd auto.Interactive Control
Step through work unit by unit, inspect state, steer the plan, and resume at any time.
Git-Native Workflow
Pi isolates milestone work in git worktrees, commits with meaningful messages, and creates PRs when you’re ready to ship.
Local Project Memory
All state, decisions, plans, and knowledge live in
.gsd/ — human-readable markdown backed by a local SQLite database.Interfaces
Pi ships with three ways to interact, depending on your workflow:- TUI (Default)
- Web UI
- Headless / CI
The terminal UI is the default interface. Run
gsd to open it — you get a full interactive session with a live dashboard, slash commands, keyboard shortcuts, and real-time progress tracking.Key Capabilities
Multi-Provider Model Routing
Multi-Provider Model Routing
Pi works with the LLM provider your team already uses. Supported providers include:Cloud APIs: Anthropic (Claude), OpenAI, Google Gemini, OpenRouter, Groq, xAI (Grok), Mistral, GitHub Copilot, Amazon Bedrock, Vertex AI, Azure OpenAILocal / Self-Hosted: Ollama, LM Studio, vLLM, SGLangYou configure models per phase — a powerful model for planning and a faster model for simpler tasks — and Pi handles routing automatically. Dynamic routing can further optimize cost by selecting cheaper models for lightweight work.
Git Worktree Isolation
Git Worktree Isolation
Pi runs each milestone in its own git worktree, keeping implementation work isolated from your main checkout. When the milestone completes, Pi squash-merges the work as one clean commit and removes the worktree. Your main branch stays reviewable throughout.
Extension System
Extension System
Pi’s capabilities expand through extensions. Bundled extensions add browser automation, background shell processes, MCP protocol support, web search, voice transcription, visual context capture, GitHub sync, and more. You can install community extensions from npm or build your own.
Knowledge Graph & Local Memory
Knowledge Graph & Local Memory
Pi accumulates project knowledge across sessions — architectural decisions, patterns, lessons learned, and codebase understanding — stored in a local SQLite database and projected into human-readable markdown for review and git history.
Budget & Cost Controls
Budget & Cost Controls
Set a spending ceiling and choose how Pi enforces it: warn and continue, pause for review, or halt immediately. Dynamic model routing can reduce token consumption by 20–50% by using lighter models for simpler work.
How It Fits Into Your Workflow
Pi is designed to work alongside your existing tools, not replace them. It reads and writes your codebase directly, uses git for all version control, runs your existing test and lint commands for verification, and produces PR-ready branches. You review the output in your normal code review workflow — Pi just does the implementation work.Pi stores all project state under
.gsd/ in your project root. This directory contains a SQLite database as the runtime source of truth, plus markdown projections of plans, decisions, summaries, and knowledge for human review.