Skip to content
Models
PLAN Free $0/mo PLAN Pro $20/mo PLAN Max $200/mo PLAN Teams $80/mo min + $40/seat Cognition FrontierCode (Oct 28) — score · cost per task Claude Opus 5.5 54.6% · $0.80/task Claude Fable 5 53.5% · $13.09/task Claude Opus 5 53.4% · $4.31/task GPT-6 Astra 53.3% · $4.59/task Claude Sonnet 5.5 52.1% · $1.59/task Claude Fable 5.1 50.9% · $3.28/task GPT-6.1 Sol 50.2% · $0.36/task SWE-2 50.0% · $1.18/task GPT-6 Sol 49.3% · $2.07/task Grok 4.6 48.0% · $2.88/task SWE-1.7 42.0% · $1.97/task SWE-1.6 9.4% · $0.49/task Devin launches Devin Apps, private web tools hosted on its cloud compu… Devin adds free SWE‑2 sessions and desktop access to Teams plan Gemini 4 Hydrogen launches in Devin Desktop and CLI, matching GPT‑6.1 … Basis reduces 20‑hour accounting process to 30 minutes with Devin Clou… Claude Mythos 5.2 added to Devin Security with benchmark score of 73.5 Gemini 4 Carbon added to Devin Desktop and CLI, scores 40% on Frontier… Claude Fable 5.2 added to Devin, leads FrontierCode 2.0 benchmark with… Devin offers 50% off Teams plan for users migrating from competing cod… PLAN Free $0/mo PLAN Pro $20/mo PLAN Max $200/mo PLAN Teams $80/mo min + $40/seat Cognition FrontierCode (Oct 28) — score · cost per task Claude Opus 5.5 54.6% · $0.80/task Claude Fable 5 53.5% · $13.09/task Claude Opus 5 53.4% · $4.31/task GPT-6 Astra 53.3% · $4.59/task Claude Sonnet 5.5 52.1% · $1.59/task Claude Fable 5.1 50.9% · $3.28/task GPT-6.1 Sol 50.2% · $0.36/task SWE-2 50.0% · $1.18/task GPT-6 Sol 49.3% · $2.07/task Grok 4.6 48.0% · $2.88/task SWE-1.7 42.0% · $1.97/task SWE-1.6 9.4% · $0.49/task Devin launches Devin Apps, private web tools hosted on its cloud compu… Devin adds free SWE‑2 sessions and desktop access to Teams plan Gemini 4 Hydrogen launches in Devin Desktop and CLI, matching GPT‑6.1 … Basis reduces 20‑hour accounting process to 30 minutes with Devin Clou… Claude Mythos 5.2 added to Devin Security with benchmark score of 73.5 Gemini 4 Carbon added to Devin Desktop and CLI, scores 40% on Frontier… Claude Fable 5.2 added to Devin, leads FrontierCode 2.0 benchmark with… Devin offers 50% off Teams plan for users migrating from competing cod…

Lesson 2.2 · Your first session · 4 of 8

Plan in Ask mode, then run in Agent mode

Devin has two modes. Ask explores your code and builds a plan without changing anything. Agent does the work. This lesson walks through using them in that order.

Checked against Devin's documentation on 2026-11-12

After this lesson you can

  • Explain the difference between Ask mode and Agent mode
  • Turn an Ask session into a scoped prompt for Agent mode
  • Find Session Insights after a session ends

When you open a new session, Devin offers two modes: Ask and Agent. Using them in the right order is the easiest way to get a good first result.

A first task, from question to pull request
1AskExplore the code and build a plan. Nothing is changed.2Construct a Devin PromptDevin writes a scoped prompt from the Ask session.3Send to DevinThe prompt starts an Agent session.4AgentDevin writes code, runs commands and opens a pull request.5Session InsightsAfter the session, generate an analysis of how it went.
Read the steps as text
  1. Ask. Explore the code and build a plan. Nothing is changed.
  2. Construct a Devin Prompt. Devin writes a scoped prompt from the Ask session.
  3. Send to Devin. The prompt starts an Agent session.
  4. Agent. Devin writes code, runs commands and opens a pull request.
  5. Session Insights. After the session, generate an analysis of how it went.
  1. Ask. Explore the code and build a plan. Nothing is changed.
  2. Construct a Devin Prompt. Devin writes a scoped prompt from the Ask session.
  3. Send to Devin. The prompt starts an Agent session.
  4. Agent. Devin writes code, runs commands and opens a pull request.
  5. Session Insights. After the session, generate an analysis of how it went.

What each mode does

Ask is a lightweight mode for exploring code and planning. In the docs’ words, it works “without making changes to the actual code.”

Agent is the full autonomous mode. It writes code, runs commands and creates pull requests.

The docs’ advice is plain: start in Ask mode unless you already have a fully scoped plan, then move to Agent mode to carry it out.

Step 1: Ask

From the main page, switch to Ask mode and select the repositories you want Devin to look at. Then ask real questions:

  • Where is this behaviour implemented?
  • What would have to change to add this?
  • What could break?

You can also start from a repository’s DeepWiki page. Type a question in the chat box and click Ask, and Devin is scoped to that repository.

Step 2: Turn the answers into a prompt

When the plan looks right, click Construct a Devin Prompt. Devin writes a scoped prompt from everything in the Ask session. Read it and fix anything that is off. Then click Send to Devin.

Step 3: Agent

In Agent mode, pick the repository from the selector. It lists the repositories that have been added to Devin’s machine, which is why the setup in lesson 2.1 comes first.

You can add context with @ mentions. They can point to repositories, files, skills, secrets or other sessions.

Step 4: Look at how it went

After the session, open Session Insights and click Generate Analysis. It is the quickest way to learn what slowed the session down, and what to change in your next prompt.

A sensible first task

Choose something with a clear pass or fail result: a failing test to fix, a small refactor that existing tests cover, or a dependency update. The docs note that tasks with test suites, CI checks or other verifiable outcomes give the best results.

Next

The plan is only as good as the task behind it. The next lesson is about writing a task Devin can finish.

Check what you learned

3 questions. Nothing is recorded.

  1. 1. Which mode explores your code without changing it?
    Show the answer

    Ask mode. Ask is a lightweight mode for exploring code and planning without making changes to the actual code.

  2. 2. You have a rough idea but no plan. Where do the docs say to start?
    Show the answer

    Ask mode, then move to Agent mode once the plan is scoped. The docs recommend starting in Ask mode unless you already have a fully scoped plan.

  3. 3. Which button turns an Ask session into a prompt for Agent mode?
    Show the answer

    Construct a Devin Prompt. Construct a Devin Prompt writes a scoped prompt from the Ask session. Send to Devin then starts the Agent session.

Sources

  1. Your first session — docs.devin.ai
  2. When to use Devin — docs.devin.ai

From Devin Central — subscribe for Devin news, features & tutorials. Devin is a trademark of Cognition.