Skip to main content

Onboarding - 02 Agent

DevAssure O2 is an AI-powered PR testing agent that automatically runs targeted E2E tests on every pull request. It analyses your code diff, selects only the relevant test scenarios, and posts results directly inside the PR — catching regressions before merge, without manual test selection.

Works inside VS Code, Cursor, and your CI/CD terminal. No test maintenance overhead. Just write your scenarios once, and O2 handles the rest.

What You Can Do

O2 is built for every part of your testing workflow — from authoring tests in plain language to running them automatically on every PR.

  • Execute end to end UI tests using natural language instructions.
  • Run tests via VS Code or CLI
  • Integrate into CI/CD pipelines
  • Use YAML or CSV-based test definitions

Installation Options

O2 lives where you work. Choose your preferred entry point — IDE extension for interactive development, or CLI for terminal and CI/CD pipelines. You can use both in the same project.

  • Navigate to the Install tab in the sidebar to choose your installation option.

1. VS Code Extension

Best suited for writing YAML-based tests, visualizing step-by-step automation, and debugging in real time.

Install via the VS Code Extension from Marketplace or by searching for “DevAssure O2 Agent”.

For setup instructions, refer to the Invisible Agent guide.

To learn how to create and execute tests, refer to:

info

Prerequisites

  • VS Code Installed: Download here.
  • Verified Account: Ensure you have clicked the verification link in your signup email.

2. Cursor extension

The DevAssure O2 extension runs natively in Cursor — ideal if you are already using Cursor for AI-assisted development and want testing in the same environment.

Install via Cursor's Extensions panel

  1. Open Cursor. Go to Extensions from the left sidebar (or use Ctrl+Shift+X / Cmd+Shift+X).
  2. Search for DevAssure. Select DevAssure O2 Agent and click Install.
  3. Alternatively, open the VSX link above in your browser and proceed with the installation.

3. CLI Installation

Install the CLI globally to execute automation runs directly from the terminal or your CI pipeline

Run the following command in your terminal to install the agent globally:

npm i -g @devassure/cli

Authenticate:

  • Once installed, use devassure login to connect your terminal to your account.

Reference Documentation:

info

Prerequisites


Usage & Credits

The O2 operates on a usage-based system. You can track your consumption in real-time via the Usage tab.

  • Credit Balance: Your remaining funds for running natural language tests.
  • Number of Sessions: Total individual test sessions executed during the billing period.
  • Total Credits Used: A dollar-value summary of your execution costs.
info

After the trial, choose a subscription plan that best fits your needs. Once you have installed your preferred tool, you are ready to run your first test.

Need help writing your first natural language test? Reach out to support@devassure.io for a quick walkthrough.