---
title: "Deploy Claw-Relay"
description: "Secure browser relay for AI agents. Token auth, permissions, audit logs."
category: "Other"
url: https://railway.com/deploy/claw-relay
---

# Deploy Claw-Relay

Secure browser relay for AI agents. Token auth, permissions, audit logs.

**[Deploy Claw-Relay on Railway](https://railway.com/template/claw-relay)**

- **Creator:** My Workspace
- **Category:** Other
- **Total deploys:** 3

## Template content

### claw-relay https://raw.githubusercontent.com/AndreaGriffiths11/claw-relay/main/assets/logo.png

- **Source:** AndreaGriffiths11/claw-relay
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# Deploy and Host Claw Relay on Railway

Claw Relay is a secure relay that gives AI agents controlled access to a real Chrome browser. Token auth, scoped permissions, site allowlists, rate limits, and full audit logging — all enforced before anything touches the browser.

## About Hosting Claw Relay

This template deploys Claw Relay with a bundled headless Chromium instance. On first deploy, it auto-generates secure tokens for agent auth and dashboard access (printed to logs). Set AGENT_TOKEN and ADMIN_TOKEN environment variables to use your own. Agents connect over WebSocket using the public Railway URL. The dashboard runs on a separate port for monitoring connected agents and reviewing audit logs.

## Common Use Cases

- Research agents that read documentation, status pages, or dashboards on a schedule
- CI/CD agents that verify deployments render correctly in a real browser
- Web automation workflows that require a real signed-in session
- QA agents that click through user flows and report issues
- Always-on browser access for remote AI agents without a local machine

## Dependencies for Claw Relay Hosting

- Node.js 22 (included in Docker image)
- Chromium (included in Docker image)

### Deployment Dependencies

- [Claw Relay on GitHub](https://github.com/AndreaGriffiths11/claw-relay)
- [Documentation](https://github.com/AndreaGriffiths11/claw-relay/tree/main/docs)
- [npm package](https://www.npmjs.com/package/@acolombiadev/claw-relay)

### Implementation Details

Agents connect via WebSocket or MCP tools. Configure per-agent permissions in config.yaml:

    agents:
      my-agent:
        token: "agent-token-here"
        scopes: ["read", "navigate", "interact"]
        allowlist: ["github.com"]
        rateLimit: 20

18 MCP tools available: navigate, snapshot, click, type, fill, hover, drag, scroll, evaluate, console, network, pdf, wait, batch, resize, and more.

## Why Deploy Claw Relay on Railway?

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 Claw Relay on Railway, you get an always-on browser relay your agents can reach from anywhere — no tunnels, no port forwarding, no local Chrome required.

## Similar templates

- [Rocky Linux](https://railway.com/deploy/rocky-linux) — Hosted Rocky Linux 9 workspace with SSH and persistent storage. 🚀
- [Foundry Virtual Tabletop](https://railway.com/deploy/X5tR6G) — A Self-Hosted & Modern Roleplaying Platform
- [Letta Code Remote](https://railway.com/deploy/letta-code-remote) — Run a Letta Code agent 24/7. No inbound ports, just deploy.

Open this page in a browser: https://railway.com/deploy/claw-relay
