GitHub now has 1.4 million AGENTS.md files — and AI agents are rewriting their own rules
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%.