tau: Build and Run a Terminal Coding Agent

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
View on GitHub

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

View on GitHub

Related repositories

Similar repositories that may be relevant next.

OS
OSRepos

Analysis and discovery of open source repositories. Find interesting projects and follow their updates.

Monitor your website with YourWebsiteScore

OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of third-party repository code is at your own risk. Always review source code, dependencies, licenses, and security implications before running anything.

© 2025 OSRepos. Built with Nuxt 3 and lots of ❤️