Skip to content

pocketdev

CLI that sets up a private Hetzner box for running AI coding agents from your phone

Copyleft (OSI) · AGPL-3.0 AI-native

Listed by , founder & editor

31

Health

Dormant

Overview

Stars

111

Last commit

5 months ago

Jun 2026

Repository age

5 months

since Jun 2026

Latest version

v0.1.0

Jun 2026

Contributors

–

Releases

1

last 12 months

Language

Go

pocketdev is a Go command-line tool that provisions an always-on cloud server for AI coding agents. You run it on your laptop, paste a Hetzner token, pick a server size and region, and connect Tailscale. It then installs the agents you choose: Claude Code, Codex, Cursor, opencode, Gemini, Grok or Aider.

The server boots Ubuntu 24.04 behind a Hetzner firewall that drops all public inbound traffic, and it joins your Tailscale network, so no port is open to the internet. You then SSH in from a laptop or from a phone app such as Termius. A second command, pocketdev setup, runs on the box to sign into GitHub, clone your repo and run each agent's login with your own subscription.

You can also adopt an existing server instead of creating one. pocketdev destroy removes a created box and its firewall but never deletes an adopted server. The license is AGPL-3.0. It is a remote-development alternative to hosted cloud environments.

Who it's for

Developers who want to code with an AI agent from their phone

The box stays on and reachable over SSH, so you can resume a session from Termius.

Skip if: You prefer a browser-based environment with no SSH client.

Hetzner and Tailscale users

It automates the firewall, tailnet join and agent installs you would otherwise script by hand.

Skip if: You use another cloud provider or do not want Tailscale.

The problem it solves

Running an AI coding agent on a laptop ties your work to that machine. pocketdev builds a locked-down remote server so you can keep sessions running and reach them from anywhere.

Strengths

  • Supports seven agents including Claude Code, Codex and Aider
  • Firewall drops all public inbound; access is via Tailscale
  • Can adopt an existing server without rebuilding it
  • Prebuilt binaries for macOS and Linux on amd64 and arm64
  • Shows live Hetzner prices before you create a box

Trade-offs

  • Early release at v0.1.0 and dormant
  • Tied to Hetzner and Tailscale
  • Building from source needs Go 1.25 or newer
  • AGPL-3.0 license has network-use obligations

Self-host pocketdev

Self-hostable
Yes

Quick start

go install github.com/0xMassi/pocketdev@latest

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Does it cost anything?

The tool is open source. You pay Hetzner for the server and use your own agent subscriptions.

Which agents can it install?

Claude Code, Codex, Cursor, opencode, Gemini, Grok and Aider.

Which platforms does the CLI run on?

Prebuilt binaries cover macOS and Linux on amd64 and arm64. You can also build it with Go.

Will it delete my existing server?

No. The destroy command never deletes a server you adopted.

Similar tools in Cloud development environments

vibebin

Cloud development environments

Incus-based host for persistent AI coding sandboxes on a single VPS

111 5 3 months ago Dormant Apache-2.0

pequeroku

Cloud development environments

Self-hosted cloud lab with real QEMU/KVM VMs, a browser IDE and an AI agent

66 10 5 days ago Slowing MIT

Replaces Replit

cloudshell

Cloud development environments

Experimental browser terminal workstation built on Cloudflare Workers and Containers

26 1 7 months ago Dormant MIT

code-server

Cloud development environments

Run VS Code on a remote Linux server and use it from any browser

80k 6.9k yesterday Thriving MIT

Replaces VS Code