Answer: You add files to an Aider chat session by naming them on the aider command line, or by using the in-chat /add command to add files. Status: Confirmed Entry: tool/aider/commands-and-shortcuts/add-files-to-chat Revision: 1 Digest: sha256:feea2cb58835ea9d (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:42Z Last changed: 2026-11-13T02:56:42Z Last verified: 2026-11-20T11:43:53Z Next check: 2026-11-21T11:43:53Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of command line method | naming them on the aider command line | [1] | 2026-11-20 in-chat command | /add | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/usage.html". https://aider.chat/docs/usage.html Role: primary. Accessed: 2026-11-20T11:43:53Z Quote: "Do this by naming them on the aider command line." (Supports: command line method) Quote: "you can use the in-chat /add command to add files." (Supports: in-chat command) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: f4f7f37523a363524b230088261ac4acc28810166427537abfb384eb8dcbfde8 (captured 2026-11-13T02:56:42Z) 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:42Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:43:53Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:43:53Z Last attempt: 2026-11-20T11:43:53Z Notes and limitations: Extracted automatically from a single official source (section "Adding files"). Related: https://latestn.com/tool/aider/commands-and-shortcuts/add-files-to-chat-2 How do I add files to the chat in Aider? https://latestn.com/tool/aider/commands-and-shortcuts/ask-code-workflow How do I switch between ask mode and code mode in Aider? https://latestn.com/tool/aider/commands-and-shortcuts/chat-mode-command-examples How do I use the /ask, /code, /architect and /help commands in Aider? https://latestn.com/tool/aider/agents-and-automation/scripting-aider-command-line How do I run aider from the command line in a script? https://latestn.com/tool/aider/agents-and-automation/scripting-aider-python How do I use aider from Python code? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:42Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/commands-and-shortcuts/add-files-to-chat/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/commands-and-shortcuts/add-files-to-chat POST: https://latestn.com/dispute/tool/aider/commands-and-shortcuts/add-files-to-chat with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/commands-and-shortcuts/add-files-to-chat?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I add files to an Aider chat session? Revision 1, last verified 2026-11-20T11:43:53Z. https://latestn.com/tool/aider/commands-and-shortcuts/add-files-to-chat (accessed 2026-11-21T10:05:25Z). @misc{LatestN_tool_aider_commands_and_shortcuts_add_files_to_chat_r1, title = {How do I add files to an Aider chat session?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/commands-and-shortcuts/add-files-to-chat}}, note = {Revision 1; digest sha256:feea2cb58835ea9d; last verified 2026-11-20T11:43:53Z; accessed 2026-11-21T10:05:25Z} } 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/commands-and-shortcuts/add-files-to-chat