Answer: Aider sends a repo map to the LLM along with each change request from the user. The repo map contains a list of the files in the repo, along with the key symbols which are defined in each file, showing how each symbol is defined by including the critical lines of code for each definition. Status: Confirmed Entry: tool/aider/memory-and-context/repo-map-context Revision: 1 Digest: sha256:880c19d56e13233e (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:36Z Last changed: 2026-11-13T02:56:36Z Last verified: 2026-11-20T11:43:33Z Next check: 2026-11-21T11:43:33Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of usage | Aider sends a repo map to the LLM along with each change request from the user. | [1] | 2026-11-20 contents | a list of the files in the repo, along with the key symbols which are defined in each file | [1] | 2026-11-20 definition detail | including the critical lines of code for each definition | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/repomap.html". https://aider.chat/docs/repomap.html Role: primary. Accessed: 2026-11-20T11:43:33Z Quote: "Aider sends a repo map to the LLM along with each change request from the user." (Supports: usage) Quote: "The repo map contains a list of the files in the repo, along with the key symbols which are defined in each file." (Supports: contents) Quote: "by including the critical lines of code for each definition" (Supports: definition detail) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 77708d7004b0755018668f7db831cb09b7cb5883da4e46d90bd65fe5683b07f0 (captured 2026-11-13T02:56:36Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T02:56:36Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:43:33Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:43:33Z Last attempt: 2026-11-20T11:43:33Z Notes and limitations: Extracted automatically from a single official source (section "Using a repo map to provide context"). Related: https://latestn.com/tool/aider/memory-and-context/set-ollama-context-window-size How do I set the context window size for Ollama models in Aider? https://latestn.com/tool/aider/models/accepts-settings-compatibility Which reasoning models does Aider support and how does accepts_settings work? https://latestn.com/tool/aider/models/anthropic-thinking-tokens How do I enable thinking tokens for Anthropic models in Aider? https://latestn.com/tool/aider/memory-and-context/code-context-problem What problem does Aider's repo map solve for code context? https://latestn.com/tool/aider/memory-and-context/ctags-repo-map How does Aider use ctags to build a repo map for code context? https://latestn.com/tool/aider/memory-and-context/include-git-history-context How do I include the git history in the context in Aider? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:36Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/memory-and-context/repo-map-context/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/aider/memory-and-context/repo-map-context POST: https://latestn.com/dispute/tool/aider/memory-and-context/repo-map-context with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/memory-and-context/repo-map-context?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does Aider use a repository map to provide context to the LLM? Revision 1, last verified 2026-11-20T11:43:33Z. https://latestn.com/tool/aider/memory-and-context/repo-map-context (accessed 2026-11-21T09:58:35Z). @misc{LatestN_tool_aider_memory_and_context_repo_map_context_r1, title = {How does Aider use a repository map to provide context to the LLM?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/memory-and-context/repo-map-context}}, note = {Revision 1; digest sha256:880c19d56e13233e; last verified 2026-11-20T11:43:33Z; accessed 2026-11-21T09:58:35Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/aider/memory-and-context/repo-map-context