# Repository Briefing: LvcidPsyche/auto-browser
> Source: https://repoforai.com/repo/LvcidPsyche/auto-browser (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/LvcidPsyche/auto-browser
- **Official Docs / Website**: https://github.com/LvcidPsyche/auto-browser
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: MIT
- **Engineering Health**: A+ (94/100 · Maintenance 35/35 · Adoption 19/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v1.19.0 (2026-11-22) — https://github.com/LvcidPsyche/auto-browser/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Docker, Self-Hosted, MCP, API
- **Momentum**: 927 ★ total (+0 24h / +1 7d) · 155 forks
- **Topics**: `ai-agent`, `ai-agents`, `browser-automation`, `claude`, `docker`, `fastapi`, `llm`, `local-first`, `mcp`, `novnc`, `playwright`, `self-hosted`
- **When to Use**: Best for: Authorized internal tools, operator-assisted QA, and MCP workflows that need a real browser, reusable login state, and action approvals. Skip if: A deterministic Playwright script is enough, or you need managed multi-tenant isolation and a complete network egress boundary without operating those controls yourself.

## Overview
```text
### Architecture & Core Mechanics
Auto Browser splits browser control into two services. The Python controller in `controller/` exposes FastAPI REST routes and HTTP MCP, brokers Playwright actions, and applies navigation policy and approval gates. The `browser-node/` service runs Chromium on Xvfb, exposes the desktop through x11vnc and noVNC, and lets an operator take over the same live session the agent is driving.

The controller is the common integration point: HTTP clients connect directly, and the bundled stdio bridge forwards to the same service. Tool profiles and packs control what MCP advertises, so routine browsing clients need not carry diagnostics or admin tools in their context. The local `data/` directory holds runtime artifacts, saved auth state, approvals, and audit logs; it is part of the deployment's sensitive state, not a disposable browser cache.

### Key Capabilities & Differentiators
The browser surface combines structured page observations with screenshots, DOM summaries, OCR excerpts, tab controls, downloads, and network inspection. An operator can handle a login on the live desktop, save its state as a named auth profile, and open a fresh session from that state. Approval gates, operator identity, PII scrubbing, and audit events support workflows in which the agent should not make every decision on its own.

MCP clients can supply their own agent, while controller-managed decisions can use first-class OpenAI, Claude, and Gemini adapters or a generic OpenAI-compatible `/chat/completions` endpoint, including self-hosted runtimes such as Ollama or vLLM. Vision-capable providers use screenshots; the text-only DeepSeek path uses the DOM or accessibility outline. The default `curated` profile exposes 20 tools, or 21 with a vision model; `lean` exposes seven, and diagnostics, audit, and harness tools are available through `full`.

### Trade-offs & Limitations
Direct Playwright is the simpler choice for deterministic tests and scripted jobs. Auto Browser earns its extra services when a team needs MCP and REST access, reusable sign-in state, and an operator able to intervene without restarting the workflow. Self-hosting gives the team control of browser state and logs, but page content can still leave the host if model decisions use a remote provider.

The default shared Chromium and noVNC desktop separates cookies and storage, not what operators can see: a person taking over one session can see other windows. Use per-session containers and networks across trust boundaries, and size for the extra browser processes. The navigation allowlist blocks top-level requests and redirect hops before they are sent, but some prefetch cases are handled only after the fact; it is not a complete egress boundary. Likewise, signed receipts are independently verifiable, but with the key stored alongside them, evidence that must survive host compromise needs an externally recorded chain head or off-host storage.

### Hardware & Deployment Guide
Start from source with `docker compose up --build`. Published GHCR images are Linux/amd64, and the prebuilt controller omits agent CLIs; for CLI authentication, build with `INSTALL_AGENT_CLIS=true`. When using both the isolation and prebuilt-image overlays, put the image overlay last so isolated browser containers use the published image. Ports bind to loopback by default, and the controller generates a bearer token at `data/api-token` on first start with default settings.

For an exposed deployment, use production mode and configure authentication, operator identity, encrypted auth state, the share-token secret, controller and browser host allowlists, and rate limiting. Budget resources for concurrent Chromium sessions and retained artifacts; model inference can run elsewhere and should be sized separately. The November 2026 releases tightened distinct boundaries: v1.18.0 rejects cross-origin writes in tokenless mode, v1.18.1 restores Codex operation under the host-subscription Compose overlay, and v1.19.0 prevents Codex decision calls from starting MCP servers from inherited configuration and disables Codex command tools.
```

## Key Capabilities
```text
- Transport: FastAPI serves HTTP MCP at `/mcp` alongside REST; the bundled bridge connects stdio clients to the same controller.
- Live handoff: noVNC gives the operator access to the running Chromium desktop without starting a replacement session.
- Tool surface: `curated` exposes 20 tools, or 21 with a vision model; `lean` exposes seven, and packs adjust the published set.
- Session isolation: `docker_ephemeral` assigns each session its own browser container, takeover surface, and Docker network.
- Audit evidence: Ed25519-signed Witness bundles can be checked with `scripts/verify_witness_bundle.py` without importing the project.
- Skill review: the convergence harness stages candidates from verified task traces, checks provenance on read when mesh identity is configured, and keeps promotion explicit.
```

## Quick Start / Clone
```bash
git clone https://github.com/LvcidPsyche/auto-browser.git
cd auto-browser
docker compose up --build
```
