browser-use on Brainforge Azure OpenAI (East US 2)
Date: 2026-04-16
Goal: Run browser-use agents against Brainforge Azure OpenAI (same keys and base URLs as The Forge), without hand-copying endpoints into browser-use’s default AZURE_OPENAI_* names.
Canonical wiring
Use the small package under tools/browser-use-brainforge/:
brainforge_browser_use.llm.brainforge_browser_use_llm()→ChatAzureOpenAIfrom env vars documented intools/browser-use-brainforge/README.md.- Example runner:
tools/browser-use-brainforge/examples/run_agent.py(loadsapps/platform/.env.localwhen present).
Policy
- East US 2 only for new usage — same as azure-openai-setup.md and azure-models-for-devs.md.
- Secrets: never commit
.env.local; use 1Password / Railway /op runas elsewhere.
Optional overrides
If browser automation should call a different deployment than default chat, set:
BROWSER_USE_AZURE_BASE_URL— full base URL (same rules as Platform*_BASE_URL).BROWSER_USE_AZURE_DEPLOYMENT— deployment name only (e.g.gpt-5-mini).BROWSER_USE_AZURE_API_VERSION— if your deployment requires a specific preview version.
Related
- Repo agent order: root
AGENTS.md§ Agent browser automation. - Platform env template:
apps/platform/.env.example.