Browser infrastructure for agents
Real Chromium sessions on your own machines, one scoped URL away.
Portable Browser is a control plane for managed Chromium on remote workers. Workers connect out, so they need no open ports. Agents and apps get short-lived CDP URLs, persistent logged-in profiles and safe concurrent access through one API.
What it handles
Running a browser on a laptop is easy. Running many, on machines behind NAT, shared safely between agents, with logins that survive restarts, is the part Portable Browser does.
Workers never open a port
Workers dial out to the control plane and keep one secure connection open. Every browser stays unreachable from the internet, even on machines behind NAT.
Scoped, short-lived access
Agents never touch a raw DevTools port. They get a session URL scoped to exactly what they need, and it expires on its own.
Profiles that keep their logins
Browser identity persists across sessions as versioned snapshots, so agents start already signed in. Sessions can move to another machine without losing state.
Shared or exclusive sessions
Many jobs can share one browser, each on its own page, or one consumer can own it outright. Locking keeps them from stepping on each other.
Live view and takeover
Watch any headful session live, or take control to clear an MFA prompt or a challenge, then hand the browser back to the agent.
Guardrails on every session
Memory limits, automatic expiry, idle tab cleanup, runaway script protection and health checks keep a fleet stable without babysitting.
From CLI to CDP in one command
Every operation is in the API, the generated SDK, the pb CLI and the console. The examples below use sample data.
# headful session on a saved profile, ready for Puppeteer $ pb sessions create --profile-name demo-store \ --mode headful --ttl 3600 --wait --connect { "status": "running", "cdpWsUrl": "wss://pb.example/...?token=..." } # what the agent sees, and what it captured $ pb screenshot 7c1e... --full-page --out page.png $ pb har record 7c1e... --until-idle 5s --out site.har # keep the login for next time $ pb profiles snapshot --session-id 7c1e... \ --profile-name demo-store
| Session | Mode | Worker | Profile | Status |
|---|---|---|---|---|
| checkout-regression | headless | worker-a | - | running |
| support-inbox | headful | worker-b | demo-store | running |
| price-watch | headless | worker-a | demo-research | snapshotting |
| onboarding-qa | headful | worker-b | demo-store | stopped |
Interfaces
Sign-in is required for every console view and API call.
OpenAPI
Every operation in one typed, documented API.
TypeScript SDK
A typed client that always matches the API.
pb CLI
Sessions, profiles, workers, screenshots and HAR capture.
Operator console
Workers, sessions, profiles, egress and usage insights.
Agent docs
llms.txt and guides written for coding agents.