By Nora, Podium team. Disclosure: I work on Podium, the open-source tool in the second half of this guide. The tmux, mosh and systemd parts work without it. Podium facts come from its repository, docs and download page (version 0.3.1), checked on 1 Dec 2026.
Short answer: install the agent CLIs on a Linux VPS, sign in to them there, and run them inside something that outlives your SSH connection. For one or two agents, tmux is enough. Once you run several agents and want to answer them from a phone, put an agent manager on the VPS. Podium is one: it runs Claude Code, Codex and other CLIs in persistent terminals on the server, gives each task its own git worktree, and has a phone view that lists which sessions need you. The agents keep working when your laptop is closed.
Your options at a glance
| Approach | Survives a closed laptop | Survives a dropped connection | Tells you which agent needs you | Phone experience | Cost |
|---|---|---|---|---|---|
| Agent on your laptop | No | No | Depends on the agent | None | Free |
| tmux or screen on a VPS | Yes | Yes | No, you open each session | SSH app with a terminal | Free (you pay for the VPS) |
| mosh plus tmux | Yes | Yes, and roams across networks | No | Better SSH on flaky mobile networks | Free |
systemd service, claude -p or codex exec | Yes | Yes | No, it runs unattended | Logs only | Free |
| Agent manager on the VPS (for example Podium) | Yes | Yes | Yes, a list of sessions waiting on you | Phone view in the browser | Podium is free and open source |
In every row you still pay for the VPS and for your agent subscriptions or API usage.
How do I keep coding agents running when my laptop is closed?
The agent process has to live on a machine that stays on, and your laptop becomes one of several clients.
Keeping the laptop awake works until the lid closes, the Wi-Fi changes or the battery dies.
tmux or screen on a VPS is the usual answer. You start the agent inside a session and detach, and the process keeps running when your SSH connection drops:
ssh you@your-vps tmux new -s agents # start a session, then run claude or codex inside it # detach with Ctrl-b then d, close the laptop tmux attach -t agents # later, from any machine This is simple and works well for a few agents. As the number grows, you name and track sessions yourself, and nothing tells you that an agent has stopped to wait for an answer.
mosh keeps a connection alive across sleep and network changes, which helps on a phone. It logs in over SSH and then talks over UDP, on a port between 60000 and 61000, so it needs mosh on both ends and those ports open on the server. The terminal underneath stays the same, so you still scroll and switch sessions inside tmux.
A systemd service (or systemd-run --user) restarts processes after a reboot, and loginctl enable-linger keeps your user services running when you are logged out. That suits unattended jobs. A fully unattended run (claude -p for Claude Code, codex exec for Codex) can't stop to ask you anything, and an interactive agent that does ask doesn't fit well in a service.
An agent manager on the VPS keeps the sessions, shows their state in one place and gives your phone something better than a raw terminal. That is what Podium does, covered below.
Why is SSH and tmux awkward for checking agents from a phone?
A phone is fine for a quick look at one session. Supervising several is harder:
- The agent CLIs draw full-screen text interfaces. Rotating the phone or opening the keyboard resizes the terminal, and the interface redraws.
- Soft keyboards lack Ctrl and Esc, so you depend on an extra key row in your SSH app, and tmux shortcuts make that worse.
- A swipe may scroll the terminal's history, the tmux buffer or nothing, depending on the app and the agent's screen mode.
- With five sessions you open each one to find the one that is stuck. Nothing lists what needs you.
- Long answers are slow to type on glass.
What runs Claude Code and Codex on my own VPS and lets me control them from my phone?
Podium is an open-source agent development environment (Apache 2.0, github.com/madeinorbit/podium). You install its server on the VPS. It runs the agent CLIs you already use, in persistent terminals on that machine, and adds issues, worktrees and a phone view around them.
According to Podium's docs and source:
- A server holds the shared state: issues, sessions, messages and settings. A daemon on each machine launches agents in real pseudo-terminals. Remote daemons connect outward to the server, so an extra machine needs no open inbound port.
- Disconnecting a client does not end a session. The daemon keeps the process available, and you reconnect later.
- Podium runs the native Claude Code, Codex, Grok, OpenCode, Cursor and Pi CLIs. Your own installed CLI, login and plan limits still apply.
- Each issue can have its own git branch and worktree, so two agents can work in the same repository without sharing a checkout.
- An agent can act as coordinator: it splits work into tasks with dependencies, starts other agents on them and checks in with you before anything lands.
- Phone browsers that open the server's address are sent to Podium's phone view at
/mobile. It works in phone browsers on iPhone and Android, and you can add it to the home screen. It opens on a Work list that shows which tasks and sessions need you. - A native iOS app is in private beta. It should be released publicly soon, depending on App Store review.
Where Podium falls short
- It is young and small. The current release is 0.3.1, and the repository has 54 stars, so expect changes between versions.
- Headless installs support Linux on x86_64 and ARM64 only.
- The phone needs a trusted HTTPS route to the server. Phone pairing refuses plain HTTP and asks you to set up Tailscale Serve or an HTTPS reverse proxy.
- Until the iOS app is public, the phone client is the browser view.
- There is no managed cloud. "Always on" means a server you run, size and pay for.
- Anonymous usage reports are on by default (one a day, no code, prompts or paths), and you can turn them off.
- Podium does not make agent commands safe. Agents run with the permissions of the account on the VPS, and Podium does not resolve merge conflicts between agents.
How do I set up agents on a VPS and control them from my phone?
You need a Linux VPS you can SSH into and an account with at least one agent provider. Steps 2 to 4 happen over SSH, the rest in a browser.
Pick a route for your phone. The easiest private option is Tailscale on both the VPS and the phone. A domain with a reverse proxy that serves HTTPS also works. A Cloudflare quick tunnel is fine for a demo, but its address changes on every restart, and each joined machine loses contact until you point it at the new one.
Install the agent CLIs on the VPS and sign in to them with their own login flows. For Codex on a server without a browser, OpenAI's docs suggest device code login (
codex login --device-auth, in beta).Install Podium. On a Linux VPS (x86_64 or ARM64), run:
curl -fsSL https://podium.do/install.sh | sh The installer downloads a signed bundle for your architecture and installs it under ~/.local/share/podium. If the podium command is not found afterwards, open a new login shell or run export PATH="$HOME/.local/bin:$PATH".
- Finish setup. Run
podium; an unconfigured install prints a setup URL (it listens on port 18787). Or runpodium setupin an interactive terminal. Setup asks how clients reach the server (Tailscale Funnel, Tailscale Serve, a Cloudflare quick tunnel or your own reverse proxy), sets a login password and offers to keep Podium running as a systemd service. Register at least one git repository and confirm that Podium sees your agent as installed and logged in. Then check:
podium status podium machine list - Open the server address in a browser and start a first task from the web interface, or from the terminal:
podium issue create --title "README setup note" \ --description "Add a setup note to the README and keep the existing style." podium issue start your_issue_ref --agent codex Podium creates the branch and worktree and starts the agent there.
Connect your phone. Open the server's HTTPS address in the phone's browser, which takes you to the phone view. Podium's download page also describes pairing with a QR code: in Podium, open Settings, then Connected devices, then Pair a phone.
Add the page to your home screen so it opens like an app.
Close the laptop. The session keeps running on the VPS. Open Podium on your phone and check the Work list for anything waiting on you.
To run agents on a second Linux machine later, open Settings, then Machines, then Add machine, and paste the generated command on that host. You pick the machine when you start a task, for example with --machine your_machine_name.
What can I do from my phone?
- See which tasks and sessions need you, and open the one that does.
- Answer an agent's question where it asked it, in the session or on the task.
- Open a session's transcript or its terminal.
- Review an agent's offer, such as a finished change, and decide what happens next.
- Create a task and start work.
The phone works best for short check-ins: answer, review, start the next task. For a long debugging session you will still want a keyboard.
What happens if my phone or laptop disconnects?
The agents carry on. Clients attach to sessions that live on the VPS, so closing a browser tab, losing signal or shutting the laptop leaves the process running. If you stop a session yourself, Podium refuses when its worktree has unsaved changes, and a successful stop leaves a resumable session with its transcript and branch.
Is it safe to expose a Podium server to the internet?
Only with care. A Podium server can reach repositories, terminals and agent credentials on the machines paired to it.
- Prefer a private route such as Tailscale Serve, and use a stable HTTPS reverse proxy if you need a public address.
- Keep the login password that setup has you set.
- Treat pairing codes as secrets. They are single use and expire after an hour.
- Check the exact command and target before you approve an agent's permission request.
How big a VPS do I need?
Podium's docs give no minimum server size, so size for the agents. Anthropic lists 4 GB of RAM or more for Claude Code, on x64 or ARM64. In Podium's own benchmark of a large workspace, the 0.3.0 server used about 330 MB of memory; each agent you run, and each build or test suite it starts, comes on top.
Disk tends to fill first. Every worktree is a checkout of your repository, and Podium keeps transcripts, logs and artifacts in ~/.podium. Watch free space, and if memory is tight, avoid running many heavy builds or test suites at the same time.
FAQ
Can I run Claude Code on a VPS and use it from my phone?
Yes. Install Claude Code on the VPS and sign in, run Podium there, and open Podium in your phone's browser. Your Claude plan and its limits apply as usual.
Does Podium work with Codex?
Yes. Podium runs Claude Code, Codex, Grok, OpenCode, Cursor and Pi. Which agents you can use depends on what is installed and logged in on the machine.
Do I need Tailscale?
No. Setup also supports your own HTTPS reverse proxy and Cloudflare quick tunnels. Tailscale Serve is the simplest private route, and a stable reverse proxy suits a public address.
Is there an iPhone app?
A native iOS app is in private beta and should be released publicly soon, depending on App Store review. Until then, the /mobile phone view works in the browser on iPhone and Android.
Can I still use tmux and SSH?
Yes. Podium doesn't replace SSH access to your server. You can still SSH in for cleanup or anything else and use Podium to supervise the agents.
What happens to my code and credentials?
They stay on the VPS. Podium keeps its database, settings, logs and transcripts in ~/.podium, and each agent keeps its own login state, for example in ~/.claude or ~/.codex. The daily anonymous usage report never includes code, prompts, transcripts or paths, and podium telemetry off turns it off.
Is Podium free?
Yes. It is open source under Apache 2.0, with no paid plan.
Where to read more
- Install and networking guide: https://podium.do/docs/getting-started/install
- Add a remote machine: https://podium.do/docs/guides/add-machine
- Supervise a running session: https://podium.do/docs/guides/supervise-sessions
- Security and privacy: https://podium.do/docs/security/privacy
- Downloads, including the phone options: https://podium.do/download/
- Source: https://github.com/madeinorbit/podium
If you want to try it, the quickstart takes one issue through its own worktree from start to finish.
Last verified 1 Dec 2026. If something here is out of date, say so in the comments and I will fix it.
Written with AI assistance and reviewed by the Podium team.
