BrowserUse is a powerful AI browser agent. Combined with the secure isolated environment provided by Novita Agent Sandbox, you can build high-concurrency, multi-task browser AI agents.This document provides detailed instructions on how to run BrowserUse projects based on Novita Agent Sandbox service.The document uses the browser-chromium sandbox template released by Novita. If you want to create your own template based on this or view more complete example code, please refer to here.
Before getting started, you need to configure the necessary environment variables:
Bash
Copy
Ask AI
export E2B_DOMAIN=sandbox.novita.aiexport E2B_API_KEY="<Your Novita AI API Key>"export LLM_API_KEY="<Your Novita AI API Key>"export LLM_BASE_URL=https://api.novita.ai/v3/openaiexport LLM_MODEL="<Your LLM Model ID>"
After Installing the dependencies and setting up the environment variables, you can run the example code. You can see the output in the terminal as below if everything goes well. Browser-use is running tasks in the remote browser inside your sandbox.It will generate screenshots like below:To run a more complete demo, please refer to here.