Ask mode
Ask mode is a read-only mode for understanding your codebase. Agent answers questions and explores code without making any edits.
How do I use Ask mode?
- Open the Agent panel (CmdCtrl + I on Mac, Ctrl + I on Windows/Linux)
- Switch to Ask mode by pressing Shift + Tab to cycle modes, or use the mode picker dropdown
- Type your question and press ReturnEnter
When should I use Ask mode?
Use Ask mode when you want to understand code without changing it:
- "How does the authentication flow work?"
- "What does this function do?"
- "Where is the database connection configured?"
- "Explain the relationship between these two modules"
For questions that lead to code changes, switch back to Agent mode.