# convention · draft v0.1
README.md is for humans. AGENT-README.md is for the machines that now read your code.
An AGENT-README.md is a single Markdown file, placed at the root of a repository (or served at a site's /agent-readme.md), that gives an AI agent the context it needs to act safely and correctly in your project.
Think of it as robots.txt for autonomous coding agents - but human-readable, richer, and written in the format agents already understand best: Markdown.
If a capable agent read only this one file, would it know how to build, test, and change your project without breaking things? That is the bar an AGENT-README.md aims to clear.
Coding agents already read your files, run your commands, and open pull requests. Today that guidance is scattered across a dozen bespoke files - AGENTS.md, CLAUDE.md, .cursorrules, llms.txt, Copilot instructions - each tool with its own name and shape.
AGENT-README.md proposes one obvious, tool-neutral name and a light structure that any agent (or human) can follow.
What the project is and what "done" looks like.
Exact build, test, lint, and run commands - copy-paste ready.
Do-not-touch zones, secrets handling, destructive-action rules.
Code style, structure, and patterns to follow.
Architecture notes and links to deeper docs.
Active refactors and known-failing areas, so agents skip work in progress.
The non-obvious calls a newcomer would trip over.
Who owns what, and where to ask.
# AGENT-README
## Purpose
A CLI that converts CSV to Parquet. "Done" = tests pass and `--help` is accurate.
## Setup & commands
- Install: `npm ci`
- Build: `npm run build`
- Test: `npm test`
- Lint: `npm run lint` # must pass before any commit
## Guardrails
- Never edit files under `vendor/` or `dist/`.
- Never commit anything in `.env*`.
- Ask before deleting files or rewriting git history.
## Conventions
- TypeScript, strict mode. No `any`.
- Prettier is the source of truth for formatting.
## Contacts
- Owner: @maintainer · Issues: /issues
This very site ships one. Read it at /agent-readme.md - served straight from the domain root, dogfooding the idea.
| File | Audience | Scope |
|---|---|---|
README.md | Humans | Onboarding, overview |
AGENTS.md / CLAUDE.md | Specific tools | Tool-specific instructions |
llms.txt | LLMs (web) | Content discovery for sites |
AGENT-README.md | Any agent | How to work in this project |
The goal is not to replace these - it is to offer one obvious, portable default, and to point at the others where they fit. For a fuller treatment, see AGENTS.md vs. AGENT-README.md.
This is an early draft. The spec, the name, the structure - all open for discussion. Read the draft specification and the roadmap, try a template, then:
Does your repository ship an AGENT-README.md? Add the badge to your README.md:
[](./AGENT-README.md)