---
title: "Deploy OpenViking"
description: "Context database for AI agents with persistent semantic storage"
category: "Storage"
url: https://railway.com/deploy/openviking
---

# Deploy OpenViking

Context database for AI agents with persistent semantic storage

**[Deploy OpenViking on Railway](https://railway.com/template/openviking)**

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

- **Creator:** Zayn Jarvis's Projects
- **Category:** Storage
- **Total deploys:** 8

## Template content

### OpenViking https://cdn.jsdelivr.net/gh/volcengine/OpenViking@e302f0450f9ece85f96785e79363a42dba5bd7e0/docs/images/ov-logo-square.png

- **Image:** ghcr.io/volcengine/openviking:latest
- **Health check:** /health
- **Public domain:** Yes

## Documentation

# Deploy and Host OpenViking

[OpenViking](https://openviking.ai) is an open-source context database for AI agents. It provides file-system-like content organization, semantic retrieval, persistent session memory, and skill management through a unified HTTP API and a built-in Web Studio.

## About Hosting OpenViking

This template runs the official `ghcr.io/volcengine/openviking:latest` image as a single service on port 1933 with automatic HTTPS.

- **Persistent Storage**: A persistent volume is mounted at `/app/.openviking`, ensuring accounts, memory, and vector indices survive redeployments.
- **Ready-to-Use Defaults**: Preconfigured with OpenAI settings. Provide your `OPENAI_API_KEY` at deploy time; the admin key (`OPENVIKING_ROOT_API_KEY`) is generated automatically.
- **Browser-Only Bootstrap**: No CLI required. Open Web Studio, save the root key in `/studio/settings`, and create your first user in `/studio/users`.

## Common Use Cases

- Give AI agents and assistants persistent, searchable memory across sessions
- Build semantic knowledge bases from documents, code, and resources
- Manage agent skills, session states, and workspace files behind a single unified API
- Safely isolate memory and context across different users and workspaces

## Dependencies for OpenViking Hosting

- An OpenAI API key for embeddings and vision-language model processing
- Railway persistent storage mounted at `/app/.openviking` (provisioned automatically)

## Why Deploy OpenViking on Railway?

Railway packages the OpenViking service, pre-tuned configuration, public HTTPS domain, and persistent storage into a single one-click deployment. You can get started immediately in Web Studio without manual server configuration, while retaining full access to environment variables, real-time logs, metrics, and scaling controls.

## References

- [OpenViking Documentation](https://docs.openviking.ai)
- [Railway Deployment Guide](https://docs.openviking.ai/en/guides/03-deployment)
- [OpenViking on GitHub](https://github.com/volcengine/OpenViking)

## Similar templates

- [Garage S3 Storage](https://railway.com/deploy/garage-s3-storage) — Ultra-light S3 server: fast, open-source, plug-and-play.
- [Redis](https://railway.com/deploy/redis-1) — Self Host Latest Redis with Railway
- [Plik File Sharing](https://railway.com/deploy/plik-file-sharing) — Expiring file sharing with authenticated uploads and persistent metadata.

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