Skip to main content
Before you start your first session, make sure you’ve indexed and set up your repositories. These are the foundational steps that help Devin understand and work with your codebase.
Now that you’re all set up, kick off your first Devin session! This guide will walk you through the new session interface and help you understand the best ways to interact with Devin.
Prefer working from your terminal? Devin CLI lets you start sessions right from the command line. Install in 2 minutes with curl -fsSL https://cli.devin.ai/install.sh | bash.

Understanding the Devin Session Page

When you start a new session, you’ll see two primary modes: Ask and Agent.
Unless you already have a fully scoped plan, we recommend starting with Ask to work with Devin on constructing a plan, then moving to Agent mode to execute it.

Ask Mode

Ask Devin is a lightweight mode for exploring your codebase and planning tasks with Devin, without making changes to the actual code. Ask Devin now supports both asking questions and planning:
  • Ask questions about how your code works. Uses advanced code search to produce detailed, accurate, and well-cited answers.
  • Plan tasks by scoping and planning work before implementation. Devin generates context-rich prompts for Agent sessions.
When you start a Devin session from Ask Devin, the session status is visible directly in the conversation.