New Research Reassesses the Value of Agents.md Files for AI Coding
infoq.com
infoq.com
What I think is short lived is this insistence in separating LLM instructions from general documentation for both humans and AI. LLMs can read human docs, and concerns about context window size will probably disappear
But maybe future docs will be LLM-first, but people won't read them directly. They will ask a LLM questions about it
The good: It shows on one kind of benchmark, some flavors of agentically-generated docs don't help on that task. So naively generating these, for one kind of task, doesn't work. Thank you, useful to know!
The bad: Some people assume this means in general these don't work, or automation can't generate useful ones.
The truth: Instruction files help measurably, and just a bit of engineering enables you to guarantee high scores for the typical cases. As soon as you have an objective function, you can flip it into an eval, and set an AI coder to editing these files until they work.
Ex: We recently released https://github.com/graphistry/graphistry-skills for more easily using graphistry via AI coding, and by having our authoring AI loop a bit with our evals, we jumped the scores from 30-50% success rate to 90%+. As we encounter more scenarios (and mine them from our chats etc), it's pretty straight forward to flip them into evals and ask Claude/Codex to loop until those work well too.
We do these kind of eval-driven AI coding loops all the time , and IMO how to engineer these should be the message, not that they don't work on average. Deeper example near the middle/end of the talk here: https://media.ccc.de/v/39c3-breaking-bots-cheating-at-blue-t...
This kind of benchmark completely misses that nuance.
The sdk and examples appear to be very atypical for a lot of python I've done (and atypical for my code base). Giving it a context/how-to file I put together made it significantly better (however I still gave up and did it more manually).
It just prevents hallucinations and coerces the AI to use existing files and APIs instead of inventing them. It also has gold-standard tests and APIs as examples.
Before the agents file, it was just chaos of hallucinations and having to correct it all the time with the same things.
Agents dutifully follow AGENTS.md instructions — they run more tests, grep more files, do more checks — but that thoroughness costs 19% more inference without meaningfully improving outcomes. That's not an argument against context files, it's evidence we're writing them wrong.
We're authoring them like READMEs for humans ("here's the architecture, here's how we structure things") when agents actually need narrow, non-inferable directives — the custom build flag, the weird test harness, the constraint they'd waste 30 tool calls discovering.
The HN commenter who noted the real value is "forcing you to articulate things previously just in your head" is actually pointing at the same conclusion from the other direction: the thinking matters, but the artifact needs a different shape than what we've converged on.
AGENTS.md are extremely helpful if done well.
Consider how many papers there are showing both productivity increases and decreases. The jury is out, same here. Anecdotally and intuitively, AGENTS.md makes a positive difference. One such example is providing the build / test commands. If you don't do this, how should the agent determine how to validate its changes?