
Deploy OpenClaw Browser
Agent-driven Chromium browsing on your own gateway
Just deployed
/data
Deploy and Host self hosted OpenClaw Browser (Open-Source Browser Agent) on Railway
This template runs openclaw/openclaw:2026.10.3-browser, pinned with Chromium and Xvfb bundled, so the agent's built-in browser tool works with nothing to install. It suits anyone who wants an agent to check JS-heavy pages and report back.
About Hosting OpenClaw Browser open-source software on Railway (self hosted OpenClaw browser template)
openclaw/openclaw:2026.10.3-browser is pinned by sha256 and bundles Chromium and Xvfb, so the agent's browser tool works with nothing to install. Railway runs the port 18789 gateway with /healthz checks and TLS on your domain.
Why Deploy OpenClaw Browser, the Browserbase alternative on Railway (Railway Free Trial)
Browserbase rents you browser sessions on their infrastructure. Here the same idea runs on your own Railway service: Chromium, cookies and gateway token under your control. Start on the $5 trial and see what the agent actually does before you commit.
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying OpenClaw Browser on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Railway vs Other Hosting Providers and VPS for OpenClaw Browser self hosting
Railway ships Chromium and Xvfb in the pinned image; the providers below leave that setup to you.
| Provider | What You Get with Railway | What You Get with the Other Provider |
|---|---|---|
| DigitalOcean | Managed volume at /data, public domain and health check wired | A Droplet you patch, plus manual Chromium and Xvfb installs |
| AWS | One service, port 18789, no security group or EBS work | EC2, security groups, AMI upkeep and separate storage for state |
| Hetzner | Same image and profile, less setup around it | Cheap VPS, but you own TLS, backups and proxy config |
None of these remove the login limit: logging in by hand still needs a headed browser on a desktop you can see.
Common Use Cases for hosted OpenClaw Browser
-
Dashboard checks on a schedule: the agent opens a JS-heavy stats page, takes a snapshot to get element refs, reads the numbers and reports to Telegram every morning before standup.
-
Docs sites plain HTTP can't read: client-rendered docs come back through the text and snapshot actions, so you skip the empty HTTP fetch and the retry loop.
-
Simple form filling: open the page, take a snapshot, then act to type into fields and click submit on low-stakes forms.
-
Screenshots for a paper trail: the screenshot action captures a page state you can attach to a report or diff two runs over time.
-
Research passes: open a few tabs, focus each in turn, pull text, then close them so you stay under the 8-tab cap.
Dependencies for OpenClaw Browser Docker hosted on Railway
One service, one image, one volume. It listens on port 18789, healthchecks at /healthz, and keeps state in /data/.openclaw on the /data volume.
Deployment Dependencies for Managed OpenClaw Browser Service (AI Browser Agent)
You need the generated OPENCLAW_GATEWAY_TOKEN (48 characters) pasted into the Control UI, plus a model key: OPENAI_API_KEY or ANTHROPIC_API_KEY, optional and empty by default. TELEGRAM_BOT_TOKEN is optional. Budget 1 to 2 GB of extra RAM for Chromium.
Implementation Details for OpenClaw Browser (Using OpenClaw official docker image)
The start command chowns the volume, applies OPENCLAW_RAILWAY_CONFIG (gateway.mode local, publicOrigin and controlUi.allowedOrigins from RAILWAY_PUBLIC_DOMAIN, trustedProxies 100.64.0.0/10), then runs openclaw gateway --bind lan --port 18789 --allow-unconfigured as the node user.
Browser settings sit in the browser block of openclaw.json: enabled, headless, defaultProfile, profiles, ssrfPolicy, evaluateEnabled and tabCleanup. Change one with openclaw config set browser.headless false style commands.
How does OpenClaw Browser compare against other browser automation agents
OpenClaw vs Browserbase (Browserbase Alternative)
- Hosting: Browserbase rents remote Chromium sessions; OpenClaw runs Chromium in your own container, with cookies on the /data volume.
- Scope: OpenClaw bundles a gateway, channels and model plugins; Browserbase is a browser API you wire into an app you build.
- Where Browserbase wins: managed scaling and anti-bot tuning are the product there.
OpenClaw vs Browser Use (Browser Use Alternative)
- Shape: Browser Use is a Python library you script; OpenClaw is a gateway where the agent calls one browser tool with actions like snapshot and act.
- Setup: Browser Use expects your own Chromium; the -browser image ships Chromium and Xvfb already.
- Where Browser Use wins: cleaner fit for custom logic inside a Python pipeline.
OpenClaw vs Playwright MCP (Playwright MCP Alternative)
- Model: Playwright MCP exposes raw Playwright actions; OpenClaw wraps a managed openclaw profile with status, open, snapshot, screenshot and act.
- Guardrails: ssrfPolicy blocks private network targets and the managed Chrome caps at 8 tabs.
- Where Playwright MCP wins: direct control of Playwright APIs and selectors for existing test suites.
OpenClaw vs ChatGPT agent (ChatGPT Agent Alternative)
- Hosting: ChatGPT agent is closed SaaS; OpenClaw is MIT and self hosted, state on your Railway volume.
- Reach: OpenClaw can be triggered from Telegram or Slack and report there; ChatGPT agent stays in its own product.
- Where ChatGPT agent wins: zero setup, no RAM planning, no gateway token to paste.
How to use OpenClaw Browser (the OSS AI agent gateway)?
- Open your Railway public domain, then paste
OPENCLAW_GATEWAY_TOKENinto the Control UI settings. - Approve the browser device once from the service shell:
openclaw devices approve
- Add a model provider key under Settings > Models, or set
OPENAI_API_KEYin the service variables. - Check that Chromium is running:
openclaw browser status
- Ask the agent to open a page and snapshot it, then try a screenshot and a click via
actusing a ref from that snapshot. - Ask for a fresh snapshot after any page change, since refs go stale; the managed profile keeps tabs capped at 8.
Manual logins still need a headed browser on a desktop you can see, so skip sites that demand one.
How to self host OpenClaw Browser on other VPS Services (OpenClaw self hosting guide)
Clone the Repository
The official Docker flow runs from the repo's setup script:
git clone https://github.com/openclaw/openclaw.git
cd openclaw
Install Dependencies
Docker Engine with Compose v2. A pre-built image skips the 6 GB source build, and the -browser tag already ships Chromium and Xvfb, so skip apt installs and Playwright downloads.
Configure Environment Variables
Point setup at the pinned browser image. Setup prompts for provider keys and writes a generated gateway token to .env.
export OPENCLAW_IMAGE=openclaw/openclaw:2026.10.3-browser
Start the OpenClaw Browser Application
Run setup; it onboards, syncs config and starts the Gateway with Compose.
./scripts/docker/setup.sh
Open http://127.0.0.1:18789/ (tunnel or reverse proxy it on a VPS), paste the token from .env into Settings, then check /healthz. Railway does the chown, the proxy-aware config, the public domain and the health checks for you.
Official Pricing of OpenClaw Browser (OpenClaw pricing)
OpenClaw itself is free, MIT-licensed software with no paid plan. You pay for hosting plus the model tokens the agent burns; budget both, not one.
OpenClaw Browser cloud vs self hosted comparison (Pricing, features, costs, and more)
Cloud browser agents rent you a session; this template rents you a container. You pay for compute and tokens, and the Chromium profile is yours.
Monthly cost of self hosting OpenClaw Browser on Railway
Expect roughly $10 to $25 a month. Chromium plus Xvfb want 1 to 2 GB of RAM above the gateway, and model API calls bill separately. The $5 trial covers early tests. Per-session cloud browsers suit one-off jobs; a daily dashboard check is cheaper here.
System Requirements for Hosting OpenClaw Browser on a VPS
Plan 2 vCPU and 4 GB RAM for headroom, 20 GB of disk for /data, and Node 24.16+ if you skip Docker. Manual logins still need a headed browser on a desktop, so do those elsewhere. Keep the 8-tab cap in mind and close tabs in long jobs.
Frequently Asked Questions (FAQs)
Do I need to install Chromium?
No. The openclaw/openclaw:2026.10.3-browser image bundles Chromium and Xvfb, so the browser tool is enabled and works on first boot.
Can the agent log into sites for me?
Only if the login already sits in the managed openclaw profile or the site accepts a scripted form. A hand login needs a headed browser you can see, and a Railway container has no screen, so do it elsewhere.
Why are internal URLs blocked?
The ssrfPolicy in the browser block blocks private network targets by default, so a prompt cannot point the agent at internal addresses. Loosen it only if you trust every sender that can reach the gateway.
How much RAM does it need?
Plan roughly 1 to 2 GB above the gateway baseline while Chromium runs. The managed profile caps at 8 tabs, so long jobs should close what they open.
Where are cookies stored?
In the isolated openclaw profile under /data/.openclaw on the volume, so logins survive redeploys. Treat that volume as secrets.
Can it solve CAPTCHAs?
No. Many sites block automation or show a challenge the agent cannot pass, so respect site terms and stay on sources that allow scripted access.
Template Content
