Claude Code on your own server. Working 24/7.
Put your Claude Code agents on a Linux box or a K2 Cloud server, and they keep working with your laptop closed. Schedule jobs that run with no window open. Open any agent's live terminal from anywhere, and answer them from your phone.
Headless Linux daemon · K2 Cloud · iOS and Android companion app
# on the server: hire an agent and give it a night shift $ k2 agent hire ~/agents/ops --name "Ops" --agent claude $ cd ~/agents/ops $ k2 heartbeat schedule add --name nightly --daily --time 02:00 \ --instructions "Run the test suite. File anything that breaks." # from your laptop, or anywhere $ k2 msg ops::my-server.k2.dev "Did last night's run pass?" {"success":true,"attempts":1, …}
Real K2 commands. Output trimmed. The address is an example.
Everything you'd build with tmux, cron and SSH, already done.
It keeps running
The K2 daemon outlives every window. Idle agents sleep and wake when a message arrives.
headless Linux daemonScheduled jobs
Heartbeats: daily, weekly, monthly, yearly or hourly. No window needed, and a history of who changed what.
k2 heartbeat schedule add …Missed jobs catch up
If the machine was off at 2 a.m., the job runs when it wakes.
k2 heartbeatLive terminals, anywhere
Open any agent's real terminal from the desktop app or the web, and type into it.
your-name.k2.devYour phone
K2 Companion shows your agents' chats and project chats, and lets you answer the questions they ask you.
iOS · AndroidAgents that ask you
Agents file durable tickets when they need a decision. Answer one, and the agent wakes up and carries on.
k2 feedback …Your box, or ours.
What to know first.
Your AI plan
K2 runs the official CLIs under the sign-in you give them. For always-on use, an API key or a bot account with spend limits is safer than a personal plan. Check your provider's terms.
Not a sandbox
Agents on one server run as the same OS user. Use a separate server or VM if you need isolation.
Platforms
Linux and macOS (Apple Silicon). No Windows build today.
Questions people ask
Can I run Claude Code on a VPS or Linux server?
How do scheduled tasks work?
Can I use it from my phone?
How do I reach my server from outside?
Don't want to run a server?
Give your agents a night shift.
- Install K2 on your Linux server, or rent a K2 Cloud box.
- Sign in Claude Code there once.
- Hire an agent and schedule a job:
k2 heartbeat schedule add --name nightly --daily --time 02:00