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()ChatAzureOpenAI from env vars documented in tools/browser-use-brainforge/README.md.
  • Example runner: tools/browser-use-brainforge/examples/run_agent.py (loads apps/platform/.env.local when present).

Policy

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.
  • Repo agent order: root AGENTS.md § Agent browser automation.
  • Platform env template: apps/platform/.env.example.