Dev.to AI 🤖 Ai 👁 0 📖 4 min read

I Gave an AI Agent Its Own Computer for 30 Days. Here's Everything It Did.

Root privileges, own kernel, no public IP, scoped key, deleted on day 30. A diary of what an AI coding agent did with a machine that was entirely its own — the database it broke and fixed, the email wall it hit, the disk

Root privileges, own kernel, no public IP, scoped key, deleted on day 30. A diary of what an AI coding agent did with a machine that was entirely its own — the database it broke and fixed, the email wall it hit, the disk it filled, and the NOTES.md better than any doc a human ever wrote me.

Three rules before root
Root sounds reckless until you look at where it lives:

  1. Its own box — blast radius is one disposable machine: own kernel, no public IP, default-deny inbound.
  2. Its own key — scoped to a single space; worst case is one project's infra, not the company.
  3. Deleted at the end — day 30 the box dies; anything worth keeping leaves as a snapshot or a file first.
krova cubes create \
  --name agent-1 \
  --image ubuntu-24.04 \
  --ssh-key "$(cat ~/.ssh/id_ed25519.pub)" \
  --vcpu 2 --ram 4 --disk 40 \
  --idle-timeout 60

krova snapshots create agent-1 --name day-zero

That --idle-timeout 60 ended up being a main character. See Day 14.

The diary
Day 1 — It moved in. First act wasn't my assigned task. It wrote a README about its own machine: CPU, RAM, disk, tooling, and a note to itself about where project files would live. Unprompted. Nesting behavior.

Day 4 — Broke the database, fixed it before I noticed. A migration test left Postgres refusing connections. The agent pulled logs, restarted the service, restored from a pg_dump it had taken that morning on its own initiative. Nine minutes of downtime; I found out from the daily summary. With an apology.

Day 9 — Tried to email me. The platform said no. Outbound port 25 is blocked on every Cube — hosts share one outbound address, and one spammer would get it blocklisted for everyone. Twenty minutes diagnosing a timeout, then this line in its notes: "outbound mail is structurally impossible from this machine." It switched to status files I collected with krova cp. Hit a wall, adapted, documented the wall.

Day 14 — Discovered its lease. Sixty minutes with no terminal, no SSH, low CPU → the Cube powers itself off, bills disk-only until woken, and fires a cube.stopped webhook plus a space email as the receipt. The agent couldn't wake it from inside — a powered-off box runs nothing — so my scheduler ran krova cubes wake agent-1 each morning. Its notes: "My computer sleeps when I'm not using it. Efficient. Slightly rude."

Day 21 — Filled the disk. Forty-plus experiment rounds of Docker images ate all 40 GB. The app died loudly; the agent pruned
what it could, and I ran:

krova cubes resize agent-1 --disk 80   # disk only grows — the correct direction for mistakes

Lesson: an agent doesn't feel scarcity unless you make scarcity visible.

Day 27 — Wrote the best documentation I've ever received. Unprompted, it maintained NOTES.md all month: every tool installed and why, every failed command, every workaround, every wall.

krova cp -r agent-1:/home/ubuntu/NOTES.md ./

Most useful artifact of the entire experiment. No human teammate has ever documented a month like that for me.

Day 30 — Deletion day. Final snapshot into backups (backups outlive the Cube), notes downloaded, then:

krova cubes delete agent-1   # asks [y/N] — deleting is forever

I typed y. Thirty days of state gone in seconds, billing stopped the same minute.

What it cost
Less than a team lunch. Metered by the minute; the idle timeout slept the box through every night and weekend (stopped Cubes pay disk only); the disk-fill days show up as exactly two hot days on the bill. Every experiment had a readable price tag — which is why I approved so many.

What I learned giving an agent root

  • Isolation is what makes "yes" possible. On my laptop every request gets "carefully." On its own box it gets "go." Work quality went up as blast radius went down.
  • The computer became its memory. Agents forget between sessions; the box didn't. Persistence was the actual product.
  • The walls did their job. Blocked port 25, no self-wake, no public IP — every wall forced a documented adaptation instead of a silent disaster.
  • The leash length is the decision. Root isn't brave or foolish here — it's scoped. How long the leash is stays an operations call, made on purpose.

The honest part
Tenant, not owner. Waking the box, growing the disk, ending the experiment — all me. It ran the machine; I ran the lease.
Adaptations aren't free. Twenty minutes on a blocked port is twenty minutes off the task.
Disposable root is still root. Scoped key + isolation made this sane. Skip either and the story ends differently.
If you gave an agent its own computer for thirty days, what's the first thing it would break — and what would you want left in the notes file when the box got deleted? Mine kept notes better than I keep journals.

I'm Dhruv Malaviya, CEO of Krova Cloud, Shoptimity & DraftRank: Cubes hand over to agents through @krovacloud/mcp or the Python SDK — LangChain, CrewAI, or the OpenAI Agents SDK — so a model manages its own machine in natural language. Handing an agent root is still you deciding the scope of that root; the leash length is an operations decision, not a platform feature.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.