Self-hosted AI agents on a VPS
Seira runs self-hosted AI agents on your own server or VPS. The npm package @seira-bot/seira is the Seira server without the desktop app. It needs Node.js 24 or later. Start it, then open the pairing link in your browser or on your phone.
What runs on your server
The server runs every engine program, such as Claude Code, Codex, and Grok. It also runs chats, rooms, routines, connected apps, webhooks, and the web app, which the server itself serves.
Two things need the desktop app: dictation, and control of the desktop of the server itself.
Choose how to reach the server
Seira gives you four ways in. Each one prints one pairing link.
- Tailscale: only your own Tailscale network can reach it. This is the most private choice.
- Local network: only this network can reach it.
- Your own domain: Seira gets the certificate for you. Ports 80 and 443 must be open.
- An address that you already have in front of Seira, such as a Cloudflare Tunnel, Caddy, or nginx.
Pair each device once
You pair each device with a short code. A code works once, for 10 minutes. There is no password.
Paste the link in the desktop app under + → Connect to a server, open it in a browser, or scan its QR code with a phone. Do not forward the main port of the server to the public internet yourself.
One command on a fresh Ubuntu server
You have a fresh Ubuntu 22.04 or 24.04 server on x86-64, with at least 2 CPUs, 4 GB of memory, and 20 GB of free disk, and a domain name that points at it. One command checks the server, installs Seira with Docker, and ends with HTTPS on your domain.
Add --check to run only the checks. It changes nothing.
curl -fsSL https://raw.githubusercontent.com/seira-bot/seira/main/deploy/install.sh | sudo sh -s -- --domain seira.example.comYour agents still sign in themselves
The server package does not include the agent programs. Install them on the server, and sign in with the same operating-system account that runs Seira. Each provider bills through its own program or API.
Optional services stay third party, such as connected apps, cloud computers, and voice. Local chat does not need them.
Back up your server
Stop the server before you copy files. Keep more than the Seira data: also keep the sign-ins of the engine programs, the browser state, and your work folders.
Start a server with npm
- Install Node.js 24 or later on the server.
- Run the setup once. It asks for AI access and a default model.
npx @seira-bot/seira setup - Start the server. Use --lan, --domain, or --public-url for another way in.
npx @seira-bot/seira serve --tailscale - Open the pairing link in your browser, or scan its QR code with your phone.
- Create your first bot in the browser, and choose its engine and model.
Get the app for your system in the download section.
Questions and answers
Do I need Docker to self-host Seira?
No. The npm package runs with Node.js 24 or later. Docker is only for the one-command installer on a fresh Ubuntu server.
How do I reach the server from outside my network?
Use one of the ways in that Seira gives you: Tailscale, your own domain, or an address that you already have in front of it. Do not open the main port of the server to the public internet.
Can I use my phone with a self-hosted server?
Yes. The server prints a pairing link. Open it on your phone, or scan its QR code.
Does a self-hosted Seira include the AI programs?
No. Install and sign in to Claude Code, Codex, or another engine on the server. Each provider bills through its own program or API.
Read the docs
More about Seira
Keep your agents running around the clock.
Start a Seira server on a VPS, pair your devices, and let bots work while your laptop is closed.