Overview
Ask Devin to build or change an app, run it in its own desktop environment, click through the interface, and attach screenshots and a screen recording of its checks to the pull request you review.
Problem or Objective
- Which agents write or run tests against an application?
- Which agents turn a plain-language brief into a working app or prototype?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Prerequisites
- A Devin account connected to the repository, a start command for the app, and test accounts with sample data.
How It Works
When you give Devin a task that changes something visible, such as a new settings page or a small game with on-screen controls, write the checks you want into the request: the screens to open, the actions to take and what should appear after each. Ask Devin to run the app locally in its environment once the code is written, click through those checks, and save screenshots and a screen recording of the run. It should list any check that failed and fix it before opening a pull request. If it gets stuck in the browser, step in through the interactive browser. When the pull request arrives, watch the recording, compare the screenshots with what you expected, run the app yourself for the paths that matter most, and merge only after your own check.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Devin.
- Check the prerequisitesA Devin account connected to the repository, a start command for the app, and test accounts with sample data.
- Gather your detailsCollect what the prompt asks for: What to build or change, Repository, Command that starts the app, Screens, actions and expected results, Test account to use.
- Run the starter promptPaste the starter prompt below into Devin and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.devin.ai before you rely on it.
Practical Starter Prompt: Build the change and click-test it yourself
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Implement [What to build or change] in [Repository]. When the code is done, start the app with [Command that starts the app] in your environment and click through these checks: [Screens, actions and expected results]. Use only the test account [Test account to use]. Save a screenshot after each check and a screen recording of the whole run, fix anything that fails, and attach the screenshots, the recording and a pass or fail list to a draft pull request for my review; never merge or deploy.Watch the recording and check the screenshots, run the app yourself for the main paths, and approve the merge yourself.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The when-to-use guide says Devin has a full desktop environment with a shell, IDE and browser, and that it can spin up your app locally, click through the UI, take screenshots, record screen recordings and QA its own changes before opening a PR. The Devin docs add that you can jump in to help it through browsing tasks via the interactive browser. The pages do not say how thorough its own checks are, so they cover only the steps you list.
Limitations and Considerations
Devin checks only what you ask it to check, so the list of screens and actions in your request decides how much is covered; your own run of the app before merging stays part of the steps. Give Devin test accounts and sample data, never real customer accounts or payment details. Access is through a sign-up with Individual and Teams plans, or through your administrator if your company already works with Cognition. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- When to Use Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Devin has a full desktop environment with a shell, IDE, and browser.
- It can spin up your app locally, click through the UI, take screenshots, record screen recordings, and QA its own changes before opening a PR.
- Introducing Devin - Devin Docs (opens in a new tab)
Project documentation · docs.devin.ai · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Devin is an autonomous AI software engineer that can write, run and test code.
- You can jump in to help Devin navigate through browsing tasks via the Interactive Browser.
- To access Devin, sign up at app.devin.ai; Individual and Teams plans are available, and if your company is already working with Cognition you can request permissions from your Administrator.