---
title: "Deploy ion-agent"
description: "Deploy and Host ion-agent with Railway"
category: "AI/ML"
url: https://railway.com/deploy/ion-agent
---

# Deploy ion-agent

Deploy and Host ion-agent with Railway

**[Deploy ion-agent on Railway](https://railway.com/template/ion-agent)**

- **Creator:** PaxLabs Inc's Projects
- **Category:** AI/ML
- **Total deploys:** 2

## Template content

### ion-agent https://raw.githubusercontent.com/paxlabs-inc/ion-agent/refs/heads/main/assets/ion-logo-light/Square142x142Logo.png

- **Source:** paxlabs-inc/ion-agent
- **Public domain:** Yes

## Documentation

# Deploy and Host ion-agent on Railway

Ion is a persistent, self-hosted general agent with encrypted memory, provider-neutral AI model access, browser and computer control, document editing, software-development tools, and a web operator interface. This Railway template packages Ion, Ion Computer, Chromium, and ONLYOFFICE into one appliance running as a single Railway service.

## About Hosting ion-agent

Railway builds the root Dockerfile into one self-contained appliance that supervises Ion, Ion Computer, Chromium, and ONLYOFFICE. Only Ion’s web interface is publicly exposed through Railway’s generated HTTPS domain; the Computer and document services remain internal. Deployment requires one persistent volume mounted at `/data`, protected authentication credentials, and a vault encryption key. The appliance automatically uses Railway’s assigned port, exposes `/readyz` for health checks, and persists agent state, encrypted memory, Computer identity, and documents. Run one replica because the durable databases and Computer state use a single-writer architecture.

## Common Use Cases

- Run a persistent personal or organizational AI agent with encrypted memory.
- Automate browser and graphical desktop workflows through Ion Computer.
- Create, open, edit, and manage documents through the integrated Office Studio.
- Operate software-development and research workflows from a private web interface.
- Connect your preferred supported AI provider without changing the deployment architecture.

## Dependencies for ion-agent Hosting

- One Railway service with a public HTTPS domain.
- One persistent Railway volume mounted at `/data`.
- At least 8 GB RAM, 4 vCPU, and a 40 GB volume are recommended.
- `ION_AUTH_USERNAME` and either `ION_AUTH_PASSWORD` or `ION_AUTH_PASSWORD_HASH`.
- A protected `ION_VAULT_KEK` containing a base64-encoded 32-byte encryption key.
- An API key and model configuration for your chosen AI provider.

Optional integrations can use variables such as `TAVILY_API_KEY` and `NOVITA_API_KEY`.

### Deployment Dependencies

- [ion-agent source repository](https://github.com/paxlabs-inc/ion-agent)
- [Deploy ion-agent on Railway](https://railway.com/deploy/2MbBhn?referralCode=g2f45Y&amp;utm_medium=integration&amp;utm_source=template&amp;utm_campaign=generic)
- [Railway Volumes documentation](https://docs.railway.com/volumes)
- [Railway Variables documentation](https://docs.railway.com/variables)
- [Railway Public Networking documentation](https://docs.railway.com/networking/public-networking)

### Implementation Details

Configure these required Railway service variables:

```text
ION_AUTH_USERNAME=operator
ION_AUTH_PASSWORD=<a>
ION_VAULT_KEK=
```

Generate the vault encryption key locally:

```bash
openssl rand -base64 32
```

Attach one Railway volume at:

```text
/data
```

The appliance automatically derives its public origin from `RAILWAY_PUBLIC_DOMAIN` and listens on Railway’s injected `PORT`. Its health endpoint is:

```text
/readyz
```

Ion generates and persists the internal Computer authentication key, Office JWT secret, and Computer host identity automatically. Do not expose additional TCP ports or create separate Computer or ONLYOFFICE services. Keep `ION_VAULT_KEK` outside the persistent volume and back it up securely alongside the `/data` volume.

## Why Deploy ion-agent 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 ion-agent 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.
</a>

## Similar templates

- [Chat Chat](https://railway.com/deploy/-WWW5r) — Chat Chat, your own unified chat and search to AI platform.
- [stella](https://railway.com/deploy/stella) — Self-host stella with web, API, Postgres, Redis, and object storage.
- [Hermes Agent | OpenClaw Alternative with Dashboard](https://railway.com/deploy/hermes-agent-or-openclaw-alternative-wit) — Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

Open this page in a browser: https://railway.com/deploy/ion-agent
