Overview
Use a Browser Use agent to search flights and hotels for a Rome trip separately and as flight-plus-hotel packages, then return a side-by-side table so you can see which costs less.
Problem or Objective
- Which agents compare flights, fares and hotels against your rules?
- Which agents research destinations and build an itinerary you can check before booking?
- Which agents compare products, prices and delivery across shops?
More in Travel and Bookings
AI Agents and Models
Tools and Integrations
- Tools
- Browser Use
- Prerequisites
- Python 3.11 or newer, the Browser Use library, an API key for a language model, and a local Chrome or Chromium browser.
How It Works
Install the Browser Use Python library (Python 3.11 or newer) and set a model API key. Run the agent with a local browser, as the README's local example does with Browser('chromium'), and turn the CAPTCHA solver off. Give it one task: for your dates and number of travellers, look up flights to Rome and hotels in the area you want on a few travel sites you name, then look up flight-plus-hotel packages for the same dates. Ask for typed results through output_model_schema so each option comes back with site, flight times, hotel, nights, total price, what the price includes, cancellation terms and link. Read the table, open the cheapest few links yourself to confirm the prices and conditions, and make any booking by hand. The agent never enters names, payment details or account logins.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Browser Use.
- Connect the toolsConnect the tools this workflow relies on: Browser Use.
- Check the prerequisitesPython 3.11 or newer, the Browser Use library, an API key for a language model, and a local Chrome or Chromium browser.
- Gather your detailsCollect what the prompt asks for: Number of travellers, Departure city, Departure date, Return date, Area for the hotel, Travel sites to search.
- Run the starter promptPaste the starter prompt below into Browser Use and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at github.com before you rely on it.
Practical Starter Prompt: Compare separate bookings and packages
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Search for a trip to Rome for [Number of travellers] travellers from [Departure city], leaving [Departure date] and returning [Return date], with a hotel in [Area for the hotel]. On [Travel sites to search], find the three cheapest sensible flight options and the three best-value hotels separately, then find flight-plus-hotel packages for the same dates. For every option return site, flight times, hotel, nights, total price for all travellers, what is included, cancellation terms and link. Do not sign in, enter personal or payment details, or book anything. If a site blocks you or asks for a challenge, skip it and say so.Use this as the task for a Browser Use agent with a local browser and the CAPTCHA solver off. It only searches and reports. You confirm the prices on each site and make any booking 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 Browser Use README documents an agent that operates a real browser to finish tasks on websites, a local browser option and typed results. No cited page shows a travel search, so which sites let the agent through and whether the cheaper choice turns out to be separate bookings or a package is untested here.
Limitations and Considerations
Prices on travel sites change often and may differ once you sign in or reach payment, so treat the table as a starting point and confirm on each site. A package and separate bookings may come with different refund and change rules, so compare those as well as the price. Check each site's terms on automated access; if a site blocks the agent or shows a challenge, search that site by hand instead. Model calls cost money with your provider; Browser Use's own cloud browser is billed separately if you use it. This is not financial advice. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Related Videos
About browser-use/browser-use
Browser Use Agent Tutorial: Automate Web Tasks with AI (opens in a new tab)
Published by the project’s official channel.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Navigate the web like a human does. (opens in a new tab)
Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- Path 3: run the open source Browser Use agent locally from your own code.
- Python 3.11 or newer is required.
- The local example passes Browser('chromium'), a fresh local Chrome with its own temp profile.
- Typed results: Agent(task, output_model_schema=MyModel) then result.structured_output.
- Browser(captcha_solver=False) turns the solver off.
