Bivy

Run Claude Code or Codex on a home server

Checked 16 November 2026

A home server is the simplest way to keep a coding agent working while your laptop sleeps, without sending your code to someone else's cloud. You need three things: a Linux machine or VM that stays on, a way to sign the agent in without a browser, and a way to reach it from your phone. The options differ mostly in the third.

The short answer: make a Linux VM on Proxmox, TrueNAS or Unraid, or use any Linux box that stays on. Put it on Tailscale. For Claude Code alone, run it in tmux and turn on Remote Control. For Codex alone, add the server as an SSH host in the ChatGPT desktop app, but that desktop has to stay awake too. For several agents, push notifications and approvals from one app, look at Paseo or Bivy on the server.

This page is published by Bivy, which is one of the options. Each claim below comes from the product's own docs, site or GitHub README, linked under Sources. Products change often, so check the linked page before you rely on a detail. If you don't have a server yet, see Keep Claude Code or Codex running after you close your laptop for the other ways.

As documented by each product on 16 November 2026.
OptionAgentsWhat runs on the serverPhone accessPush and approvals on the phoneCost
tmux + SSH or mosh over TailscaleAny terminal agentThe agent in a tmux sessionPhone SSH or mosh appNo, unless you add hooksFree: tmux, mosh, Tailscale Personal
Claude Code Remote ControlClaude Codeclaude, kept running in tmuxClaude app, claude.ai/codeYesPro, Max, Ultra, Team, Enterprise; API keys not supported
Codex with an SSH hostCodexThe codex CLI, started over SSH by the ChatGPT desktop appChatGPT app, through a Mac or Windows PC that stays awakeYesNeeds Codex access in your ChatGPT workspace
PaseoClaude Code, Codex, Copilot, OpenCode, Pi, Antigravity, Muse CodeThe Paseo daemon, natively or in DockeriOS and Android apps, web, desktop, CLIPush when tasks completeFree, Apache-2.0
Bivy20 agents, including Claude Code, Codex, Pi, OpenCode, Grok and Kimi CodeThe Bivy node as a systemd user serviceInstallable web app (PWA)Yes: approve, answer, replyYour own machines never count against a plan; self-host $0

Pick the machine

Any Linux machine that stays on and online will do. The agent works on the files, services and tools on that machine, so clone your repositories there and run the databases or containers the task needs there too.

Sign the agents in without a browser

tmux + SSH or mosh, over Tailscale

The do-it-yourself option. It works with any terminal agent and adds no service in between.

Claude Code Remote Control on the server

The official Claude app, steering a Claude Code session that runs on your server. Run claude remote-control in the project, or /remote-control inside a session, and open the session in the Claude app or at claude.ai/code.

Codex with the server as an SSH host

The official ChatGPT app, with Codex working on your server. In the ChatGPT desktop app on a Mac or Windows PC, add the server from your ~/.ssh/config under Settings › Connections and choose a project folder. The app starts Codex on the server over SSH.

Paseo

An open-source daemon with native apps, and the one option here with a documented Docker setup. A daemon on the server manages the agents, each in its own git worktree, and the desktop, iOS, Android, web and CLI clients connect to it.

Bivy

Runs Claude Code, Codex and other agents on your server, and lets you follow and steer them from a phone, browser or terminal. Bivy runs the real agent CLIs, each with its own login and configuration.

Which should you pick?

FAQ

Can I run Claude Code on a home server without a browser?

Yes. Run claude over SSH. If no browser opens, press c to copy the login URL, open it on any device, and paste the code it shows back into the terminal. For scripts, claude setup-token prints a one-year token for CLAUDE_CODE_OAUTH_TOKEN, but that token can't start Remote Control sessions.

How do I sign in to Codex on a headless Linux server?

Run codex login --device-auth and enter the code on another device. OpenAI marks device code sign-in as beta. You can also use an OpenAI API key, billed at standard API rates.

Should I use a VM or a container on Proxmox, TrueNAS or Unraid?

All three can run a Linux VM. Proxmox's docs describe LXC containers as a lighter alternative that shares the host kernel, and recommend nesting containers inside a VM when you need maximum isolation. Bivy's install docs cover a Linux machine with systemd, not LXC or Docker, so a Linux VM is the documented path for Bivy.

Is there a Docker image for running agents with Bivy?

Not for the machine that runs agents. Bivy publishes container images for its control plane and relay, the server side you can self-host. The machine side installs with one script on Linux or macOS, x64 or arm64. Paseo's daemon does have a documented Docker setup.

Do I need to open ports on my router?

No, for the options here. Tailscale connects your devices on a private network. Remote Control traffic goes through the Anthropic API, Codex remote connections use OpenAI's relay, and Bivy machines dial out to its relay or serve over your tailnet with bivy tailscale.

Sources

All checked on 16 November 2026.

Want to try Bivy? Connect your server, or start on a cloud computer with nothing installed.

Start free on Bivy Cloud

Browse setup and security resources →