Skip to content

Explore this section

  • How vendors, researchers, and practitioners define AGENTS.md and its per-tool relatives, the dimensions on which their definitions differ, and candidate definitions built from each view, as input for rewriting the design note's definition.

  • The root AGENTS.md is loaded in every session, so every line costs context. This note derives its design rules: keep the file a short map of project defaults, enforce what matters, and justify each line by a failure or a decision.

  • Two root AGENTS.md files from real projects with the same layout: keys, a small CLI run through a Taskfile, and sem-rag, a document question-answering service run through a Makefile, with notes on how each follows the design rules.

  • Rules 7 to 13 for the root AGENTS.md: put each fix where it works best, prefer enforcement over prose, add lines only for observed failures or project decisions, record each change, and recheck the file when the setup changes.