---
title: "Aider Repo-Map (PageRank over file graph) · agent retrieval pattern · Agent Fieldbook"
url: https://agentfieldbook.org/memory/retrieval/aider-repomap/
description: "PageRank over the file-dependency graph, ranked and truncated to fit the token budget. No vector store, no embeddings."
section: "Memory · Retrieval"
source: Agent Fieldbook — generated from the published page
---

# Aider Repo-Map (PageRank over file graph)

PageRank over the file-dependency graph, ranked and truncated to fit the token budget. No vector store, no embeddings.

Verified against [aider.chat](https://aider.chat/docs/repomap.html)

- [aider.chat](https://aider.chat/docs/repomap.html)

## How it works

## At a glance

| Field | Value |
| --- | --- |
| Stage | Retrieval |
| Phase | Read |
| Used by | Aider |

## Trade-off

Fast, deterministic and inspectable; needs a graph-able project structure (imports, references). Weaker for prose corpora.

## Basis

## Verified against

- [https://aider.chat/docs/repomap.html](https://aider.chat/docs/repomap.html)

The corpus does not rewrite vendor documentation. Where copy is quoted verbatim it is marked as such and attributed to its source.
