Agents Anywhere banner
m-abdelwahab m-abdelwahab

Agents Anywhere

Development community

Description

Run Claude Code as an always-on container on Railway. SSH in from anywhere and start coding

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Agents Anywhere

Run [Claude Code](https://docs.anthropic.com/en/docs/claude-code) in a long-running container on Railway. SSH in from any device and start coding. One-click deploy, persistent storage, and pre-installed [Railway skills](https://docs.railway.com/ai/agent-skills).

  • Runs 24/7. Reconnect from anywhere and pick up where you left off.
  • Repos, settings, and session history are stored on a volume at /data and persist across redeploys.
  • SSH sessions auto-attach to a `tmux` session — if your connection drops, reconnect and pick up where you left off. To keep processes running, close your terminal or press Ctrl+B, D to detach. Typing exit kills the session.

Quick Start

1. Deploy

You can deploy this project on Railway in a few clicks using a [Railway template](https://docs.railway.com/reference/templates). To get started, click the button below.

[![Deploy on Railway](https://railway.com/button.svg)](https://railway.com/deploy/agents-anywhere?referralCode=thisismahmoud&utm_medium=integration&utm_source=template&utm_campaign=generic)

When configuring the template, you'll find the following [environment variables](https://docs.railway.com/variables):

Variable Default Description
SSH_PASSWORD Auto-generated Password for SSH access. Generated on deploy, but you can set your own. The SSH port is exposed to the internet — use a strong password (16+ characters) or key-based auth.
SSH_PUBLIC_KEY Your SSH public key for key-based auth. Use SSH_PUBLIC_KEY_LAPTOP, SSH_PUBLIC_KEY_PHONE, etc. to register multiple devices.

2. Connect

Find your SSH connection details in the Railway dashboard under **Settings → Networking → [TCP Proxy](https://docs.railway.com/networking/tcp-proxy)**. You'll see a hostname and port like `roundhouse.proxy.rlwy.net:12345`.

**Important:** Use the Railway-assigned port (e.g. `12345`), **not*