Overview
Try Claude computer use on a sandboxed desktop: it reads screenshots, moves the pointer, types and switches between applications while you log every action and review mistakes.
Problem or Objective
More in Business Operations
AI Agents and Models
Tools and Integrations
- Tools
- Claude computer use · Docker
- Prerequisites
- An Anthropic API key, a model that supports the computer use tool, and an isolated desktop environment such as the Docker-based reference implementation or a virtual machine you control.
How It Works
Start Anthropic's computer use reference implementation, which runs a desktop inside a Docker container, or set up your own isolated virtual machine without personal logins. Write a few short test tasks that span two or three applications, such as copying figures from a text file into a spreadsheet and saving it. Run each task through the computer use tool and watch the screenshots and actions it sends back. Keep the full log of actions, note where the pointer lands in the wrong place or a step is skipped, and repeat the tasks to see which errors recur. Have your application ask a person to confirm before any step that sends, deletes or changes shared data.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude computer use.
- Connect the toolsConnect the tools this workflow relies on: Claude computer use, Docker.
- Check the prerequisitesAn Anthropic API key, a model that supports the computer use tool, and an isolated desktop environment such as the Docker-based reference implementation or a virtual machine you control.
- Gather your detailsCollect what the prompt asks for: Application to read from, File or item to read, Application to write into, Name for the saved result.
- Run the starter promptPaste the starter prompt below into Claude computer use and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at platform.claude.com before you rely on it.
Practical Starter Prompt: Run a cross-application test task
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
On this desktop, open [Application to read from] and find [File or item to read]. Copy the values it contains into [Application to write into], then save the result as [Name for the saved result]. After each step, describe what you see on the screen. If anything does not match what you expect, stop and report it instead of guessing. Before saving, overwriting or sending anything, stop and wait for my confirmation.Run this only in an isolated test environment. Your application should hold the save step until a person confirms it, and should log every screenshot and action so you can compare runs.
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. Anthropic's documentation says the tool gives Claude screenshots plus mouse and keyboard control, and lists known limits: Claude may make mistakes with coordinates or tool choice, and latency can be slower than a person. How often those limits show up in your own tasks is what the test measures.
Limitations and Considerations
Anthropic recommends a dedicated virtual machine or container with minimal privileges, keeping login details away from the model, limiting internet access to an allowlist of domains and asking a person to confirm actions with real-world consequences. Instructions on web pages or in images can mislead Claude, so keep test tasks away from untrusted content. The tool is not available in Claude Managed Agents; check which models and tool versions your account supports. API usage is billed per token, so check costs before long runs. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Computer use tool - Claude Platform Docs (opens in a new tab)
Project documentation · platform.claude.com · Undated · Source checked 25 Nov 2026, 12:00 UTC
What this source supports
- Claude can interact with computer environments through the computer use tool, which provides screenshot capabilities and mouse/keyboard control for autonomous desktop interaction.
- For security and isolation, the reference implementation runs all of this inside a Docker container with appropriate port mappings for viewing and interacting with the environment.
- Claude might make mistakes or hallucinate when outputting specific coordinates while generating actions.
- Computer use latency for human-AI interactions might be too slow compared with regular human-directed computer actions.
- Asking a human to confirm decisions that might result in meaningful real-world consequences and any tasks requiring affirmative consent