Overview
Try Claude's computer use tool in Anthropic's reference container on a real task: have it search a travel site for a one-way domestic flight and report the options it found, stopping before any booking step.
Problem or Objective
- Which agents compare flights, fares and hotels against your rules?
- Which agents can operate a web browser for you?
More in Travel and Bookings
AI Agents and Models
Tools and Integrations
- Tools
- Claude computer use · Docker
- Prerequisites
- A Claude API key and Docker to run Anthropic's computer use reference implementation; computer use is available or in beta on select models, so check which model and tool version you use.
How It Works
Start Anthropic's computer use reference implementation, which runs a desktop with a browser inside a Docker container, and keep it free of saved logins and payment details. Pick one travel or airline website and, if you can, limit the container's internet access to that site. Ask Claude to open it, enter a departure city, destination and date, run the search and read the results back as a short list with flight times, stops, the fare shown and any baggage note. Tell it to stop on the results page and never to click through to passenger details or payment. Watch the container display while it works and note where it hesitates or misreads the page. Then compare its list with the same search done by hand to judge how reliable the run was.
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 prerequisitesA Claude API key and Docker to run Anthropic's computer use reference implementation; computer use is available or in beta on select models, so check which model and tool version you use.
- Gather your detailsCollect what the prompt asks for: Airline or travel website, Departure city, Arrival city, Travel date, Number of adults, How many options to list.
- 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: Search one flight route and stop
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Open [Airline or travel website] in the browser. Search for a one-way flight from [Departure city] to [Arrival city] on [Travel date] for [Number of adults] adult passenger(s). When the results load, list up to [How many options to list] options with departure and arrival times, stops, the fare shown and any baggage note. Stay on the results page: do not select a fare, enter passenger details, sign in or open any payment step. Ask me before clicking anything that is not part of the search.Watch the container display and stop the loop if it leaves the results page. Booking and payment stay with you, on the airline's own site.
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 describes the computer use tool as giving Claude screenshots and mouse and keyboard control, offers a Docker-based reference implementation, and recommends that a human confirm consequential steps such as financial transactions. It does not cover any travel site, so the comparison with your own search is the real test.
Limitations and Considerations
Anthropic advises a dedicated container or virtual machine with minimal privileges, an allowlist of domains, and a person confirming anything with real-world consequences, so keep booking and payment for yourself. Web pages can carry prompt injections. Computer use can be slow compared with doing the search yourself, and each step sends screenshots that cost tokens. Fares and availability change; confirm on the airline's own page before paying. 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 and keyboard control for autonomous desktop interaction.
- For security and isolation, the reference implementation runs inside a Docker container with port mappings for viewing and interacting with the environment.
- Anthropic recommends asking a human to confirm decisions that might result in meaningful real-world consequences, such as completing financial transactions or agreeing to terms of service.
- Computer use latency for human-AI interactions might be too slow compared with regular human-directed computer actions.