---
title: "Deploy Holon"
description: "Self-hosted always-on Holon agent runtime with persistent storage."
category: "AI/ML"
url: https://railway.com/deploy/holon
---

# Deploy Holon

Self-hosted always-on Holon agent runtime with persistent storage.

**[Deploy Holon on Railway](https://railway.com/template/holon)**

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

- **Creator:** Nuwa Projects
- **Category:** AI/ML

## Template content

### holon

- **Image:** ghcr.io/holon-run/holon:0.62.0
- **Start command:** `/bin/sh -c 'export HOLON_WORKSPACE_DIR=/var/lib/holon/workspace; exec holon serve'`
- **Health check:** /healthz
- **Public domain:** Yes

## Documentation

# Deploy and Host Holon on Railway

Holon is a self-hosted, always-on AI agent runtime. This template deploys the pinned stable image `ghcr.io/holon-run/holon:0.62.0`, keeps runtime state and the agent workspace on a Railway volume, and generates a control token per deployment.

## About Hosting Holon

The template runs one Railway service from the published Holon container image. Railway provides the public HTTPS domain, injects `PORT`, and mounts a persistent volume at `/var/lib/holon`. The service starts in browser-first bootstrap mode so you can configure a model provider at `/settings` before any agent task runs.

The control API is protected by a generated `HOLON_CONTROL_TOKEN`. `GET /api` without a bearer token returns `401`; authenticated clients send `Authorization: Bearer `.

## Why Deploy Holon on Railway?

Railway supplies managed HTTPS, a persistent volume, restart handling, and a simple upgrade path. Holon needs an always-on runtime with durable state, so Railway is a good fit for a personal or team agent that should keep working across sessions.

## Common Use Cases

- A personal always-on assistant reachable from any browser.
- A shared team agent runtime with durable WorkItems and waits.
- A staging or review instance separate from your local Holon runtime.

## Dependencies for Holon

### Deployment Dependencies

- A Railway account and this template (the service, volume, and token are created automatically).
- A model provider credential and default model, configured after deploy in `/settings`.
- Optional: a custom domain and OAuth/provider-specific configuration for your chosen model.

## Quick Start

1. Deploy the template and wait for the service to become healthy.
2. Open the generated domain; the web GUI loads at `/index.html`.
3. Go to `/settings` and configure a model provider and default model.
4. Start a conversation or create an agent.

Check the runtime status with the generated token from the Railway service variables:

```bash
curl -H "Authorization: Bearer YOUR_TOKEN" \
  https://YOUR_DOMAIN/api/control/runtime/status
```

A healthy deployment reports `"healthy": true` and a pinned `product_version`.

## Upgrade

Change the service image tag to a newer stable release and redeploy. The volume at `/var/lib/holon` preserves the runtime database, configuration, and workspace.

## Full Guide

See https://github.com/holon-run/holon/blob/main/docs/deployment-railway.md for template settings, manual setup, and troubleshooting.


## 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/holon
