Gemini 2.5 Computer Use Template
Autonomous browser control with Stagehand Agent + Gemini 2.5 Computer Use

1
npx create-browser-app --template gemini-cua
1
uvx create-browser-app --template gemini-cua
Get started running autonomous web tasks with Stagehand + Gemini 2.5 Computer Use
This template pairs Browserbase with Stagehand Agent to launch a cloud browser and execute an instruction autonomously using the Gemini 2.5 Computer Use. The agent navigates pages, performs searches, clicks through flows, and returns structured results.
Steps
- Uses Stagehand Agent with the Gemini 2.5 Computer Use to control the browser
- Navigates the web and performs the given instruction autonomously
- Returns the final result after completing all steps