Skip to main content
OPEN SOURCE · MIT

orion-browser

Signed-in browsers your agents can take turns owning.

MIT licensed · Linux + systemd · Persistent profiles · CLI + MCP

Watch browser ownership in one minute

Download the demo video
59.6 seconds, narrated by Dan. An edited walkthrough of v0.1.0 using real Chrome captures, scripted workers and fictional accounts.
Read the transcript

Two AI agents can have separate conversations and still fight over the same browser. What did I do? I built a browser pool to give each identity its own profile and one owner at a time. Here, two scripted workers use fictional accounts. Each has its own Chrome profile and screen. Both save a different note. Now watch. A third worker asks for Studio browser. It gets BUSY. Well, the current worker keeps its page. So what happens next? After a clean release, the next worker starts a new session. The old connection is done. It stops working. But the identity and saved note are all still there. This is an open source MIT license, and it runs on Linux or WSL. So it works with your existing browser driver. There's also a guide and a source that are linked below. Go ahead and give it a try with two browsers, and make sure you tell me what you think and feel free to contribute. Thank you.

One browser. Too many hands.

Two agents share a signed-in browser. One changes the tab while the other fills a form. Focus moves, identity gets mixed up, and the operator has to untangle the work.

orion-browser runs one headful Chrome per configured identity, on an independent virtual screen. Each agent leases a browser, connects its existing driver to the returned DevTools endpoint, renews during long work, and releases when finished. Sign-in state stays in the profile across clean restarts.

Two holders, one identity

Illustrative command flow. A different identity can run in parallel; the same identity has one lease holder.

terminal
orion-browser --json lease work --holder agent-a
Agent A receives the session endpoint and expiry.
orion-browser --json lease work --holder agent-b
BUSY: agent-a holds the unexpired lease
orion-browser --json lease anon --holder agent-b
Agent B can work independently in the anonymous browser.
orion-browser --json release work --holder agent-a
The pool closes Chrome and verifies shutdown before freeing the lease.

Start with two identities

Requires Linux with a systemd user instance, Python 3.11+, Google Chrome stable, TigerVNC, noVNC, websockify, xdotool, and xwd. The guide covers prerequisites and operator sign-in.

Install the tagged sourceNo PyPI package required
git clone --branch v0.1.0 https://github.com/OrionArchitekton/orion-browser-oss.git
cd orion-browser-oss
python3 -m venv .venv
. .venv/bin/activate
python -m pip install .
Prepare the pool
mkdir -p ~/.config/orion-browser
cp config.example.toml ~/.config/orion-browser/config.toml
orion-browser setup
Lease, connect, releaseUse the returned endpoint with your CDP driver
orion-browser --json lease anon --holder agent-42
# Connect your driver to data.endpoint.
# Complete the task, renewing the lease during long work.
orion-browser --json release anon --holder agent-42

Command surface

setup
Check host dependencies and prepare owner-only state and profile directories.
status
Read browser state, holder, and expiry. It does not hand out an endpoint.
lease
Acquire or renew a browser lease and receive its DevTools endpoint.
release
Close the session and give back the lease while keeping the profile.
view
Open an operator watch view, or request an interactive link as the holder.

The useful boundaries

Your driver, a leased browser

Keep agent-browser or Playwright. The pool manages leases and lifecycle; the driver attaches directly over CDP.

Profiles persist. Sessions turn over.

A new holder after expiry gets a replacement Chrome session. The old session must be shown gone first. Expiry alone does not stop Chrome.

MCP ownership is explicit

One MCP server process is one holder, including its subagents. Parallel workers need different browsers or distinct CLI holders.

Coordination on a trusted host

This is not a sandbox or publishing approval layer. Local processes can bypass leases, and signed-in browsers carry real account authority. Read SECURITY.md before use.