Overview
A Browser Use agent checks a restaurant's online booking page for open tables on your anniversary, reports the options, and books only the slot you pick in a second run.
Problem or Objective
More in Travel and Bookings
AI Agents and Models
Tools and Integrations
- Tools
- Browser Use
- Prerequisites
- Python with the Browser Use library and an API key for the model you use; check whether your setup also needs a Browser Use key. A restaurant whose booking page allows automated use.
How It Works
Install the open-source Browser Use library in Python and connect a model. Run a first task that opens the restaurant's own booking page, looks for tables for your party size on the chosen evening within a time window, and returns the open slots as a typed result without submitting anything. Read the options, check the restaurant's cancellation and deposit terms on its page, and choose one. Then start a second task naming that exact date, time and party size, with your name, phone number and a note about the anniversary, and ask it to submit the booking and return the confirmation text. If the page asks for card details, a login, or shows a CAPTCHA or a block on automated use, stop the run and finish the booking yourself. Afterwards, check the confirmation email from the restaurant.
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 with the Browser Use library and an API key for the model you use; check whether your setup also needs a Browser Use key. A restaurant whose booking page allows automated use.
- Gather your detailsCollect what the prompt asks for: The restaurant's own booking page, Number of guests, Date of the dinner, Earliest acceptable time, Latest acceptable time, The slot you picked after run 1, Name for the booking, Contact phone for the restaurant, Note for the restaurant.
- 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: Find and then book an anniversary table
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Run 1: Open [The restaurant's own booking page] and find tables for [Number of guests] on [Date of the dinner] between [Earliest acceptable time] and [Latest acceptable time]. Do not submit any form. Return every open slot with its time, seating area if shown, and any deposit or cancellation terms. Run 2, only after I have chosen a slot: on the same page, book [The slot you picked after run 1] on [Date of the dinner] for [Number of guests] under the name [Name for the booking], phone [Contact phone for the restaurant], with the note '[Note for the restaurant]'. If the page asks for card details, a login or a CAPTCHA, stop and tell me. Return the confirmation text.Run 1 only reads and reports open slots. You choose a slot, check the deposit and cancellation terms, and only then start run 2, which submits the booking. Stop and book by hand if the site asks for payment, a login or a CAPTCHA, or forbids automated use.
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. Browser Use's README describes an open-source agent that does a given task in a real browser, runs on any LLM locally or on its cloud, and can return typed results; its own demo books an appointment slot on a website. Nothing cited covers a particular restaurant or booking platform, so whether a page works with an agent, and what it asks for, depends on that site.
Limitations and Considerations
The first run only reads; nothing is booked until you start the second run with the slot you chose. A booking site may forbid automated access in its terms or block it, so check before running and book by hand if it does. Do not hand the agent card details; if a deposit is required, pay it yourself. The agent types your name and phone number into a third-party form. Compare the confirmation with what you asked for, especially the date, time and party size. Model calls cost money depending on your provider. 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
- The open-source browser agent. Give it a task and the model does it in a real browser by writing Python.
- Runs on any LLM, locally or on Browser Use Cloud.
- Typed results: Agent(task, output_model_schema=MyModel) then result.structured_output.
