AGENTS.md
Definition
AGENTS.md documents project rules and work instructions for supporting coding agents directly in the repository.
AGENTS.md is a Markdown file for notes to coding agents. It can describe setup, test commands, style rules, and project-specific procedures. The open format supplements information for humans, e.g., in a README; its concrete consideration depends on the agent used.
Simply explained
You store a readable work instruction where the digital assistant works on the project.
Why it matters in practice
Project-related rules can reduce misunderstandings and help adapt changes to existing workflows and testing requirements.
Example from business
Example: A development team records in AGENTS.md how tests are started and which directories contain only reference material.
Limits and pitfalls
- A file does not enforce a technical access lock. Outdated commands and contradictory instructions can mislead agents and must be maintained.
Origin & history
The format transfers project-related conventions into a common, text-based starting point for coding agents of various tools.
Use in mid-sized companies
- Companies can version important development rules together with the code and keep them comprehensible for new employees and deployed agents.
Frequently asked questions
Does AGENTS.md replace a README?
No. The files have different focuses: README explains the project, AGENTS.md bundles especially work instructions for agents.
Sources
- AGENTS.md – A simple, open format for guiding coding agents. · AGENTS.md (o. J.): AGENTS.md – A simple, open format for guiding coding agents.
Editorially reviewed on: