agentvps.
中文GitHub
YOUR VPS. YOUR AGENT. YOUR CHOICE.

Turn any VPS
into a personal
agent.

A personal agent doesn’t need another subscription. Use the VPS and agent you already have. Connect Codex, Claude Code, or your preferred agent to a real desktop, browser, terminal, and files on your own server.

Free & open sourceNo AgentVPS subscriptionv0.0.3 · Early release

Your VPS and chosen agent or model service may have their own fees.

Watch the 45-second introduction 中文
AGENTVPS / DESKTOP47 MCP TOOLS
Your agent’s workspace
A real screenshot from an AgentVPS workspace, operated through Codex MCP.
BrowserTerminalFiles
Watch the work. Take over anytime.

The same browser, terminal, and files your agent uses.

ACTUAL DESKTOP CAPTURE
BRING YOUR FAVORITE AGENT And any MCP client

Connect through MCP. Select an agent for its official setup guide.

01 / A COMPUTER YOU SHARE

It works there.
You see it here.

Your agent gets the tools. You get a front-row seat.

01

A real desktop, in your browser.

Watch Chromium and native apps as your agent works. Resize the desktop, go fullscreen, or take over with your own mouse and keyboard.

02

Everything in the same place.

Downloads, code, and finished work share one filesystem. Files and browser profiles stay on your VPS between sessions.

03

Your agent. Your choice.

Connect Codex, Claude Code, or another MCP client. Keep the agent you like, and give its tools a computer of their own.

ONE WORKSPACE. ALL THE TOOLS.

Less moving files.
More getting things done.

From a browser download to a Python script to a finished dashboard. Every step happens on your VPS.

Your agentCodex / Claude Code / …
MCP / CLI
Your VPS
BrowserShellFilesCode
47 tools · one shared workspace
02 / MAKE IT YOURS

Your next workspace.
Ready when you are.

Start with your VPS and SSH access. Choose to install it yourself or hand the setup to your agent.

Linux · Debian / Ubuntu / Rocky / AlmaLinux
x64 or ARM64 · 2 GB+ RAM · 5 GB free disk
Sudo access required

Verified on Debian 12 VPS. Debian 13, Ubuntu 22.04 / 24.04 / 26.04, Rocky Linux 9.3, AlmaLinux 9.8 and CentOS Stream 9 passed container tests. All tested on x64; ARM64 is not yet verified.

Tested systems & compatibility report
01

Install on your VPS.

SSH into the computer you want your agent to use. Run:

VPS TERMINAL
curl -fsSL https://agentvps.ai-infra.org/install.sh -o install-agentvps.sh && sudo bash install-agentvps.sh

Installs version 0.0.3: the CLI, service, Chromium, and Linux desktop. It opens the desktop port in active UFW or firewalld and displays your desktop URL and access token in this terminal. The download is checked against a pinned SHA-256. Read the installer ↗

02

Access your desktop.

Open your VPS desktop in your browser. Use the desktop URL printed by the installer and paste the displayed access token into the login screen.

If the page won’t load, allow TCP 8080 in your cloud provider’s firewall or security group. The installer handles active UFW or firewalld on the VPS; your provider’s rules are managed separately.

Keep this token private. Public IP access uses HTTP; use HTTPS or SSH forwarding for private work. Port 8081 is optional for sharing web previews.

03

Connect your agent.

Add a remote server in your agent’s MCP settings using this address:

MCP URL
http://YOUR_VPS_IP:8080/mcp

Choose Streamable HTTP and Bearer token authentication. Use the same access token as the desktop login. Replace YOUR_VPS_IP with your VPS IP.

No local AgentVPS client or Node.js installation needed. See Codex / Claude Code configuration ↓

03 / CONNECT YOUR AGENT

One address.
Connect directly to your VPS.

Use your VPS’s browser, terminal and files from Codex or Claude Code through MCP. Set up the connection on the computer running your agent.

  1. Set your access token.

    Set the AGENTVPS_TOKEN environment variable to the token printed by the installer. Use the same token as your desktop login.

  2. Save your agent’s configuration.

    Copy the matching example into the file shown. Replace YOUR_VPS_IP with your VPS’s public IP. Keep any existing MCP servers.

  3. Start your agent.

    Launch codex or claude from the terminal where you set the token. Ask it to use AgentVPS.

Step-by-step token and connection setup ↗
CODEX · ADD TO ~/.codex/config.toml
[mcp_servers.agentvps]
url = "http://YOUR_VPS_IP:8080/mcp"
bearer_token_env_var = "AGENTVPS_TOKEN"
CLAUDE CODE · .mcp.json IN YOUR PROJECT FOLDER
{
  "mcpServers": {
    "agentvps": {
      "type": "http",
      "url": "http://YOUR_VPS_IP:8080/mcp",
      "headers": {
        "Authorization": "Bearer ${AGENTVPS_TOKEN}"
      }
    }
  }
}
04 / KEEP IT RUNNING

Yours to run.
Easy to maintain.

Complete CLI reference ↗
01 / CHECK

Know it’s ready.

VPS
sudo agentvps status
sudo agentvps call health_check '{"browser":true}'

Check the workspace identity and each capability. A running service alone doesn’t prove the browser or desktop works.

02 / UPGRADE

Keep your files.

VPS
sudo agentvps upgrade ./agentsdance-agentvps-VERSION.tgz

Download the next release package before running this command. Files, browser profile and configuration stay. Live commands and app windows close during the restart. For an early unscoped installation, rerun the installer to migrate first.

03 / UNINSTALL

Leave on your terms.

VPS
agentvps uninstall --dry-run
sudo agentvps uninstall

Your data stays by default. Add --purge only to permanently delete the workspace and credentials.

THE DETAILS

Good questions.

Do I need a personal-agent service subscription?

No. AgentVPS does not require a subscription to OpenAI Dots, Meta Muse, Grok Bot, or Manus Cue. Reuse your existing VPS and connect an agent you already use. AgentVPS is free and open source; your VPS and chosen agent or model provider still set their own prices and usage limits.

Is this already an autonomous personal agent?

Version 0.0.3 supplies the remote computer and tool layer. Bring Codex, Claude Code, or another agent to operate it. Built-in conversations and a model-driven agent loop are planned.

Can I watch everything my agent does?

Browser and native desktop actions appear live on the desktop. Background shell jobs appear in Commands, and API terminal sessions appear in Remote desk. Ask your agent to use a native terminal when you want to watch commands being typed.

What happens when I take over?

Your mouse and keyboard control the desktop. New agent browser and desktop mutations are blocked until you return control. Background jobs and actions already in progress continue.

What survives a restart?

Workspace files, notes, schedules, finished job receipts and the Chromium profile persist. Live commands, terminal sessions, app windows and preview links do not. Disconnecting the viewer alone leaves the remote apps running.

Is this isolated from the rest of my VPS?

AgentVPS runs as one unprivileged Linux user. It is a single-owner computer, not a multi-tenant sandbox. Commands have that OS user’s permissions. Authentication is required for tools and desktop access.

Something didn’t start. Where do I look?

Run sudo systemctl status agentvps and sudo journalctl -u agentvps -n 50. Check cloud firewall access to port 8080, then run the health check above. Report an issue with version and error details, without your token.

USE WHAT YOU ALREADY HAVE.

Your VPS.
Your personal agent.

Put your existing VPS to work. No extra AgentVPS subscription.

Get started

The AgentVPS desktop

A real screenshot from an AgentVPS workspace, operated through Codex MCP.

A real screenshot from an AgentVPS workspace, operated through Codex MCP.