AOL 3 - /docs / RAG
The agent now knows your patterns and standards, not just where it is. The Blueprint.
The short version
At AOL 3, you give the agent deep context. It now knows not just what the project is, but how it is supposed to be built. This is where output quality makes a real jump. The agent has enough context to act with real intent - it stops guessing at your standards and starts following them.
Why it is called the Blueprint
A map tells you where things are. A blueprint tells you how they are supposed to look and work. Your /docs folder is the blueprint of your project. The agent reads these documents when it needs to make a decision - and makes the right one instead of a generic one.
What /docs gives the agent
How to write docs the agent can use
Agents read differently from humans. They perform best with clear, direct requirements - not explanations and background.
Keep each document focused on one topic. A 200-line focused document is more useful than a 2000-line general one. The agent pulls in only what it needs - small, precise documents make that pull more accurate.
Rule of thumb: if you explain it twice, document it once. DRY applies to context too.
How the agent reads /docs
There are four ways an agent accesses your docs, ranging from fully manual to fully autonomous. Most teams start at the top and move down as the project matures.
@docs/design.md- More than 50 docs and the agent keeps reading the wrong ones
- Documents are long and the agent misses the important parts
- Your knowledge is spread across multiple systems or repositories
- You tell the agent which file to read at the start of every session
What AOL 3 gives you
Output consistency improves significantly. The agent has the context to act with clear intent - it is no longer inventing standards, it is enforcing yours. Code reviews become faster because the agent already knows what you will reject. The human in the loop spends less time correcting style and more time reviewing logic.
MEMORY.md - the project diary
Your /docs folder holds the standards you define. A MEMORY.md file holds what the agent has learned. Where /docs is prescriptive - how things should be done - MEMORY.md is operational: what decisions were made, what patterns emerged, what was tried and rejected.
The agent writes and updates MEMORY.md itself. It reads it at the start of each session alongside CLAUDE.md. Together, they give the agent two layers of context: your intent as the builder, and the accumulated history of the project. This is what makes AOL 3 the layer where institutional knowledge starts to live in the project rather than in your head.
What AOL 3 does not give you
The agent still needs to be told to use the docs. It reads them when relevant, but it does not actively apply them on its own initiative. That comes at AOL 4 with Skills.
There is also a risk in the other direction: if your docs are messy, outdated, or unclear, the agent will confidently follow bad instructions. A wrong blueprint is worse than no blueprint. AOL 3 forces you to keep your documentation honest.