Write one short file per decision with a title, context, decision, status and consequences, as Michael Nygard laid out in 2011. For an agent, add the rule in one line a check can confirm, mark old records superseded, and point to the folder from your AGENTS.md so the agent knows to look.
A decision record is a short file that says what a team decided, why, and what follows from it. An agent that never saw the meeting cannot guess the reason a team chose Postgres over another database, so it will happily suggest the other one. A record puts the reason where the agent reads it.
This page is for an engineer or tech lead who has decisions in chat threads and wants agents and new people to stop reopening them. The format comes from Michael Nygard's 2011 post "Documenting Architecture Decisions", read on December 6, 2026. What to add for agents is our own call, labelled as such.
Nygard's post gives each record five parts: Title, Context, Decision, Status and Consequences. Here is what he says about each.
On the title he says the records have "short noun phrases". Context "describes the forces at play, including technological, political, social, and project local", and he adds that "The language in this section is value-neutral. It is simply describing facts." The decision "is stated in full sentences, with active voice." He writes decisions as "We will …".
For status, "A decision may be "proposed" if the project stakeholders haven't agreed with it yet, or "accepted" once it is agreed." Consequences are where "All consequences should be listed here, not just the "positive" ones."
Nygard wrote for a future developer. An agent is a reader too, but it reads the record to decide what to type next, so three additions help. We have not tested them against every agent, so treat them as a suggestion.
First, put the rule in one line a person can check, near the top of the decision. "We will use Postgres for billing data" can be checked. "We will favour a relational approach" cannot. Anthropic's Claude Code memory page, read December 6, 2026, makes the same point for instruction files: it prefers "Run `npm test` before committing" to "Test your changes".
Second, name the folders or files the decision covers. An agent working in one directory only needs the records that touch it, and a record that says where it applies lets a person or an agent find the right one.
Third, list the options you turned down, each with the reason. An agent that is not told an option was weighed will treat it as new and propose it. The Almanac ADR template, linked below, has an options section for this.
A record nobody opens does nothing. Add one line to your AGENTS.md saying where decisions live and when to read them, for example that an agent should read the matching record before changing the code it covers. AGENTS.md is just markdown, as the AGENTS.md site says, so the line is plain text.
Keep the numbering, as Nygard asks, and never edit an accepted record to change its meaning. Write a new one, mark the old one superseded and link the two, so an agent that finds the old file also finds that it is no longer current.
We make Almanac, so weigh that. The records are ordinary markdown files in your repo, and nothing here needs a tool. Almanac holds a team's docs as plain markdown in a folder tree, so a docs/adr folder can be a folder of docs that people can search, comment on and share by email or link, including people who do not use GitHub.
Agents connect from Claude Code, Codex, Claude and ChatGPT. Almanac keeps history that names who changed a doc and why, and any version can be restored, which helps with the rule above: an accepted record should not change meaning, and history shows when one did. Almanac's own template for this is the ADR template linked below.
Nygard's post gives five parts: Title, Context, Decision, Status and Consequences, in one or two pages.
In the project's own repository. Nygard's example path is doc/arch/adr-NNN.md. Many teams use a docs/adr folder, which is a choice, not a rule from the post.
Nygard says to keep the old record and mark it as superseded, with a reference to its replacement. Do not rewrite it.
Do not assume so. Point to the folder from your AGENTS.md so the instruction is in front of the agent when it starts.