agentleFS
Hugging FaceKnown publisherhuggingface/tau/AGENTS.md

tau

AGENTS.md2.9k starsChanged 5 months agoMITView on GitHub

Tau is a Python implementation of Pi's minimalist coding-agent harness architecture. The goal is to develop it incrementally, with each phase clearly documented and tested. The implementation roadmap is tracked in GitHub issue #1: Use that issue as the primary reference for phase ordering and architectural intent. Preserve Pi's core separation of concerns: Tau should be organized around these layers: Keep the core agent package independent of CLI, Textual, Rich rendering, session file locations, and application-specific resource loading. Use Textual…

Trending

Steady talk.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 5 mentionsAug 2026: 6 mentionsSep 2026: 10 mentionsOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the huggingface/tau repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about huggingface/tau

The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 22

Talked about on GitHub, Hacker News and Bluesky (22 times).

On GitHub · 18

13 more on GitHub
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

19 rules. About 0 are common, 14 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use that issue as the primary reference for phase ordering and architectural intent.

    line 11
  2. Distinctive:

    Keep the core agent package independent of CLI, Textual, Rich rendering, session file locations, and application-specific resource loading.

    line 31
  3. Distinctive:

    Use Textual for the full interactive TUI, but only behind an adapter boundary.

    line 35
  4. Distinctive:

    Do not let Textual become a dependency of the reusable agent harness.

    line 43
  5. Distinctive:

    Keep changes aligned with the roadmap issue.

    line 48
  6. Distinctive:

    Add or update docs when introducing architectural concepts.

    line 49
  7. Distinctive:

    Add tests for behavior before expanding features.

    line 50
  8. Very specific:

    Run tests and Python commands through uv (for example, uv run pytest or uv run python ...) so they use the project environment.

    line 51
  9. Distinctive:

    Prefer simple, explicit abstractions over framework-heavy designs.

    line 52
  10. Distinctive:

    Keep commits atomic: one coherent feature, fix, docs update, refactor, or cleanup per commit.

    line 53
  11. Very specific:

    When creating or editing GitHub issues and pull requests from the CLI, write multiline Markdown bodies through a temporary file or heredoc …

    line 57
  12. Very specific:

    Do not pass escaped newlines like \n inside quoted --body strings.

    line 58
  13. Distinctive:

    Use Markdown headings, blank lines, bullets, and backticks for commands/paths so issue and PR descriptions are readable.

    line 59
  14. Very specific:

    After creating or editing a GitHub issue or PR body, verify the rendered source with gh issue view ...

    line 60
  15. Distinctive:

    Prefer typed dataclasses or schema models for core messages, events, tools, and sessions.

    line 65
  16. Distinctive:

    Keep async boundaries explicit.

    line 66
  17. Distinctive:

    Use fake providers and fake tools for deterministic agent-loop tests.

    line 67
  18. Distinctive:

    Avoid provider-specific assumptions in core agent code.

    line 68
  19. Very specific:

    When a phase adds or changes user-facing behavior, also update the published docs under website/content/ (the "Use Tau" guides and …

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Tau Agent Instructions

Tau is a Python implementation of Pi's minimalist coding-agent harness architecture. The goal is to develop it incrementally, with each phase clearly documented and tested.

Project Roadmap

The implementation roadmap is tracked in GitHub issue #1:

Use that issue as the primary reference for phase ordering and architectural intent.

Architecture Principles

Preserve Pi's core separation of concerns:

AgentHarness = reusable agent brain
AgentSession = coding-agent environment
TUI = one possible frontend

Tau should be organized around these layers:

tau_ai      provider/model streaming layer
tau_agent   portable agent harness, loop, tools, events, sessions
tau_coding  CLI app, resources, skills, extensions, commands, TUI integration

Keep the core agent package independent of CLI, Textual, Rich rendering, session file locations, and application-specific resource loading.

TUI Direction

Use Textual for the full interactive TUI, but only behind an adapter boundary. The agent harness should emit events; UI layers should consume those events.

Early phases should prioritize:

  1. print-mode CLI
  2. Rich renderers
  3. Textual interactive app

Do not let Textual become a dependency of the reusable agent harness.

Development Workflow

  • Work in small, documented phases.
  • Keep changes aligned with the roadmap issue.
  • Add or update docs when introducing architectural concepts.
  • Add tests for behavior before expanding features.
  • Run tests and Python commands through uv (for example, uv run pytest or uv run python ...) so they use the project environment.
  • Prefer simple, explicit abstractions over framework-heavy designs.
  • Keep commits atomic: one coherent feature, fix, docs update, refactor, or cleanup per commit.

GitHub Issue and PR Formatting

  • When creating or editing GitHub issues and pull requests from the CLI, write multiline Markdown bodies through a temporary file or heredoc and pass them with --body-file.
  • Do not pass escaped newlines like \n inside quoted --body strings; GitHub will render them literally instead of as line breaks.
  • Use Markdown headings, blank lines, bullets, and backticks for commands/paths so issue and PR descriptions are readable.
  • After creating or editing a GitHub issue or PR body, verify the rendered source with gh issue view ... --json body or gh pr view ... --json body when practical.

Python Guidelines

  • Target the Python version declared in pyproject.toml.
  • Prefer typed dataclasses or schema models for core messages, events, tools, and sessions.
  • Keep async boundaries explicit.
  • Use fake providers and fake tools for deterministic agent-loop tests.
  • Avoid provider-specific assumptions in core agent code.

Documentation Expectations

Each substantial phase should leave behind beginner-friendly notes under dev-notes/ (build journals, design docs, ADRs), explaining:

  • what was added
  • why it exists
  • how it maps to Pi's design
  • how to test or use it

When a phase adds or changes user-facing behavior, also update the published docs under website/content/ (the "Use Tau" guides and reference).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.