Remote script. The install command pipes a script from GitHub straight into sudo bash, so review the script first if you do not trust the source.
Who it is forA developer or small team lead with a spare Linux VPS or home server who wants agents available at all times, not tied to one desktop.
The problemDesktop agents stop when the laptop sleeps or closes, so queued work and long threads stall.
The outcomeAn OpenBot server runs under your account and you reach the same agents from the desktop app, the iPhone app, or Openbot.run/app.
What you need first
- A macOS 13+, Windows 10+, or x64/arm64 Linux AppImage machine, or an Ubuntu 24.04 host with systemd for the server
- An account with at least one supported provider (Codex, Claude, Grok, OpenCode, Gemini, Cursor, or Cline), or a local model server such as Ollama or LM Studio
- Willingness to run agents with danger-full-access and approvalPolicy never after the first-launch consent
Steps
- Use an Ubuntu 24.04 VPS or home server that runs systemd, and open a terminal on it.
- Run
curl -fsSL https://raw.githubusercontent.com/nightly-labs/openbot/main/scripts/install-server.sh | sudo bash - Run
sudo openbot loginand enter the one-time email code. - Open the desktop app, the iPhone app, or Openbot.run/app and confirm the agents appear.
- Read the self-hosted servers guide for the available options and
openbotcommands before changing defaults.
Prompt for your agent
In the nightly-labs/openbot repo, install the always-on server on <target-host> following docs/self-hosted-server.md. Expected output: the result of `sudo openbot login` showing a completed sign-in and a list of agents reachable from the desktop app. Verify the sign-in finished before reporting success.
Caveat. Server agents run with danger-full-access and approvalPolicy never, so only host them on machines you are willing to let agents control.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for nightly-labs/openbot and "Run persistent agents on a headless server"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer