Browser Use
Browser Use
A browser-automation agent library. Give its LLM your base URL.
Step by step
01
Install
pip install browser-use
02
Build the agent
Agent(task, llm=ChatOpenAI(model, base_url, api_key)).
03
Run it
Execute the task.
Copy this
browser-use
from browser_use import Agent, Browser, ChatOpenAI
agent = Agent(
"Your task here",
llm=ChatOpenAI("YOUR_MODEL_ID", base_url="https://api.luxechain.si/v1", api_key="lxc_live_YOUR_KEY"),
browser=Browser("chromium"),
)
Use Browser Use's own ChatOpenAI wrapper and pass base_url. Pin the version; 1.x moves fast.