Knowledges 6 min

I moved my entire development environment to the cloud

I moved my whole dev environment to my own VPS: agents running 24/7, commands from my phone, and any issue labeled ai-handle gets handled automatically. Here's how I set it up, step by step 😁

Also in: TiαΊΏng Việt Β· δΈ­ζ–‡ Β· ν•œκ΅­μ–΄ Β· ζ—₯本θͺž

I moved my entire development environment to the cloud

Lately I've started moving my development work to the cloud, and... no more prompting. Can you believe it? 😁

Why

  • It's the closest environment to production (Linux), so debugging is easier and you avoid silly bugs caused by OS differences.
  • I can use my phone to command the agents running in the cloud anytime, without keeping my laptop open all the time (yes, fully autonomous AI agents running 24/7).
  • I just configure GitHub hooks so that whenever an issue gets the ai-handle label, the AI agents in the cloud receive the event and start working on it right away. I don't even need to open Terminal or the Codex app.
  • My AI agents on Discord support customers fully automatically: they report a bug β†’ an issue gets created β†’ an agent fixes it in the cloud β†’ reports back.
  • Internet speed in the cloud is usually really fast!
  • Development no longer drags down my crappy laptop's performance. Agents run tons of processes in parallel, plus a bunch of test processes on top, which makes the laptop stutter while I'm doing other stuff. Super annoying...
  • My M1 Mac only has a 512GB SSD. AI agents working on multiple worktrees in parallel eat way too much disk space and way too much RAM. Moving to the cloud helps a lot. Plus, AI reads and writes so much data nonstop these days that it really wears on the SSD too.

A workspace of my own in the cloud

Honestly, this was inspired by Claude's Routines & Cloud Environment feature that I introduced the other day. The problem is that Claude's Cloud Environment has some limitations:

  • Locked into Claude's models.
  • Long-running tasks are unstable: after 2-3 hours it falls asleep and you have to come back and wake it up.
  • Copy-pasting the setup script config and trying it again and again is pretty annoying.

Then I thought: why not build the exact same feature, but on my own VPS? At first I planned to build a tool for it, then I realized there's a super simple way!

How I did it

mermaidflowchart TD
  A["Customer reports a bug on Discord"] --> B["Dewee agent verifies it in the source code"]
  B --> C["Create a GitHub issue labeled ai-handle"]
  C --> D["GitHub hook sends the event to the VPS"]
  D --> E["omp handles the issue via /ak:vibe"]
  E --> F["Status and results reported to Discord"]
The full pipeline once everything is set up

Locked section: 1. VPS (obviously)

Locked section: 2. Orca

Locked section: 3. Install OMP & AgentKit

Locked section: 4. GitHub Hooks

Locked section: 5. Test

Locked section: 6. GoClaw/Dewee: automating customer support on Discord

Locked section: Setup checklist

Locked section: FAQ

Locked section: Once you move to a VPS, how do you test the UI? How do you send screenshots or files to the agents on the server?

Locked section: How do you manage credentials (dotenv, secrets, API keys,...)?

The rest is for Knowledges members

Plus 10 more sections (about 4 min) for members

You are reading roughly the first third. Knowledges, Combo and Community plans unlock paid articles in full; the Zuey AI plan reads previews only.