Pi vs tau
pi and tau: terminal coding agents compared
pi and tau both provide terminal-based coding-agent workflows and ways to customize them. pi is a TypeScript toolkit with an agent CLI, SDK, and integration options, while tau is a Python coding agent and reusable harness centered on tools and session history.

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.

tau: Python Terminal Coding Agent Inspired by Pi
Tau is a small, readable terminal coding agent and teaching project: a Python port of Pi’s minimalist coding agent. It can inspect and edit project files, run commands, and preserve sessions, with a reusable event-driven core for custom frontends.
| Pi | tau | |
|---|---|---|
| Language | TypeScript | Python |
| License | MIT | MIT |
| Stars | 117k | 3k |
| Forks | 15k | 387 |
| Last analyzed | Oct 23, 2026 | Oct 19, 2026 |
Key differences
- pi is written in TypeScript and includes a TypeScript SDK; tau is written in Python and offers Python library interfaces.
- pi combines a multi-provider LLM API, agent runtime, CLI, and terminal UI; tau focuses on a coding-agent harness with file and shell tools and a terminal interface.
- pi supports customization through extensions, skills, prompt templates, themes, and packages; tau offers project instructions, user skills, prompt templates, and themes.
- pi provides print and JSON modes, RPC, and supporting libraries for automation and application composition; tau exposes provider-neutral events for custom frontends and stores append-only JSONL session history with resume and branching.
- pi lists 112k stars and 14.2k forks; tau lists 2.9k stars and 369 forks.
- pi requires Node.js 22.19 or newer; tau requires Python 3.12 or newer and a configured model provider.
Choose Pi if you…
- want a TypeScript toolkit for building applications around an agent as well as using a coding-agent CLI.
- need print or JSON modes, RPC, or an SDK to automate or integrate agent workflows.
- want to customize an agent with extensions and packages, or add workflow features through them.
Choose tau if you…
- want a Python coding agent with file-editing and shell-command tools.
- need resumable, branchable session history in an append-only JSONL format.
- want to study a layered agent harness or build a custom frontend around its event stream.
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.