Answer: Aider uses universal ctags to build the repo map by scanning source code and extracting data about all the symbols defined in each file, then formatting that ctags data into a space efficient hierarchical tree format that GPT can easily understand. Status: Confirmed Entry: tool/aider/memory-and-context/ctags-repo-map Revision: 1 Digest: sha256:90e4b7e9566bb98a (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:14Z Last changed: 2026-11-13T02:56:14Z Last verified: 2026-11-20T11:42:21Z Next check: 2026-11-21T11:42:21Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of tool used | universal ctags | [1] | 2026-11-20 what ctags extracts | extract data about all the symbols defined in each file | [1] | 2026-11-20 map format | space efficient hierarchical tree format | [1] | 2026-11-20 ctags command options | ctags --fields=+S --output-format=json | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/ctags.html". https://aider.chat/docs/ctags.html Role: primary. Accessed: 2026-11-20T11:42:21Z Quote: "Under the hood, aider uses universal ctags to build the map." (Supports: tool used) Quote: "extract data about all the symbols defined in each file" (Supports: what ctags extracts) Quote: "formatted into the space efficient hierarchical tree format shown earlier" (Supports: map format) Quote: "this is the ctags --fields=+S --output-format=json output for the main.py file mapped above" (Supports: ctags command options) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: abccf8c5ac80c1428b067995fd82eb92e78decd4b04dabff7320f5c99274ae74 (captured 2026-11-13T02:56:14Z) 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:14Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:42:21Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:42:21Z Last attempt: 2026-11-20T11:42:21Z Notes and limitations: Extracted automatically from a single official source (section "Using ctags to make the map"). Related: 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/aider/memory-and-context/repo-map-context How does Aider use a repository map to provide context to the LLM? 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/integrations/disable-git-integration How do I disable git integration in Aider? https://latestn.com/tool/aider/memory-and-context/add-all-files-to-chat How do I add all the files to the chat 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:14Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/memory-and-context/ctags-repo-map/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/ctags-repo-map POST: https://latestn.com/dispute/tool/aider/memory-and-context/ctags-repo-map with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/memory-and-context/ctags-repo-map?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How does Aider use ctags to build a repo map for code context? Revision 1, last verified 2026-11-20T11:42:21Z. https://latestn.com/tool/aider/memory-and-context/ctags-repo-map (accessed 2026-11-21T10:03:51Z). @misc{LatestN_tool_aider_memory_and_context_ctags_repo_map_r1, title = {How does Aider use ctags to build a repo map for code context?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/memory-and-context/ctags-repo-map}}, note = {Revision 1; digest sha256:90e4b7e9566bb98a; last verified 2026-11-20T11:42:21Z; accessed 2026-11-21T10:03:51Z} } 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/ctags-repo-map