We don't need an army of agents. We need context.
In this article
- The idea behind ICM
- How to think about implementation
- How we use it in CERC's data platform
- References
1. The idea behind ICM
Interpretable Context Methodology (ICM) is an idea by Jake Van Clief. He presents it in “ICM Explained (Folders Over Agents) in Five Minutes” and in a paper co-authored with David McDermott.
The proposal starts with a simple question: do we need a different agent for every job? ICM uses the repository’s folders and files as a guide. A global map shows where to go; each folder points to an area and its scope. Files record the purpose, rules, and limits of that place. The repository guides the agent without relying on a giant prompt for every session.
Agents and tools can be general-purpose: research, edit files, run tests, or review changes. We do not create a skill for every rule or tip. Those belong in the contexts and documents the team already uses. A skill makes sense only when a recurring type of work needs its own steps.
In CERC’s data platform, the same agent can work across areas because it finds instructions beside the folders. Tools for reading, editing, searching, and validating can serve many tasks; local context bounds the work without requiring a different agent for every area.
“Validate the input data” is a tip that can be added to existing guidance; it does not need a skill. A skill makes sense when it organizes a complete, recurring procedure with its own steps and checks. It teaches how to carry out a task, rather than simply collecting tips.
This model fits our monorepo, where several teams work in folders they own and evolve what belongs to their areas, following local context and boundaries. The root AGENTS.md points the way, but work does not require returning to the root or concentrating every rule in one .agents.md file: the repository follows its folder architecture.
In relevant folders, a CONTEXT.md explains local responsibilities, what can change, and what is out of scope. The agent consults that context when working in the area. Guidance stays versioned beside the files it governs and can be reviewed with them.
In “Wrong Layer”, Jake Van Clief cautions that more agent layers will not fix a confusing organization: the challenge is finding the right context. In ICM, the global map points to each area, and local contexts guide work within their boundaries.
We do not need to invent an agent machine. Organize the work into folders and explain each part with clear files.
ICM does not say that agents, skills, or frameworks are never useful. The idea is not to add them without a need. For a simple, sequential, reviewable process, folders and files may be enough.
2. How to think about implementation
Do not start by creating agents. First, decide which questions the repository should answer:
- Where am I, and which rules apply across the repository?
- Which area owns this work?
- What does this folder own, and where are its boundaries?
- Which references help with this task?
- Which files should change, and how do I verify the result?
The paper’s layers organize these answers, from general context to concrete work. CERC’s data platform also records final checks as Layer 5. This final layer is a local adaptation, not part of the original model.
- Layer 0 — identity:
AGENTS.mdintroduces the repository and sets global rules. It routes work without holding every local rule. - Layer 1 — area: each area
CONTEXT.mdroutes work to its responsible folder. It points to subfolders, useful references, and ownership. - Layer 2 — local contract: a sub-area context defines its responsibilities. It describes inputs, process, outputs, and next paths.
- Layer 3 — references: stable documents explain patterns needed across tasks. Each area declares which references apply.
- Layer 4 — task files: these are the specific files to read or change. Load only what the current request needs.
- Layer 5 — invariants: in CERC’s data platform, critical areas record conditions that must remain true. The team checks them before finishing.
This structure does not mean opening every context file for every request. The agent follows the task path and stops when it has enough guidance. A documentation task, for example, does not need rules from unrelated areas.
Local context without copied rules
A local context should explain what belongs to its folder and what does not. It should also say what to read, which process to follow, and what to deliver. In the platform, this contract uses Inputs, Process, and Outputs.
This approach avoids copying instructions into every folder. A local rule stays beside the work it governs. If it applies to several folders in one area, it moves to that area’s CONTEXT.md. Only repository-wide routing governance belongs in the root AGENTS.md.
Contexts also point to stable references instead of copying entire documents. Each convention keeps one main source, and areas state when it applies. This helps people and agents find the right rule and reduces conflicting versions.
In the platform’s model, context gets lighter closer to the files. Local contexts should not repeat parent guidance or become another reference document. When a folder needs more detail, its context can point to stable documentation.
A simplified example: global map and local context
Here is a generic example of how rules can be distributed: guidance that applies to one folder stays in its local context. If it applies across an area, it belongs in that area’s context. Only navigation rules spanning areas belong in the global map. An area context can also describe its responsibilities, subfolders, and useful references. Names and levels vary with each repository’s architecture.
3. How we use it in CERC’s data platform
Our monorepo is shared by several teams, which own folders and can evolve them within local boundaries. The root AGENTS.md helps find the right area. It does not make the root the place where every task must begin or end.
This organization follows the folder architecture. Each area keeps guidance close to the files it governs. The root has an AGENTS.md for routing, not every team’s contracts and rules.
One request, from context to verification
Imagine two requests: update a documentation page or change a software component. The agent does not need to read every repository rule.
- The global map helps locate the responsible area.
- The area context describes its scope and points to the relevant subfolder.
- The local context explains responsibilities, references, and boundaries for that part.
- The agent changes the needed files and updates tests when behavior changes.
- Before finishing, it checks invariants documented in the files and runs relevant tests. Invariants complement, but do not replace, automated tests.
Shared references live in documentation and are consulted when a task needs them. Local rules stay near the files they govern; rules that apply across an area can move to its area context.
This lets the same agent and general-purpose tools support different tasks, while the repository provides task-specific guidance. The agent follows the map, reads the context it needs, and uses the repository’s paths.
Shift benefits from this foundation too. Shift Incantations only work well because repository context already exists. They help assess, prepare, and route each issue. ICM explains how to work in an area; Incantations connect that guidance to the request.
That is the ICM direction we adopted: less context scattered across conversations and configurations; more guidance that is readable, close to the work, and easy to review.
References
- Jake Van Clief and David McDermott, “Interpretable Context Methodology: Folder Structure as Agentic Architecture”.
- Jake Van Clief, “ICM Explained (Folders Over Agents) in Five Minutes”.
- Jake Van Clief, “Stop Using AI Agents” and “Wrong Layer”.
- ICM reference repository.