AI NewsProductivityReported

A UW PhD found 1.4 million AGENTS.md files on GitHub, 70 times a year ago

A University of Washington PhD counted every AGENTS.md on GitHub on 27 November. There were 1.4 million. In August 2025 there were about 20,000.

AI News

Editorial2 min read

LinkedInX

Why it mattersThe instruction file is now a core part of how a coding agent is shaped. Agents are writing into those files too. A pull request to the instruction file needs the same review as a code change.

Reshabh K Sharma, a PhD student at the University of Washington's Paul G. Allen School, posted a measurement of AGENTS.md files on GitHub on 29 November. He found 1.4 million of them on 27 November. That is about 70 times the 20,000 that were there in August 2025. The growth rate has held at about a third per month for over a year.

The numbers

Sharma says 719,000 of the files sit at the root of a repository. The others live in subfolders. Only 51.4 percent of the files are at root. So a coding agent that reads AGENTS.md from the root of a repository misses almost half of them.

The CLAUDE.md file is the other common format. Sharma says it grew from 700,000 in September 2026 to 1.1 million in November 2026. That is a 57 percent rise over two months. AGENTS.md grew 46 percent in the same period. The two formats are now close to parity by repository count.

Among the 100 most-starred repositories on GitHub, 52 now have at least one instruction file. That is up from 47 two months ago. Of the top-100 files, AGENTS.md is in 46 projects, CLAUDE.md in 23, and the GitHub Copilot format in 11.

How much of this is being written by agents

This is the sharp part. Sharma counted the commits that touched an instruction file across the top-100 projects. He found 393 of 2,573 commits were written by an AI agent. The signal was an agent account name or a Co-Authored-By line. That is 15.3 percent overall.

If one very active project is dropped, the share rises faster. Agent-written commits were 6 percent in the fourth quarter of 2025. They were 22 percent in October and November 2026. Claude wrote 196 of the 292 commits Sharma could attribute. Copilot wrote 71.

So agents are rewriting the rules they will later read.

How he did it

The method is public. Sharma used GitHub's code search, excluded forks and archived repositories, and counted files by exact path. He used root-only queries for the repository count to avoid double counting. He cross-checked the earlier dates against Internet Archive snapshots from 2025.

The paper notes one thing more than once. The instruction file is read as text alongside the task. It is not enforced. Compliance varies with how the rule is written and tends to drop over longer agent sessions. The author's own research tool, InstructGuard, turns a rule into a check that runs during execution.

What this means today

A team that leans on an AGENTS.md or CLAUDE.md to keep an agent honest should know two things. First, nothing in the tool reads every file in the tree. A rule in apps/web/AGENTS.md may not reach an agent that opened the repository root. Second, an agent-written rewrite of the file is now common. A pull request that only touches the instruction file deserves the same care as a code change. The reason is simple. The file changes how the next agent behaves.

Source

Reported byReshabh K Sharma

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project