DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to run persistent agents on a headless server with Openbot

Install OpenBot on a VPS or home server so agents keep running when your laptop is off.

Short answer: Use an Ubuntu 24.04 VPS or home server that runs systemd, and open a terminal on it; then run curl -fsSL https://raw.githubusercontent.com/nightly-labs/openbot/main/scripts/install-server.sh | sudo bash; run sudo openbot login and enter the one-time email code. All steps.

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

  1. Use an Ubuntu 24.04 VPS or home server that runs systemd, and open a terminal on it.
  2. Run curl -fsSL https://raw.githubusercontent.com/nightly-labs/openbot/main/scripts/install-server.sh | sudo bash
  3. Run sudo openbot login and enter the one-time email code.
  4. Open the desktop app, the iPhone app, or Openbot.run/app and confirm the agents appear.
  5. Read the self-hosted servers guide for the available options and openbot commands 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer