Skip to content

Agents > Computer Use

Computer Use for agents

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Let agents interact with desktop GUIs in sandboxed cloud environments for automated UI testing and validation.

Computer Use enables Warp’s agents to interact with desktop environments. The agent can see what’s displayed on screen, click and drag, type text, use keyboard shortcuts, and perform other GUI interactions—all within a secure, isolated sandbox.

A key use case is testing UI changes with a self-contained feedback loop, where the agent can verify that your code changes produce the expected visual and behavioral results without requiring manual testing.

With Computer Use, agents can:

  • Take screenshots - Capture and analyze the current display
  • Record video - Capture sessions as annotated video recordings; see Testing and recordings
  • Interact with applications - Click buttons, fill forms, navigate interfaces
  • Type and control keyboard - Enter text and use keyboard shortcuts
  • Automate testing workflows - Test UI changes end-to-end without manual intervention
  • Work with browser-based interfaces - Test web apps and navigate the web

Computer Use is only available in Warp’s sandboxed cloud environments, not in local interactive terminal sessions.


Computer Use is enabled by default for cloud agent runs on Warp’s built-in harness: when a run’s configuration doesn’t specify a Computer Use setting, the agent runs with Computer Use available. Runs on third-party harnesses (Claude Code, Gemini, Codex) default to Computer Use disabled because third-party harnesses don’t integrate with Warp’s Computer Use tooling. You can control Computer Use per run or per configuration through several entry points:

Runs started from the Warp app don’t use the server default: they always follow the app’s Computer use in Cloud Agents setting (cloud_agent_computer_use_enabled), which is off by default. To control Computer Use for Cloud Agents started from the Warp app, navigate to Settings > Agents > Warp Agent > Experimental > Computer use in Cloud Agents.

When running cloud agents with the Oz CLI, use flags to control Computer Use per run:

Terminal window
oz agent run-cloud --computer-use --prompt "<task>"
oz agent run-cloud --no-computer-use --prompt "<task>"

When creating a cloud agent run with the Oz API, the optional config.computer_use_enabled field controls Computer Use. When omitted, it defaults to true for runs on Warp’s built-in harness and false for runs on third-party harnesses. Set it to false to disable Computer Use for the run:

{
"prompt": "Build a button component that matches this design, then test it in the browser",
"config": {
"computer_use_enabled": false,
"environment_id": "optional-environment-id"
}
}

For full API documentation, see the Oz API & SDK reference.

In the Oz web app, you can enable or disable Computer Use for:

  • New agent runs - Configure Computer Use when starting a new agent run from the web app
  • Scheduled agent runs - Enable Computer Use for scheduled agents managed from the web app
  • Integrations - Configure Computer Use for Slack, Linear, and other integration-triggered agents

Computer Use runs in a containerized sandbox, allowing headless cloud environments to render and interact with graphical applications. The sandbox is fully isolated—it does not have access to your local machine, credentials, or sensitive data outside the sandbox environment.

Your cloud environment must include any desktop applications you want the agent to control in your environment configuration. Browser-based tasks need no extra setup: every Computer Use environment includes a bundled Chromium browser. Learn more in Browser use.

Computer Use currently supports Anthropic Claude models. Warp uses an auto model selector to choose the best-suited model for each Computer Use task.


Agents can record their Computer Use sessions as annotated video artifacts — capturing clicks, key presses, and cursor movement alongside the interaction, with idle time trimmed out. Recordings are captured entirely inside the sandbox and never include your local desktop or credentials.

For the recording pipeline, what the finished video contains, and where to find recordings, see Testing and recordings. For how recordings and screenshots land on pull requests, see Screenshots and videos in pull requests.


Computer Use comes with unique security considerations. These risks are heightened when interacting with the internet.

To minimize risks when using Computer Use:

  • Avoid sensitive data - Do not pass API keys, authentication tokens, or personal information to agents using Computer Use
  • Limit internet access - If your environment has internet access, consider restricting to an allowlist of known-safe domains
  • Require human confirmation - For tasks with real-world consequences (e.g., financial transactions, accepting legal terms), ask a human to confirm before the agent proceeds
  • Review agent actions - Regularly review what agents are doing on your behalf, especially when testing new workflows

Verify that code changes produce the expected visual results and behavior:

  • Build from mockups - Receive a Figma design or mockup image, build the UI, and test it matches
  • Visual regression testing - After code changes, verify UI renders correctly
  • Form and interaction testing - Test form submissions, validation, error handling
  • Responsive design validation - Test layout on different screen sizes

For complete end-to-end examples with demo recordings — validating UI changes, QA of critical flows, and bug reproduction — see Testing and recordings.

Computer Use can also help with general web tasks: browsing websites, filling out and submitting forms, and navigating multi-step workflows in web applications. See Browser use for how agents drive the browser.