---
title: "Deploy Octop"
description: "Tencent's multi-user AI agent assistant: admin, model and expert pre-made"
category: "AI/ML"
url: https://railway.com/deploy/octop-5
---

# Deploy Octop

Tencent's multi-user AI agent assistant: admin, model and expert pre-made

**[Deploy Octop on Railway](https://railway.com/template/octop-5)**

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

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

## Template content

### Octop https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/octop.png

- **Source:** https://github.com/aalfath/octop-railway-template
- **Health check:** /api/health
- **Public domain:** Yes

## Documentation

# Deploy and Host Octop on Railway

Octop is Tencent Cloud's open-source (MIT), self-hosted AI assistant for teams. Each user gets their own agents ("experts") with memory, knowledge bases, skills, tools and scheduled tasks. You use them from a web dashboard and from chat apps such as Telegram, Discord, Feishu, DingTalk and WeCom.

## About Hosting Octop

Octop is a single Python server: the dashboard, the REST and WebSocket API, the agent runtime, cron and the chat-app bridges. Its state lives in a SQLite database and an agent workspace folder, so it needs one persistent volume. This template builds the official Octop 1.0.3b7 image, pinned by digest, from a public GitHub repo. It mounts a volume at `/data` and creates the admin account on the first boot from a generated password, so the setup wizard is never open to strangers. Your model provider is added from the variables you enter, and a first "General Expert" is ready to chat. Updates arrive as Railway update notices when the repo's pin is bumped.

## Common Use Cases

* A private AI assistant for you or a small team, with separate accounts, experts, models and memory per person
* Experts in Telegram, Discord, Feishu, DingTalk or WeCom groups that answer questions, draft documents and run tools
* Scheduled briefings and recurring checks written in plain language and delivered to a chat
* Question answering over your own documents with per-team knowledge bases

## Dependencies for Octop Hosting

* An API key from an OpenAI-compatible model provider (OpenAI, DeepSeek, OpenRouter, Groq, Google Gemini, Moonshot, Qwen/DashScope and others)
* A Railway volume for the database and agent workspaces (included)

### Deployment Dependencies

* Octop on GitHub: https://github.com/TencentCloud/Octop
* Release 1.0.3b7: https://github.com/TencentCloud/Octop/releases/tag/v1.0.3b7
* Template repo (Dockerfile, start script, changelog): https://github.com/aalfath/octop-railway-template

### Implementation Details

**What you get:** one service, **Octop**, with a public URL, a health check on `/api/health` and a volume at `/data` (SQLite database, agent workspaces, uploads and encrypted keys).

**Variables:**

* `LLM_API_KEY` (required): your provider's API key, for example from https://platform.openai.com/api-keys. This is the only prompt.
* `LLM_BASE_URL` (default `https://api.openai.com/v1`): any OpenAI-compatible base URL. Known providers are matched to Octop's built-in presets.
* `LLM_MODEL` (default `gpt-5-mini`): the default model id.
* `OCTOP_ADMIN_USERNAME` (default `admin`) and `OCTOP_ADMIN_PASSWORD` (generated): the first admin account.
* `OCTOP_ADMIN_LOCALE` (default `en`): the admin's UI language, `en` or `zh`.

**After deploy:** open the public URL and sign in as `admin` with `OCTOP_ADMIN_PASSWORD` from the Octop service's Variables tab. Change the password under your avatar, then chat with the General Expert, invite users and add channels and scheduled tasks. Changing `OCTOP_ADMIN_PASSWORD` later does not change the password; changing the `LLM_*` variables adds or updates that provider on the next restart and makes its model the default.

**Resources:** the server uses about 300 MB of RAM when idle and runs on 0.5 GB for chat with a hosted model. Big knowledge-base imports, the browser tool or many parallel agents need 1 to 2 GB. Agents' shell and file tools run inside the container. Octop's Docker sandbox and remote desktop need Docker or a virtual display, so they are not available on Railway. The template uses upstream's default image, without local OCR or local embeddings, so use a hosted embedding provider for knowledge bases.

**Updates:** the service builds from the template repo. When a new Octop release is tested there, Railway shows an "update available" notice; read the repo's CHANGELOG.md before applying it. Your data stays on the volume.

## Why Deploy Octop 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 Octop 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/octop-5
