Understand and use Aider chat modes
mainAider has four chat modes: code (makes changes), ask (discusses but doesn't edit), architect (uses two models for planning and editing), and help (answers questions about Aider). By default, Aider starts in "code" mode. You can switch modes using commands: /code, /ask, /architect, /help apply to just that message, while /chat-mode <mode> switches the active mode persistently. You can also launch Aider in a specific mode with --chat-mode <mode> or use --architect as a shortcut. The prompt indicates the active mode with prefixes like >, ask>, architect>.
# Switch to ask mode for one message
/ask What's the best way to implement this?
# Switch to code mode for one message
/code Add the function implementation
# Make ask mode sticky for the session
/chat-mode ask
# Launch Aider in architect mode
aider --architectSources: aider/website/docs/usage/modes.md