Pi vs gsd-pi
AI coding agents compared
Pi and gsd-pi are TypeScript command-line projects for AI-assisted coding. Pi is a customizable agent harness with libraries and integration options, while gsd-pi organizes work into plans, tasks, and locally recorded verification.

Pi: Build and Customize a Coding Agent
Pi is a minimal, extensible coding-agent harness built with TypeScript and its pi-ai unified LLM API. Run it as a CLI on macOS, Linux, or Windows, or adapt its components and extensions to your own workflows.

gsd-pi: Plan and Build Software with a Coding Agent
GSD Pi is a local-first, TypeScript coding agent for planning, implementing, verifying, and tracking project work from the command line. It adds milestone-based workflows, Git worktree automation, and project memory to autonomous coding sessions.
| Pi | gsd-pi | |
|---|---|---|
| Language | TypeScript | TypeScript |
| License | MIT | MIT |
| Stars | 117k | 1.3k |
| Forks | 15k | 113 |
| Last analyzed | Oct 23, 2026 | Oct 28, 2026 |
Key differences
- Pi provides a general-purpose agent harness, unified LLM API, and reusable libraries; gsd-pi focuses on a structured workflow from planning through implementation and verification.
- Pi supports interactive, print, JSON, RPC, and SDK use; gsd-pi offers a terminal interface and an optional web interface.
- Pi is designed for customization through extensions, skills, themes, and packages; gsd-pi organizes project records under `.gsd/` and supports milestones, slices, tasks, and Git worktrees.
- Pi explicitly omits built-in sub-agents and plan mode; gsd-pi includes project planning and auto mode to advance work.
- Both use TypeScript and MIT licensing. Pi has 117k stars and 15k forks, while gsd-pi has 1.3k stars and 108 forks.
Choose Pi if you…
- need a customizable agent harness, unified LLM API, or reusable TypeScript components.
- want CLI, automation, RPC, or SDK options for using an agent.
- prefer to tailor workflows with extensions and packages rather than start with built-in project planning.
Choose gsd-pi if you…
- want work organized into milestones, slices, and tasks, with local project records.
- need an agent workflow that supports implementation in Git worktrees and tracks verification.
- want a terminal workflow with an optional web interface and provider integrations.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.