BearBrowser is a LibreWolf-derived SourceOS browser product for humans and agents.
It has two primary execution modes:
- Human Secure Browser — a privacy-first desktop browser profile based on LibreWolf defaults.
- Agent Browser Runtime — a governed browser execution surface for local, cloud, and fog agents.
Homebrew is a first-class distribution surface.
Immediate direct Formula install:
brew install --formula https://raw.githubusercontent.com/SourceOS-Linux/BearBrowser/main/packaging/homebrew/Formula/bearbrowser.rbTarget install path after the SourceOS tap is promoted:
brew install SourceOS-Linux/tap/bearbrowserUpdate:
bearbrowser-updateDiagnostics:
bearbrowser-doctor
bearbrowser-verify-upstream
bearbrowser-verify-control-plane
bearbrowser-verify-native-shell
bearbrowser-automation-surfacesFuture GUI app install path:
brew install --cask SourceOS-Linux/tap/bearbrowserSee docs/install.md and packaging/homebrew/README.md.
BearBrowser now carries explicit SourceOS control-plane manifests under manifests/sourceos/:
manifests/sourceos/service.json— product/service graph, capabilities, authority domain, data classes, launch triggers, resource budget, and observability posture.manifests/sourceos/launch.macos.json— hermetic macOS launch contract, bundle identity, expected process identity, PATH policy, denied shell-pollution variables, and product identity invariants.
Verify the contract locally:
python3 scripts/verify-sourceos-control-plane.pyInstalled Homebrew command:
bearbrowser-verify-control-planeThe verifier checks that BearBrowser remains BearBrowser across service manifest, macOS bundle identity, Dock/menu/crash/helper naming, launcher scripts, native WebKit bootstrap shell, product PATH policy, and upstream provenance boundaries. Upstream engine names such as LibreWolf, Firefox, Mozilla, and Gecko are allowed as provenance, source, and license metadata; they must not become the user-facing product identity.
The doctor also runs this verifier:
bearbrowser-doctorBearBrowser treats browser automation as a first-class product surface:
- Playwright for deterministic browser control.
- Stagehand for AI-assisted browser actions and extraction.
- Terminal-browser compatibility for Carbonyl, Browsh, ELinks, Lynx, w3m, and Links-style environments.
See docs/automation-compatibility.md.
The clean upstream mirror lives at:
SourceOS-Linux/librewolf-source-mirror
This repository contains SourceOS overlays only:
- patch queues
- settings profiles
- enterprise/browser policies
- agent-runtime policy contracts
- downloads and workspace mount declarations
- packaging manifests
- SourceOS control-plane manifests
- AgentPlane registration
- Prophet Workspace integration
- parity and maintenance scripts
Do not bury SourceOS product behavior inside the upstream mirror. Keep the mirror clean. Keep SourceOS changes explicit here.