tau: Build and Run a Terminal Coding Agent

Summary
Tau is a Python terminal coding agent that can inspect and edit files, run commands, and preserve session history. It is also a small, layered codebase for developers learning how coding-agent systems are structured or building a custom frontend.
At a glance
- Language
- Python
- License
- MIT
- Stars
- 2.9k
- Forks
- 369
- Added to OSRepos
- September 8, 2026
- Last analyzed
- October 4, 2026
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Overview
Tau is a terminal coding agent for tasks such as understanding a codebase, changing files, and running shell commands. It combines a reusable agent harness with a coding environment, so developers can use the included terminal interface or build a different frontend around the harness's event stream.
The project is aimed both at people who want a configurable coding assistant and at developers who want to study a relatively small implementation of an agent loop, tools, provider integration, and durable sessions.
Key Features
- Interactive terminal interface and non-interactive prompt mode.
- File-reading, file-writing, editing, and shell-command tools.
- Provider support for OpenAI, Anthropic, OpenAI Codex subscription auth, OpenRouter, Hugging Face, and OpenAI-compatible endpoints.
- Append-only JSONL session history with resume and branching.
- Project instructions, user skills, prompt templates, and custom themes.
- Provider-neutral events that can be consumed by custom frontends.
- Python library interfaces for building on the agent harness.
Use Cases
- Developers can ask for help understanding a repository or investigating a stack trace from the project directory.
- Teams can use an agent to make code changes and run commands while retaining inspectable session history.
- Agent developers can study the separation between model providers, agent logic, coding tools, and presentation.
- Python developers can use the event-driven harness as a starting point for a custom coding-agent frontend.
Project Facts
- Language: Python
- License: MIT
- Stars: 2.9k
- Forks: 369
- Topics: none listed
- Archived: no
Getting Started
Install with uv tool install tau-ai, then run tau from the project you want to work on. Tau requires a model provider; use /login in the app to connect one. See the repository README for setup options and provider details.
Alternatives
- qwen-code: Qwen Code supports multiple model providers and terminal, editor, desktop, web, chat, script, and SDK interfaces.
- zero: Zero is written in Go and emphasizes scriptable use, local sessions, and explicit controls over side effects.
- aider: Aider focuses on editing repositories with cloud or local models while integrating changes into a version-control workflow.
- pi: Pi is a TypeScript toolkit with a coding-agent CLI, terminal UI, and unified API for multiple LLM providers.
Considerations
Tau requires Python 3.12 or newer and a configured model provider. The repository describes the project as under active development, so behavior and interfaces may evolve. Its coding tools can read and modify files and execute shell commands, so review proposed actions and changes in the context of your environment.
Found this useful?
Share it with someone who would like tau.
Comparisons
Source repository
Open the original repository on GitHub.
12 counted GitHub visits
Related repositories
Similar repositories that may be relevant next.

omnigent: Orchestrate AI Coding Agents Across Harnesses
October 5, 2026
Omnigent provides a shared orchestration layer for AI coding agents, with policies, sandboxing, and team collaboration. It suits developers who want to combine agent runtimes and access sessions across devices without tying workflows to one harness.

agentevals: Evaluate AI Agents from OpenTelemetry Traces
October 4, 2026
agentevals scores AI agent behavior from existing OpenTelemetry traces, without rerunning agents or making extra model calls. It suits teams building instrumented agents that need local evaluation, golden-set checks, or CI quality gates.

web-design: Create Consistent Web Pages with a Claude Code Skill
October 3, 2026
web-design is a Claude Code skill that turns product briefs, reference URLs, or screenshots into an editable design specification before generating web code. It is suited to developers and designers who want a repeatable, spec-led workflow for building consistent pages.

oomwoo: Build a DIY Robot Vacuum
October 2, 2026
OOMWOO is a planned, hackable robot vacuum built around Raspberry Pi, ROS2 and 2D LiDAR. It is aimed at makers who want to build and customize a locally controlled vacuum, but its hardware and build instructions are still in development.