AI agent hosting
Hosting an AI agent means giving it a Linux machine that never sleeps, a session that survives you leaving, and a public address for what it builds. Here is what that takes, and the shortest way to get it.
Updated November 23, 2026
Agents that run around the clock come in two kinds. Coding agents such as Claude Code, Codex and OpenCode work on a project for hours and want a full development machine. Assistant gateways such as OpenClaw and Hermes Agent sit on a server permanently, answering messages and running scheduled jobs. Both need the same four things.
What an agent host needs
- A machine that never sleeps. Idle timeouts and cold starts stop an agent mid-task, so serverless platforms and sleeping free tiers are the wrong shape.
- A session that survives you leaving. tmux on a server, or a terminal that persists by itself.
- Room to work. Agents install packages, run builds and start databases. Memory matters more than CPU: a few gigabytes is the floor once a build or a browser is involved.
- A way to reach what it makes. A public HTTPS address for the app, a webhook endpoint for a bot, SSH for you.
Hosting agents on an EnvHaven workspace
An EnvHaven workspace is a Linux server of your own with all four in place before you arrive:
- Agents ready to start. The workspace’s Launch menu lists 17 built-in agents, Claude Code, Codex, OpenCode, OpenClaw and Hermes Agent among them. Pick one and sign in once with Sign in, or save an API key with Set key where the agent takes one, and from then on it starts with one tap. Most start without approval prompts.
- A machine that stays on. There is no idle shutdown, no sleep and no cold start, and the terminal is one tmux session that keeps running after you close the tab.
- A public address. The app you run on port 3000 is live at
https://preview-<workspace>.envhaven.app, and a custom domain attaches with a CNAME. - Every way in. Open it in a browser on any device, phones included, from an SSH app, or from your own editor through the Haven CLI; the browser, SSH and the CLI share that one session.
Each agent bills to your own account with its provider, and EnvHaven adds no token markup. Plans start at $15 a month, billed annually. Hobby (2 vCPU, 4 GB) suits one agent working a project end to end, Plus (4 vCPU, 8 GB, Docker) has room to run your apps beside the agents, and Pro (8 vCPU, 16 GB) gives several agents room to work at once.
On a server you manage yourself
Rent a VPS, then install and wire everything yourself: SSH keys, a firewall, Node and Python, each agent with its own installer and sign-in, tmux, a reverse proxy with HTTPS, and updates for all of it. It is cheap in money and expensive in evenings, and every agent you add brings its own setup.
The workspace image is also open source. If you would rather run it on your own hardware, the self-hosting guide shows how.