AGENTS.md: Fewer Iterations with AI Development Agents



Published on

AGENTS.md provides AI development agents with instructions specific to your web project: where to intervene, which conventions to follow, which tests to run, and which tasks to leave to a human. This Markdown file (a simple-to-format text document) can help reduce rework if the tool can read it and the rules are verifiable. It does not block any operations on its own and does not replace the service provider’s validation.


AGENTS.md: Fewer Iterations with AI Development Agents

What is AGENTS.md used for by AI development agents?

AGENTS.md is an instruction file that provides programming assistants with the specific context of the project they are working on. As of November 2026, the project documentation includes, among other things, the code architecture, development conventions, and test commands. The file is used to convey recurring rules without having to retype them for each request.

Let’s take a hypothetical example: you request a change to the quote form on your website. The ticket (the form describing the request) specifies the fields to be added. The instructions document reiterates a rule that also applies to subsequent requests: any changes to the form must not alter the price calculation, and the validation must cover the sending of the quote.

Visit The Linux Foundation announced on December 9, 2025 the creation of the Agentic AI Foundation, with AGENTS.md as its founding project, led by OpenAI. This shared framework makes the file useful when multiple contributors take turns working on the same code. It does not guarantee that their agents will interpret the instructions in the same way.

What instructions should you include in AGENTS.md for your service provider?

For a web project outsourced to a service provider, AGENTS.md must distinguish between what the assistant can modify, what it must verify, and what requires human intervention. Good instructions describe an observable outcome: asking someone to test the checkout process is more useful than asking them to “pay attention to the payment.”

In the projects we work on, a good starting point is often an avoidable rework: a change that is technically correct but incompatible with a business rule that no one had written down. In our opinion, it’s better to document this specific case than to copy an entire development guide.

To prepare the file with your service provider, start with the rules that will actually change the way they work:

  • Architecture: Specify the location of the pages, business rules, and connections to external services. Indicate who to contact for a decision if a change deviates from the planned scope.
  • Conventions: Explain which existing elements to reuse—for example, the multi-page form—rather than creating a new one.
  • Tests: Make a note of the command to be executed and the path to be checked. If the test cannot be performed, request that the missing verification be noted in the delivery note.
  • Prohibited activities: Identify those that are reserved for human users, such as publishing content online or modifying data on the live site. Set up access rights that prevent these operations.
Read also  Which agency should you choose for a website redesign with SEO?

Avoid copying rules that change frequently. In September 2026, OpenAI recommended that Remove instructions that are no longer needed. Lors for a shipment: ask who will update the file if the test order changes—without a designated person in charge, this small task can easily fall through the cracks between two teams.

Do Codex and GitHub Copilot read the same file?

In November 2026, Codex and GitHub Copilot will support AGENTS.md, but how each product identifies the file and applies its guidelines depends on the environment being used. Before sharing a file with multiple service providers, verify that it is supported in each actual configuration, rather than relying solely on the tool’s name.

Support for AGENTS.md in November 2026
Assistant Documented Care Verification to Request
Codex Yes, according to the OpenAI's Codex Guide. Confirm that the instructions apply to the files covered by the selected workflow.
GitHub Copilot Yes, according to the GitHub documentation on custom instructions. Verify that the Copilot feature used by the team supports this file.

The acceptance test can be simple. For a low-stakes change, ask the assistant to prepare a proposal and verify that the result follows an observable rule—for example, the reuse of an existing component. Then ask the service provider to demonstrate the expected test result: simply having the assistant repeat the instructions does not prove that they followed them.

Can AGENTS.md prevent an AI agent from making a mistake?

AGENTS.md describes expected or prohibited operations, but does not control a development agent’s permissions. In October 2026, the Cloud Security Alliance documented the risk of malicious instructions being introduced into an instruction file. Human review of changes and independent access restrictions remain necessary, even when the rules are well-written.

The difference becomes apparent at the time of deployment. If the file says “Do not publish to production,” but the assistant has publishing permissions for the site used by your customers, that statement won’t prevent anything from happening. Reserve this permission for a specific person or a separate approval process. The same logic applies to the files that an AI agent can access on a workstation.

Also treat an edit to AGENTS.md as a change that warrants its own review, even if it’s tucked away in the middle of a routine correction. The Note from the Cloud Security Alliance porte on the instruction files; the extensions installed in development tools are another area that requires attention. In both cases, knowing who approved the change is more important than a general directive urging caution.

Read also  Aci Technology: innovative solutions for your IT assetsormatique

How can I tell if AGENTS.md saves time?

To evaluate AGENTS.md on a web project, compare similar tasks and note any instructions the contractor has to repeat, any tests that were overlooked, and any corrections requested during proofreading. The actual benefit is measured by the reduction in rework on established rules, not by the number of lines of code written by the assistant.

In March 2026, OpenAI described the combined use of AGENTS.md, reusable procedures, and GitHub Actions, an automation tool. The editor reports 457 suggested changes integrated between December 2025 and February 2026, compared to 316 over the previous three months. This feedback does not allow you to isolate the effect of the file or to infer a productivity gain for your project.

If you switch service providers or bring on a new assistant, a joint scoping process can begin with a single representative task. This is often the best time to decide which rules to include in the file and which validations to keep in dehors.

FAQ About AGENTS.md

What is the difference between AGENTS.md and README.md?

README.md introduces the project to new users, while AGENTS.md provides guidelines for programming assistants. Both documents can coexist without repeating the same explanations.

Can you include passwords in AGENTS.md?

AGENTS.md must not contain any passwords or access keys. The file may specify who to contact for authentication, without containing the secret itself.

Is an AGENTS.md file necessary for minor website maintenance?

AGENTS.md is particularly useful when tasks are repeated or when multiple people use assistants on the same project. For a one-time task, a specific request and a delivery confirmation may be sufficient.

Find more articles in the following sections

English