VPS Hosting for Claude Code & Codex
Give your AI coding agents a server of their own. Keep sessions running 24/7, check in from your phone, and let agents build and test on fast hardware without tying up your laptop.
How an Agent VPS Works
Your server runs the agent and your code. The model runs at Anthropic or OpenAI.
The agent runs on your VPS
The model stays with the provider
No GPU needed
Want to run open models on your own server instead? See AI Hosting.
Why Run Agents on a VPS?
What developers get from moving their coding agents off the laptop
Always On
Check In From Your Phone
A Safer Place for Unattended Runs
Parallel Agents
Fast Build-and-Test Loops
Full Root Access
Works With Your Agent
Step-by-step setup guides for the most popular terminal coding agents
Claude Code
Install Claude Code, sign in without a browser, keep sessions alive in tmux, and pick them up from your phone with Remote Control.
Codex CLI
Install OpenAI's open-source coding agent, sign in with a device code from any browser, and run long sessions in tmux.
Using Gemini CLI, OpenCode, Aider or another agent? If it runs in a Linux terminal, it runs on CometVPS. The same plans and safety steps apply.
Pick Your Plan
Size for how many agents you run at once and how heavy your builds are
Core VPS - Basic
2 vCPU, 4GB RAM, 60GB NVMe
Meets the 4 GB RAM minimum that Anthropic and OpenAI list for Claude Code and Codex. Good for one agent session at a time on small and medium repositories.
Supernova VPS - Blaze
4 Ryzen Cores, 8GB DDR5, 100GB NVMe
Meets OpenAI's 8 GB recommendation for Codex, with room for two or three agents plus language servers, test suites and Docker builds on fast Ryzen cores.
Supernova VPS - Flare
6 Ryzen Cores, 16GB DDR5, 200GB NVMe
Room for four or more agents, each in its own git worktree, alongside heavy builds and test suites. Also works well as one shared server for a small team.
Need more? Supernova Nova (8 Ryzen cores, 32GB DDR5) and our AstroMetal dedicated servers handle larger agent fleets.
Set It Up Safely
Six habits that keep an unattended agent from becoming a security problem
Run the agent as a regular user
Create a non-root user for the agent so a bad command can't rewrite the whole system.
Use SSH keys, not passwords
Log in with an SSH key and turn off password logins once your key works.
Give the server its own credentials
Use a deploy key or fine-grained token scoped to the repositories the agent needs, never your personal SSH key.
Keep production secrets off the box
Anything the agent can read, it can leak. Keep live database passwords and customer data elsewhere.
Close every port you don't need
Allow SSH through the firewall and only open other ports for services you mean to expose.
Have a way back
Backups are available as a paid add-on and restore from the control panel. You can also reinstall the OS from the control panel at any time.
Built for Always-On Work
The infrastructure under every CometVPS server
6 US Data Centers
99.9% Uptime SLA
NVMe SSD Storage
24/7 Support
Frequently Asked Questions
Common questions about running AI coding agents on a VPS
Give Your Agents a Home
Spin up a server, follow a setup guide, and have your first agent running in a tmux session in minutes.