---
title: "Deploy Jean"
description: "Web dev environment for Claude Code, Codex and OpenCode agents"
category: "AI/ML"
url: https://railway.com/deploy/jean
---

# Deploy Jean

Web dev environment for Claude Code, Codex and OpenCode agents

**[Deploy Jean on Railway](https://railway.com/template/jean)**

Machine-readable deploy manifest (JSON, validated by TemplateCI): https://railway.com/deploy/jean/manifest.json

- **Creator:** Agaz Self-Host
- **Category:** AI/ML

## Template content

### Jean https://raw.githubusercontent.com/coollabsio/jean/v1.0.16/public/logo.png

- **Source:** https://github.com/aalfath/jean-railway-template
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# Deploy and Host Jean on Railway

Jean is an open-source dev environment for AI coding agents by coollabs. From one web UI you add Git projects, open isolated worktrees, run Claude Code, Codex, OpenCode and other agents on them, review diffs, use terminals, and commit or open pull requests. This template runs its headless `jean-server` (v1.0.16).

## About Hosting Jean

Jean's headless server is a single Rust binary that serves the web UI over HTTP and WebSocket. This template builds it from the official `ghcr.io/coollabsio/jean-server` image, pinned by version and digest, on a pinned Node.js 24 base, with Claude Code, Codex and OpenCode preinstalled. One Railway volume at `/home/jean` keeps projects, worktrees, sessions, settings and agent logins across redeploys. Access is locked by an access token that Railway generates on deploy. After deploy you open the URL with the token once, add a Git repository, and sign in to an agent with your own subscription or API key.

## Common Use Cases

* Run Claude Code, Codex or OpenCode on your repositories from a browser or phone, without a local machine
* Keep several agent sessions running in parallel, each in its own Git worktree, and review their diffs before committing
* Give a remote, always-on dev box to the Jean desktop app as a "remote server" connection

## Dependencies for Jean Hosting

* One Railway service built from `aalfath/jean-railway-template` (Jean server, web UI and agent CLIs)
* One Railway volume mounted at `/home/jean`
* Your own agent account or API key (Anthropic, OpenAI or any provider OpenCode supports), added after deploy

### Deployment Dependencies

* Jean: https://github.com/coollabsio/jean
* Jean v1.0.16 release: https://github.com/coollabsio/jean/releases/tag/v1.0.16
* Headless server docs: https://github.com/coollabsio/jean/blob/v1.0.16/docs/headless-server.md
* Template source: https://github.com/aalfath/jean-railway-template

### Implementation Details

**Services.** `Jean` is the only service. It listens on `PORT` 3456, answers `/healthz` for Railway's health check, and restarts on failure.

**Sign in.** Open the service's Variables tab, copy `JEAN_TOKEN`, then visit `https://YOUR-DOMAIN/?token=YOUR-JEAN-TOKEN` once. Jean swaps the token for a browser session cookie and removes it from the URL. Keep the token private: anyone who has it can run commands on the server. To revoke access, change `JEAN_TOKEN` and redeploy. The same URL and token work in the Jean desktop app under Connections, then Add remote, then Existing URL.

**Agents.** Claude Code, Codex and OpenCode are preinstalled and detected under "System PATH". Sign in from Jean's settings or a Jean terminal (`claude`, `codex login --device-auth`, `opencode auth login`). Logins are stored on the volume. Railway does not allow the Linux user namespaces that Codex's sandbox needs, so run Codex sessions in Jean's Yolo (full access) mode. Claude Code and OpenCode work in every mode. Other agents that Jean installs through npm go to `/home/jean/.local` on the volume.

**Memory.** Jean itself idles at about 30 MB. One Claude Code turn at a 0.5 GB limit peaked near 480 MB in our test, so the Free plan works for light use, but give the service at least 1 GB (Hobby or higher) for real agent sessions or several at once. Jean's in-app "Install Claude CLI" button downloads a 370 MB binary into memory: use the preinstalled CLI instead on small plans.

**Not included.** Docker inside the container, the desktop app's built-in browser, and "open in editor" actions are not available on Railway.

**Updates.** The template builds from a GitHub repository, so when we publish a new Jean version Railway shows an update notice in your project, and you choose when to apply it. Jean's own "Update &amp; restart" button does not apply to containers. Your volume is kept across updates.

## Why Deploy Jean 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 Jean 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.



## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [Weaviate](https://railway.com/deploy/weaviate-1) — Vector database with hybrid search and an API key-protected API
- [Möbius Personal AI OS](https://railway.com/deploy/mobius-v01-personal-ai-os) — Self-hosted AI agent that builds and runs apps for you, with memory.

Open this page in a browser: https://railway.com/deploy/jean
