AWB-CONTROL v1.3.2 SYSTEM ONLINE
FLEET ARCHITECTURE · CONCURRENCY RUNBOOK

Multi-Profile Chrome Automation for AI Agents

How WebBridge orchestrates multiple Google Chrome profiles simultaneously with isolated cookies, deterministic port routing, and two-dimensional parallelism.

Quick Answer (TL;DR) WebBridge solves multi-profile Chrome automation by pairing each local Chrome profile (e.g. Work, Personal, QA) with a dedicated background daemon bound to a deterministic hashed port (10000–15000). A central proxy router on 127.0.0.1:10086 inspects the top-level "profile" argument of incoming MCP requests and transparently forwards them to the correct profile. Sessions, logins, and cookies remain 100% isolated.

1. The Multi-Profile Fleet Architecture

Standard browser automation scripts struggle with multiple profiles because Chrome locks profile directories against multiple simultaneous instances. WebBridge works with Chrome's native multi-profile engine rather than fighting it:

caller (Claude Code / MCP client / curl) │ ▼ POST /command (includes "profile": "Work" or "Personal") Router (127.0.0.1:10086) │ ├── routes "Work" ──▶ Daemon 1 (port 13222) ──WS──▶ Extension in Profile "Work" │ └── CDP per-tab Map (Tab 1, Tab 2...) │ └── routes "Personal" ─▶ Daemon 2 (port 13336) ──WS─▶ Extension in Profile "Personal" └── CDP per-tab Map (Tab 1, Tab 2...)

Key architectural properties:

2. CLI Management & Profile Discovery

Discovering and bringing up your fleet requires only two CLI commands:

# 1. Discover all Chrome profiles on your system
awb profiles

# Output:
# Found 3 profiles:
# - Profile: "Work"     (Port: 13222, Daemon: UP)
# - Profile: "Personal" (Port: 13336, Daemon: UP)
# - Profile: "QA-Test"  (Port: 14102, Daemon: UP)

# 2. Boot the entire fleet behind router 10086
awb up "Work" "Personal" "QA-Test"

3. Two-Dimensional Fleet Concurrency (N × M)

WebBridge offers two distinct dimensions of parallelism:

This delivers total concurrency of N × M. In reproducible live benchmarks, 5 tabs in a single profile evaluate in ~3.5 seconds in parallel vs 9.3 seconds serially:

Execution Model 1 Tab 3 Tabs 5 Tabs Profile Isolation
Legacy Browser Bridges ~1.9s ~5.8s (serial queue) ~9.3s (serial queue) 1 profile at a time
WebBridge Fleet (AWB) ~1.9s ~2.2s (parallel) ~3.5s (parallel) N isolated profiles

4. Legitimate Use Cases & Safety Guardrails

Multi-profile automation is designed for authorized developer workflows:

Guardrails: WebBridge is not designed for platform evasion, multi-account mass botting, or circumventing website terms of service. All profiles share your local machine's egress IP address and hardware fingerprint.

Frequently Asked Questions

Each Chrome profile maintains its own completely independent cookie jar, localStorage, session cache, and extension storage. WebBridge runs an isolated lightweight Node daemon on a deterministic hashed port for each profile, behind a central loopback router on 127.0.0.1:10086.
Yes. By specifying the target profile in the command (e.g. { profile: "Work" } and { profile: "Personal" }), an agent can read an email in one profile while updating a pull request or verifying a dashboard in another, without logging in and out.
WebBridge attaches chrome.debugger per tab in a Map keyed by tabId rather than funneling calls through a single global active tab. This allows 5 tabs in a profile to evaluate in parallel at ~3.5s compared to 9.3s serially.
Legitimate use cases include multi-tenant web application testing, client-authorized account workflows, verifying user permissions across admin and standard roles, and separating work and personal workspaces. Mass platform manipulation or botting is prohibited.
View Source on GitHub Real Chrome vs Headless Guide →