Tau — A Minimalist Python Coding Agent
A terminal-native coding agent that reads, edits, runs commands, and keeps durable sessions — designed to be read.
- Source repo
- huggingface/tau
- Stars
- ★ 3.1k
- Last updated
- 1d ago v0.4.12
- FARS reviewed
- Nov 08, 2026 +3 new
- License
- MIT
- Primary language
- Python
- FA score
- 60/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API · Claude APIChatGPT · Codex (Partial support)
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer wants an in-terminal coding assistant for a local project to explain code, add tests, or fix a stack trace.
- Not a fit if
- Teams stuck on Python versions below 3.12
- Users wanting a mature, feature-complete production tool
- Environments that cannot add uv or extra dependencies
- Website
- twotimespi.dev ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-01latest release v0.4.12 (2026-11-21)+2.1 ★/day over 7 days
- Source review
- 60/100 · Some gaps
What does this agent do, and when should you use it?
Tau is an MIT-licensed Python project that provides a terminal coding agent harness, built with a 'small, readable' philosophy and intended as a teaching example. It is organized into three layered packages: tau_ai abstracts model providers, tau_agent provides the portable brain (messages, tools, events, loop), and tau_coding wraps it as a real coding app with CLI, TUI, tools, and session storage. Tau runs as a Textual-based interactive TUI or a one-shot print mode, with a core that communicates via typed event streams, decoupled from frontends. Sessions are persisted as JSONL under ~/.tau/sessions/ with resume and branching support. It supports multiple model providers including OpenAI, Anthropic, OpenRouter, and Hugging Face, and allows custom providers via catalog files.
Tau provides a tau command for interactive terminal use or one-shot prompts via -p. It includes built-in coding tools: read, write, edit, and bash for file reading, editing, and shell execution. It manages durable JSONL sessions (under ~/.tau/sessions/), reads project instructions from AGENTS.md and similar, and supports slash commands like /login and /model. It exposes an AgentHarness class in tau_agent for programmatic use.
- A developer wants an in-terminal coding assistant for a local project to explain code, add tests, or fix a stack trace.
- A user needs a single command to automate a script, e.g.,
tau -p "summarize the architecture". - A team wants to maintain sessions for audit or resuming work across contexts.
- A developer wants to learn how coding agents are built by studying the layered code in tau_ai, tau_agent, tau_coding.
- A user needs to integrate a custom model provider by editing a catalog.toml file.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl -LsSf https://twotimespi.dev/install.sh | shirm https://twotimespi.dev/install.ps1 | iexuv tool install tau-aipipx install tau-ai
- Runtime
- Python 3.12+
- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
On macOS/Linux, run curl -LsSf https://twotimespi.dev/install.sh | sh; on Windows PowerShell, run irm https://twotimespi.dev/install.ps1 | iex. Alternatively, use uv tool install tau-ai or pipx install tau-ai. Requires Python 3.12+.
How do you use this agent?
Run tau in the project directory for the interactive TUI, then type requests. Use tau -p "..." for one-shot mode. First, connect a provider with /login, e.g., /login openai. Specify a working directory with --cwd.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Layered architecture (tau_ai, tau_agent, tau_coding) is clear and extensible.
- Event-driven design allows multiple frontends (TUI, print, custom).
- Sessions are persisted as JSONL with resume and branching.
- Custom providers can be added via catalog.toml without code changes.
- Requires Python 3.12+, which may limit older environments.
- Model provider support depends on external APIs, requiring subscriptions or keys.
- As a teaching project, it may lack advanced features of mature tools.
- The installer installs uv, adding an extra dependency.
How does this agent compare with similar options?
Tau is inspired by Pi's minimalist coding agent, but is implemented in Python, offering a more streamlined implementation.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Tau — A Minimalist Python Coding Agent This agent | 60 · Some gaps | CLIFree + model costs | ★ 3.1k | 1d ago | Python | OpenAI API · Claude API |
| ClawCodex | 65 · Some gaps | CLIFree + model costs | ★ 928 | 1d ago | TypeScript | ChatGPT · OpenAI API · Claude API |
| Pi Agent Rust | 70 · Some gaps | — | ★ 2k | today | Rust | OpenAI API · Claude API |
| zerostack | 69 · Some gaps | CLIFree + model costs | ★ 1.8k | today | Rust | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The README says Tau can read and edit project files, run commands, and retain durable sessions; the CLI advertises read/write/edit/bash tools, so least privilege is only partly evidenced. The CLI explicitly warns that installed extensions run arbitrary Python with the user's permissions and says the installer can be inspected. The supplied evidence does not show per-action confirmation for ordinary edits or shell commands, so confirmation earns limited credit. The README outlines providers, session storage, project resources, and tools, supporting moderate data-flow transparency. Credential handling is only partly visible through environment variables and FileCredentialStore usage; no comprehensive sensitive-data policy or encryption evidence is supplied. pyproject.toml lists dependencies, and CI uses locked installation and commit-pinned GitHub Actions, but no vulnerability audit is shown. Installers, network providers, extensions, and shell commands have external effects; the extension warning is useful, while the broader effects and recovery paths are not fully documented here. Attribution has limited support from the MIT copyright and repository metadata; publisher identity is unverified and is not treated as a brand signal.
The README, pyproject.toml, and sampled source agree on Python 3.12+, package/CLI identity, and the layered architecture; the CLI and TUI imports are consistent with the described product. Dependencies have declared minimum versions and a locked CI installation path, though this packet cannot establish long-term package availability. The code shows handling for extension-install and provider errors, and test fixtures isolate the user home and prevent accidental browser launches. Tests were not executed, and the sample only supports a partial assessment of failure-message coverage.
The README identifies terminal coding tasks and also presents Tau as a readable teaching example, with TUI, print mode, and library use. AGENTS.md describes boundaries among the reusable harness, coding environment, and frontend; the README lists project instructions, skills, custom providers, and models as extension points. Invocation is clear through interactive startup, positional prompts, --print, and slash commands. Installation guidance covers macOS, Linux, Windows, several Python installation routes, and local development, while full environment limitations would require evidence beyond this sample.
The README is organized around overview, installation, quickstart, capabilities, library use, and development documentation. Per the prompt, AGENTS.md reads as contributor guidance rather than runtime agent policy. Installation notes specify Python requirements, install and upgrade commands, and the editable-tool metadata refresh caveat. tau_ai, tau_agent, and tau_coding have clear layer-oriented names, though the sample is too small to establish repository-wide naming consistency. The README includes CLI and library examples and points to documentation; no FAQ is shown. Active development and a roadmap are mentioned, but a dedicated limitations section and changelog are not present in the supplied sample. The MIT license text matches project metadata. Maintenance responsibility is only partly clear: a roadmap issue, docs, and repository are referenced, but no maintainer or update commitment is identified.
The product combines provider adapters, an event-driven harness, terminal frontends, tools, and durable sessions into a coding workflow. The README shows interactive, non-interactive, and library use, making the intended output forms reasonably clear. The listed capabilities are directly useful for users who want terminal-based code reading/editing, command execution, and session history. Static evidence cannot establish result quality, runtime cost, or comparative benefit, so these criteria receive moderate scores.
The README's architecture and capability claims can be partially checked against package configuration, CLI/TUI imports, and the architecture guidance in AGENTS.md. CI describes the repository's declared checks, and test fixtures describe isolation measures. These are source claims, not evidence of execution or independent verification; many feature implementations are outside the sample. The packet generally distinguishes product documentation, contributor guidance, and code, but it cannot fully verify release provenance, all features, or every security boundary.
- The agent can read and write project files and run shell commands; extensions execute arbitrary Python with the current user's permissions. Install only trusted extensions and inspect their installer and source first.
- The sample does not show confirmation flows for ordinary edits or commands, or fully document credential storage, sensitive session content, and recovery mechanisms; this static review cannot establish whether those protections exist.
- The CI file lists tests and static checks, but none were run for this review, so this assessment does not claim that the revision passes them.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
v0.4.12 Tau 0.4.12
Release notes excerpt
New - Add a light/dark theme to the documentation website with OS preference detection, a persistent navbar toggle, dark code highlighting, and theme-aware illustrations. Changed - Add the local inference guide to the documentation sidebar. Upgrade ```bash uv tool upgrade tau-ai ``` Full changelog: https://github.com/huggingface/tau/compare/v0.4.11...v0.4.12View on GitHub ↗ -
v0.4.11 Tau 0.4.11
Release notes excerpt
Fixed - Persist committed /model selections as the default for future sessions, including live Codex models, while preserving per-invocation CLI overrides and process-local dynamic selections. - Reject interactive TUI startup without terminal stdin to prevent CPU spinning on EOF, and show command help without launching the TUI. Full changelog: https://github.com/huggingface/tau/compare/v0.4.10...v0.4.11View on GitHub ↗ -
v0.4.10 Tau 0.4.10
Release notes excerpt
New - Add sync or async finish_turn callbacks to the portable harness so hosts can end successfully before queue polling or request one more turn without duplicating scheduled work. - Add a validated structured-output example extension that submits a final answer through a tool and preserves its structured result across session resume. Fixed - Honor AgentToolResult.terminate=True when every final result in a nonempty tool batch opts in, skipping the automatic follow-up model call while preserving sibling tools, result history, and queued input. Upgrade ```bash …View on GitHub ↗
FAQ
Does Tau support local models?
How do I save and resume sessions?
Is Tau production-ready?
Can I use Tau as a library in my own app?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.