Skip to content

GitHub now has 1.4 million AGENTS.md files — and AI agents are rewriting their own rules

7.9 relevance
Score Breakdown
technical depth
7
novelty
9
actionability
7
community
8
strategic
8
personal
10

Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.

AGENTS.md files and AI agents rewriting their own rules is a novel trend directly relevant to agent orchestration and SDLC.

AI/ML thenewstack.io
GitHub now has 1.4 million AGENTS.md files — and AI agents are rewriting their own rules
Summary

GitHub now hosts 1.4 million AGENTS.md files, a 70-fold increase since August 2025, with 52 of the top 100 starred repos containing agent instruction files. Research reveals that AI agents are increasingly modifying these instructions themselves—33 repos have AI-attributed commits altering rules, and the percentage of such commits rose from 6% to 22% in late 2026. This self-modification risk is compounded by findings that agents follow conditional instructions less reliably than prescriptive ones, and each additional function generated reduces compliance odds by 5.6%.

Author

Amanda Caswell

More from Amanda Caswell →