What is the Ask Agent?
The Ask Agent is a lightweight interface for asking questions about your code, getting explanations, and performing simple coding tasks. Unlike generic AI assistants, it understands your codebase through Repo Grokking, allowing it to provide contextually relevant answers.When you need more powerful capabilities like multi-file edits, web search, or complex code generation, select the Coding Agent from the agent selector.
How to Use the Ask Agent
1
Getting Started with Ask Agent
Select the Ask Agent from the agent dropdown menu at the bottom of the chat interface, or use the agent selector with 
Cmd+.
(Mac) or Ctrl+.
(Windows/Linux).
Core Capabilities
The Ask Agent handles these development tasks:- Code explanations
- Error debugging
- Simple code generation
- Best practices
Using Code References
Reference specific files, functions, or classes for contextual answers:Ask Agent vs. Coding Agent
While both interfaces are powered by the same technology, they serve different purposes:Ask Agent | Coding Agent |
---|---|
Quick questions and explanations | Complex multi-file operations |
Simple code snippets | Full feature implementation |
Read-only file operations | Full file create/modify/delete |
Limited tools access | Web search and other tools |
Technical Details
- The Ask Agent uses the same codebase understanding as the Coding Agent but with limited abilities
- It can read files but has restricted ability to modify them
- It doesn’t have full access to external tools like web search
- It’s optimized for quick responses rather than complex problem-solving
Enabling the Coding Agent
When you need more powerful capabilities:- Open the agent selector with
Cmd+.
(Mac) orCtrl+.
(Windows/Linux) - Select the Coding Agent from the dropdown
- The Coding Agent can perform more complex tasks like:
- Creating and modifying multiple files
- Implementing entire features
- Searching the web for documentation
- Running validation and tests

You can switch between different agents by starting new chats and selecting the appropriate agent from the agent selector. Each chat maintains its selected agent type throughout the conversation.
Related Agents and Capabilities
Other agents and features that complement the Ask Agent:Coding Agent
When you need more powerful development capabilities beyond questions and explanations
Web Dev Agent
Transform UI specifications and designs into working web applications with browser validation
Unit Testing Agent
Generate tests for code you’re asking questions about
E2E Testing Agent
Create end-to-end tests for web application workflows you’re exploring
AI Agents
Create custom agents for specialized Ask workflows and domain-specific questions
Repo-Info Agent
Enhances Ask responses with comprehensive project context and structure understanding