Deploy kwant + Laya
kwant AI bot team (AGPL-3.0) + Laya message router. Needs ~2 GB more RAM.
Just deployed
browser
Just deployed
kwant
Just deployed
/data
Deploy and Host kwant + Laya on Railway
Official template from the maker of kwant (https://kwant.si, github.com/alexsergivan/kwant). Deploys kwant plus a headless browser service and the Laya message router for smarter routing. Laya needs about 2 GB more RAM; for the lighter template without Laya, use https://railway.com/deploy/kwant-1. After deploy, open the kwant service Variables tab, copy KWNT_API_TOKEN and sign in with it at your public domain.
About Hosting kwant
kwant is a self-hosted team of AI bots shipped as one Rust binary. This template builds kwant from the official GitHub repository, attaches a persistent volume at /data for its state, exposes it on a public Railway domain, and runs a private headless Chrome service that kwant drives over the Chrome DevTools Protocol, plus a private Laya message router (about 2 GB RAM) for smarter message routing. A random API token is generated for you on deploy.
Common Use Cases
- Run your own team of AI assistant bots
- Automate browsing and research tasks with a headless browser
- Keep your AI tooling and data self-hosted
Dependencies for kwant Hosting
- kwant service (Rust binary, built from render.Dockerfile)
- Headless browser service (built from browser.Dockerfile)
- laya: message routing sidecar (CPU PyTorch, about 2 GB RAM).
Why Deploy kwant 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 kwant 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.
Template Content

