# AGENTS.md files on GitHub exploded from 20,000 to 1.4 million in just over a year

Original title: The Exponential Rise of Agent Instruction Files

> Hacker News story 50688056 · language: en · submitted 2026-11-29
> Web version: https://zeli.app/story/50688056
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 23 · by [reshabh](<https://news.ycombinator.com/user?id=reshabh>) · 💬 11
[original](<https://homes.cs.washington.edu/~reshabh/posts/exponential-rise-of-agent-instruction-files.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50688056>)

## Summary

As coding agents like Claude Code and Codex take on multi-hour tasks without step-by-step review, developers increasingly write their rules into plain Markdown instruction files. Reshabh K Sharma counts 1.4 million AGENTS.md files on GitHub, up roughly 70-fold since August 2025, with CLAUDE.md close behind. But nothing enforces these rules: agents drift from instructions, and wording changes compliance. His tool InstructGuard turns checkable rules into live checks.

## Key quote

> An instruction file is not binding. The agent reads the file as text alongside the task, the code, and the output of the tools it runs.

## HN discussion (11 comments)

### [tensegrist](<https://news.ycombinator.com/item?id=50714007>)

> \> The adoption of agent instruction files has grown exponentially. They have grown from about 20,000 to 1.4 million in just over a year.
>
> the chart after this has three points and the choice to put an exp-like curve in between the most-separated pair thereof is unfortunate
>
> incidentally it seems quite likely that most of the AGENTS.md files here are for new repos, since the post doesn't control for total repo count on github (or even the rate of growth) so even if we were creating the same number of repos per day now as in the before times — which i know isn't the case — we'd still expect to see a linear growth in the number of these files

### [Schlagbohrer](<https://news.ycombinator.com/item?id=50714013>)

> Can anyone recommend a good AGENTS.md for use with local AI? I have mine but I keep needing to prune it and I never had a tested, open source template to start with so I don't know what I might be missing. Would love to see some tried and tested open source examples.

### [fami-hn](<https://news.ycombinator.com/item?id=50697881>)

> The growth makes sense, but in our repos the files only stayed useful once we treated them like code. Habits that helped: keep the root file short and put rules next to the code they apply to (one per package or directory), so an agent working in the mobile app isn't reading backend conventions. Write rules as checks rather than vibes ("run the typecheck before finishing", not "write clean code"). Delete anything an agent has demonstrably stopped needing, because stale rules get followed just as faithfully as good ones. And every so often, give an agent a task and read what it actually did against the file; that's the only way to see which lines are ignored.

---

## Cite

- Page: https://zeli.app/story/50688056
- Date: 2026-11-29
- Source: homes.cs.washington.edu (https://homes.cs.washington.edu/~reshabh/posts/exponential-rise-of-agent-instruction-files.html)
- Hacker News: https://news.ycombinator.com/item?id=50688056

## Other languages

- zh: https://zeli.app/zh/story/50688056 · markdown: https://zeli.app/zh/story/50688056.md
- ja: https://zeli.app/ja/story/50688056 · markdown: https://zeli.app/ja/story/50688056.md
- ko: https://zeli.app/ko/story/50688056 · markdown: https://zeli.app/ko/story/50688056.md
- de: https://zeli.app/de/story/50688056 · markdown: https://zeli.app/de/story/50688056.md
- es: https://zeli.app/es/story/50688056 · markdown: https://zeli.app/es/story/50688056.md
- ru: https://zeli.app/ru/story/50688056 · markdown: https://zeli.app/ru/story/50688056.md
