The Exponential Rise of Agent Instruction Files
Public AGENTS.md files expanded seventyfold to 1.4 million across GitHub as autonomous coding agents took over software workflows without human supervision.
By Dillip Chowdary • Nov 29, 2026 • Source: homes.cs.washington.edu

At a glance
- Format
- AGENTS.md
- Total files
- 1.4 million on GitHub (November 27, 2026)
- Root repositories
- 719,000 unique public codebases
- Top repositories
- 52 of top 100 starred projects
- Enforcement tool
- InstructGuard (accepted at ICSE 2027)
- Availability
- Open-source on GitHub at reSHARMA/InstructGuard
In this post
Software development has shifted from interactive pair programming toward unattended command-line workflows governed by plain text configuration. According to homes.cs.washington.edu's report by researcher Reshabh K Sharma, AGENTS.md instruction files on GitHub increased seventyfold between August 2025 and late November 2026. This expansion documents how engineering teams establish boundaries when direct oversight of coding agents disappears.
This report details the rapid adoption of agent instruction files across public repositories, examining codebase metrics, automated commit patterns, and compliance failures. It offers software engineers and architects empirical data on how top repositories coordinate autonomous tools. Readers will learn how modern projects manage background agents and explore guardrails that enforce rules mechanically.
01Autonomous coding agents and markdown guidance
Developer interaction with language models started with inline completion tools like GitHub Copilot in March 2023, requiring engineers to monitor every suggestion. Workflows later incorporated chat assistants like VS Code Copilot and Cursor, which drafted larger code blocks for manual inspection. By March 2026, autonomous tools like Claude Code and Codex began editing files and executing tests without asking for approval at each step.
The duration of tasks that software agents finish independently has doubled roughly every seven months since 2019 when measured against human engineering time. Developers now launch dynamic workflows running over two hundred concurrent agents that operate uninterrupted for more than a week. Because developers no longer watch every action, projects write operational rules into repository markdown files that agents parse before starting.
The AGENTS.md format has emerged as the universal agreement across modern command-line coding tools. Repositories place their development rules in this file so agents recognize testing procedures, architectural patterns, and local constraints. Without explicit instructions, autonomous agents frequently struggle to adhere to existing repository standards when working on projects they did not develop from scratch.
02Seventyfold file growth across public repositories
Between August 2025 and November 2026, the volume of AGENTS.md files on GitHub expanded roughly seventyfold, increasing by about a third each month. Code searches filtering out forks and archived repositories showed the population rising from over 20,000 files in August 2025 to over 60,000 by January 2026. On November 27, 2026, the query counted 1.4 million AGENTS.md files across public codebases.
Exactly 719,000 of the 1.4 million files sit at repository roots, while the other half reside in subdirectories of monolithic codebases. Large multi-package repositories frequently maintain separate guidance files, such as OpenAI's primary codebase once containing 88 distinct copies. Over the same autumn period, CLAUDE.md files expanded 57% to reach 1.1 million files, slightly outpacing the growth rate of AGENTS.md.
| Instruction format | November 2026 files | Autumn growth rate | Root repository share |
|---|---|---|---|
| AGENTS.md | 1.4 million | 46% increase | 719,000 repositories |
| CLAUDE.md | 1.1 million | 57% increase | Comparable repository total |
03Instruction formats in top starred repositories
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
Across the one hundred most-starred repositories on GitHub, codebases maintaining instruction files increased from 47 in September 2026 to 52 by late November. During this window, established projects including torvalds/linux adopted an AGENTS.md file, while anthropics/claude-code deployed a CLAUDE.md file. Four projects that newly entered the top one hundred ranking already held an instruction file upon arrival.
Historical git records identify microsoft/vscode as the earliest top repository adopter, having added a Copilot instruction file in November 2024 before AGENTS.md existed. The number of top one hundred repositories with instruction files reached 21 by late 2025 before adding 31 more during 2026. However, adoption shifted when openai/codex removed its root AGENTS.md and local agent guidance at the end of September 2026.
Among the 52 starred repositories using automated guidance, AGENTS.md leads with 46 projects, followed by CLAUDE.md across 23 repositories and Copilot files in 11 codebases. The counts exceed 52 because several repositories deploy multiple formats simultaneously to support different tools. Project maintainers provide parallel configurations to ensure both general agents and specialized assistants locate compatible rules.
04Automated commits and bot account contributions
Autonomous agents increasingly author direct changes to repository instruction files within active development histories. In 33 of the 52 starred projects with guidance documentation, at least one commit was written directly by an artificial intelligence agent. Across all 52 projects, 393 of 2,573 total instruction file commits (15.3%) originated from automated systems.
Excluding the garrytan/gstack repository, which generated 101 automated edits, the share of machine-authored commits rose from 6% in late 2025 to 22% by late November 2026. Claude produced 196 of the 292 non-gstack automated commits, aided by Claude Code appending co-author tags by default. Copilot generated 71 commits, while Cursor, Codex, and unnamed tools contributed 25 commits.
Note: Public repository search metrics capture only commits that explicitly declare an automated agent bot account or include co-author metadata tags. Because several coding assistants omit default attribution signatures during git operations, these commit tallies represent a conservative lower bound for machine-authored changes.
05Runtime guardrails for unenforced policy text
Instruction files provide advisory guidance rather than binding constraints because agents read markdown files as plain text alongside prompts and tool outputs. Language models assign arbitrary internal weight to these instructions, meaning agents regularly deviate from defined policies. Studies confirm that rule compliance deteriorates as an agent generates more functions within an extended session.
To enforce repository policies during execution, researchers created InstructGuard, a tool formerly named ContextCov and accepted at ICSE 2027. InstructGuard translates mechanically checkable markdown rules into three classes of active runtime checks that intercept policy violations during background operations. The system leaves subjective guidelines as context while actively verifying that code edits satisfy concrete repository constraints.
Note: Source code for InstructGuard is hosted publicly on GitHub in the reSHARMA repository to assist developers running unmonitored background tasks. The open-source tool allows engineers to launch asynchronous multi-agent workloads safely without needing to manually verify every file modification or terminal execution.
Frequently asked questions
What is an AGENTS.md file and how do coding agents use it?
An AGENTS.md file is a repository markdown document that defines rules and boundaries for autonomous coding agents. Tools like Claude Code and Codex read the file before starting execution to ensure code modifications follow project conventions without requiring constant developer oversight.
How rapidly has AGENTS.md adoption grown across GitHub?
The volume of AGENTS.md files increased seventyfold from roughly 20,000 in August 2025 to 1.4 million on November 27, 2026. Exactly 719,000 files reside at repository roots, while the remainder sit in subdirectories across large multi-package projects.
Do autonomous coding agents reliably follow instructions in AGENTS.md files?
Research demonstrates that agents frequently deviate from written guidelines because models process rule files as unweighted text alongside task instructions and tool outputs. Compliance rates also drop significantly as an agent generates more code within a single session.
What is InstructGuard and how does it enforce repository rules?
InstructGuard, formerly ContextCov and accepted at ICSE 2027, is an open-source tool by Reshabh K Sharma that converts verifiable rules into three types of runtime checks. It monitors agent actions in real time, catching mechanical violations while leaving ambiguous instructions as advisory guidance.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement