Answer: You switch between ask mode and code mode using the /ask and /code commands, bouncing back and forth between them. Use ask mode to discuss the plan, then switch to code mode to have aider start editing your files. Status: Confirmed Entry: tool/aider/commands-and-shortcuts/ask-code-workflow Revision: 1 Digest: sha256:1d1513bd06d6bceb (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:47Z Last changed: 2026-11-13T02:56:47Z Last verified: 2026-11-20T11:44:10Z Next check: 2026-11-21T11:44:10Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of ask mode command | /ask | [1] | 2026-11-20 code mode command | /code | [1] | 2026-11-20 switch to code mode | switch to code mode | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/usage/modes.html". https://aider.chat/docs/usage/modes.html Role: primary. Accessed: 2026-11-20T11:44:10Z Quote: "A recommended workflow is to bounce back and forth between /ask and /code modes." (Supports: ask mode command, code mode command) Quote: "Once aider understands the mission, switch to code mode to have it start editing your files." (Supports: switch to code mode) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 5b93535463f31b1c35fdebf49c10a97b753c9b8a08900dfd054aa5bca146f23c (captured 2026-11-13T02:56:47Z) 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:47Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:44:10Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:44:10Z Last attempt: 2026-11-20T11:44:10Z Notes and limitations: Extracted automatically from a single official source (section "Ask/code workflow"). Related: 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/commands-and-shortcuts/emacs-vi-keybindings How do I use Emacs or Vi keybindings in Aider's chat input? https://latestn.com/tool/aider/commands-and-shortcuts/git-in-chat-commands What in-chat commands does Aider provide for git operations? https://latestn.com/tool/aider/agents-and-automation/scripting-aider-python How do I use aider from Python code? https://latestn.com/tool/aider/commands-and-shortcuts/add-files-to-chat How do I add files to an Aider chat session? 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/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:47Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/commands-and-shortcuts/ask-code-workflow/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/ask-code-workflow POST: https://latestn.com/dispute/tool/aider/commands-and-shortcuts/ask-code-workflow with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/commands-and-shortcuts/ask-code-workflow?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I switch between ask mode and code mode in Aider? Revision 1, last verified 2026-11-20T11:44:10Z. https://latestn.com/tool/aider/commands-and-shortcuts/ask-code-workflow (accessed 2026-11-21T09:57:11Z). @misc{LatestN_tool_aider_commands_and_shortcuts_ask_code_workflow_r1, title = {How do I switch between ask mode and code mode in Aider?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/commands-and-shortcuts/ask-code-workflow}}, note = {Revision 1; digest sha256:1d1513bd06d6bceb; last verified 2026-11-20T11:44:10Z; accessed 2026-11-21T09:57:11Z} } 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/ask-code-workflow