8 min read
AGENTS.md is becoming the README for machines
By BrandMythos Team
From README to runbook
Engineers already treat README files as the source of truth for humans: how to install, how to run, what this project does. AGENTS.md extends that idea to automated contributors: scope, style, and safety rails in plain text next to the code.
The pattern is not new. Cursor introduced .cursorrules. Anthropic introduced CLAUDE.md. GitHub Copilot respects instruction files. What is new is the convergence: multiple vendors, one concept, and a growing consensus that AI governance belongs in version control.
Why a standard matters
When every tool vendor invents its own filename, governance fragments. Your team writes a CLAUDE.md for Claude, a .cursorrules for Cursor, a system prompt for ChatGPT, and a custom instruction for Copilot. Four files, four formats, four places to update when the brand evolves.
A predictable, diffable file in the repo means:
- Legal can review it. Brand and compliance changes show up in pull requests, not in Slack threads that disappear.
- Engineers can enforce it. CI/CD can lint against the governance file. Violations are caught before merge, not after deployment.
- New hires understand it. Day one, they see what agents are allowed to do. No tribal knowledge required.
- Auditors can trace it. Git history shows who changed what, when, and why. Try doing that with a PDF.
The Linux Foundation recognized this and proposed AGENTS.md as a standard. The adoption curve is steep. Over 60,000 repos now include some variant of agent instruction files.
What belongs in an AGENTS.md
A useful governance file answers four questions:
1. What can agents do?
## Scope
Agents may:
- Review pull requests and suggest refactors
- Write tests and documentation
- Generate copy following brand guidelines
- Flag security issues and type errors
Agents must NOT:
- Deploy to production without human approval
- Modify environment variables or secrets
- Remove tests or disable type checking
- Commit directly to main or production branches
- Make claims about compliance (HIPAA, SOC 2) without legal review
2. What voice rules apply?
This is where brand governance meets engineering governance. Product voice is not separate from code. It shows up in error messages, help text, tooltips, CLI output, and API responses.
## Brand voice constraints
All generated text must follow brand guidelines:
- Default: clear, confident, evidence-led
- Support: empathetic, concise, action-oriented
- Marketing: bold claims require data citation
- Code comments: technical, precise, never joking
- Error messages: apologize once, explain clearly, suggest next step
3. What visual rules apply?
If agents generate UI components, they need to know your design system.
## Visual constraints
- Primary color (#9C4221): CTAs and hero elements only
- Never hardcode colors. Use CSS custom properties
- Typography: Instrument Serif for headings, DM Sans for body
- Minimum touch target: 48px
4. How are changes governed?
## Changelog
Date | Decision | Owner
-----------|-----------------------------------|----------
2026-03-28 | Brand voice required for agents | @marketing
2026-03-22 | No auto-deploy, manual review | @engineering
2026-03-15 | Error messages follow brand tone | @product
Where brand fits in the stack
The instinct is to treat brand as a marketing concern: separate from code, separate from engineering, living in a Figma file or a PDF. But in an AI-native workflow, brand is engineering.
When an agent writes an error message, it makes a brand decision. When it generates a help article, it makes a voice decision. When it suggests a color for a component, it makes a design decision. These decisions happen at code time, not at review time.
If the rules are not in the repo, they are not in the workflow. And if they are not in the workflow, they are not enforced.
This is why CLAUDE.md and .cursorrules complement each other. CLAUDE.md provides the universal brand rules, .cursorrules provides the code-level conventions, and AGENTS.md provides the governance layer over both.
Practical rollout: from zero to governed
Phase 1: One repo, one file
Pick your most active repo. Write a minimal AGENTS.md. Include:
- 5 things agents can do
- 5 things agents must not do
- Your default voice tone in one sentence
Commit it. Review it in standup. That is the workflow.
Phase 2: Add brand rules
Expand the file with voice contexts, color constraints, and messaging rules. Pull these from your existing brand guide, or let BrandMythos extract them automatically.
Phase 3: Org-wide template
Create an AGENTS.md template that every repo inherits. Each team can extend it with project-specific rules. Changes to the template go through the same PR process as code.
Phase 4: Automated enforcement
Add a CI check that validates agent outputs against AGENTS.md rules. Flag violations in PRs. Track compliance over time. This is where brand governance becomes measurable.
The shift is already happening
Companies that have structured, versioned, machine-readable brand rules in their repos are scaling AI adoption faster than those that do not. They ship more AI-generated content with fewer review cycles. They onboard new team members in hours instead of weeks. They can trace every brand decision to a commit hash.
The teams still managing brand via PDF and Slack are falling behind. Not because their brand is worse, but because their brand is invisible to the tools doing the work.
AGENTS.md is not a nice-to-have. It is the governance layer that makes AI-assisted work trustworthy.
Ready to generate yours? Try BrandMythos with your brand. We extract your rules and output an AGENTS.md alongside CLAUDE.md, .cursorrules, and every other format your stack needs.