Skip to content
Free since 2015. Built for the engineers who keep things running.

cat /articles/github-now-has-14-million-agentsmd-files-and-ai-agents-are-rewriting-their-own-rules.md

CI/CD

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

Coding agents are increasingly editing the instruction files that steer their behavior, and a researcher's findings suggest those edits and agent compliance with them deserve closer review. The piece covers the growth of these files and a tool for turning them into automated checks.

The New Stack01 Dec 2026 · 5 min read · summary

article --summary

The summary

This article reports on new research into AGENTS.md and CLAUDE.md files, the repository instruction documents that guide AI coding agents. The author, a University of Washington PhD student, found that these files have grown rapidly on GitHub, and that AI tools are now making a noticeable share of the commits that change them. The reader will learn why small wording changes in these rules can be easy to miss during code review. The piece also covers evidence that agents do not reliably follow instructions. Studies cited show that conditional wording is followed less often than direct wording, and that compliance drops as generated code grows. A framework called InstructGuard is described, which converts written instructions into executable checks, along with its reported gains over prompt-only guidance and a security caution about running LLM-generated code. The article closes by noting that there is still no good way to test how effective these files are, since each one is written for a specific project. Readers interested in agent governance, code review practices, or deterministic enforcement of AI behavior will find the main points useful.

Editorial note: This is a summary of an article first published by The New Stack. The full piece is on their site.

Reading now

Topic
CI/CD
Source
The New Stack
Published
01 Dec 2026
Format
Curated summary

Have a take on this?

Write it up and submit it. It goes on the list once an editor approves it.

Submit an article

articles --latest

Latest articles

New from the blogs we follow and the community.

All articles

newsletter --weekly

DevOps Weekly, minus the noise.

The best reads, new jobs and upcoming events, in one email a week.