Self-hosted personal cloud
devplane
One signed install turns a fresh Ubuntu VM into a personal cloud computer whose agent asks before it touches the outside world.
DevPlane is a self-hosted personal cloud computer. One signed install gives a fresh Ubuntu 24.04 VM a single owner, a chat agent, files, services and public hosting, and nothing with outside consequences runs until that owner approves it.
01 / 05 · Ready
The short version
What was hard
Trust. I wanted my own Zo Computer, an agent doing real work on a real machine, but with a stricter default. The agent runs unprivileged, secrets show up as metadata only, and nothing goes public without the owner. The nasty part was approvals. Two approval paths disagreed, and the old one could run a single approval twice under different caller keys.
How I set the agents up
Rust and TypeScript share contracts through codegen, and a check diffs the generated twins, so agents can't let the two sides drift. One contract suite runs against every ingress adapter. The approvals fix went in as eleven small slices across server, node and wire contracts, each specced in OpenSpec first.
How it turned out
One signed install turns a fresh Ubuntu 24.04 VM into a personal cloud computer with chat, services and public hosting. An approval now binds the exact targets, gets used once and is journaled before anything runs, so an effect happens at most once, even across restarts.
Architecture
The browser only talks to the TypeScript server. The Rust node owns the machine, and the sandboxed agent reaches models only through the node's proxy socket.
What's next
Three clean passes on real VMs from one build, for v1.
Then Files, Terminal and Automations, which already have their places in the shell.
Stack and numbers
of work
per approval
The detailsWhy I built it, what it does and the decisions behind it
Why I built it
I wanted my own version of Zo Computer, a personal machine in the cloud with an agent that can do real work on it. The baseline spec says it plainly. DevPlane's public feature set has to stay a superset of Zo's.
I also wanted a stricter default. The owner gets separate admin auth, the agent runs unprivileged, secrets list as metadata only, and public exposure moves through requested, approved, active and revoked. Zo's looser behaviors survive only in an isolated compatibility profile.
It has to stand alone. Files, terminal, services and the agent keep working if the optional fleet control plane goes away.
What it does
- Owner bootstrap from a one-time setup link the installer prints, then a normal sign-in
- Chat with an agent on the node over SSE, with tool-call cards, stop, resume and
@capabilitymentions from a typed registry - Approval-gated effects that the owner decides in the chat card or in one shared inbox
- Service hosting path: register, pass an exact
/healthgate, private preview, owner approval, publish over HTTPS, revoke - Model provider settings with write-only keys, model discovery and per-purpose routing that shows which config layer won
- Signed releases checked with Ed25519 signatures and SHA-256 digests before anything is trusted
- One W3C trace from the browser's action span through the server to the node
Key decisions
Rust owns the computer, TypeScript owns the web API
Why
The Rust node is the durable owner of identity, capability grants, secret leases, audit, ingress and lifecycle. The Fastify and tRPC server and the React apps sit above it.
What it cost
Two languages, so every shared contract goes through codegen, and a check diffs the generated Rust and TypeScript twins.
The agent is not trusted
Why
OMP owns the agent loop, models and sessions. The node runs a pinned OMP child over JSONL inside a bubblewrap sandbox, and the node's model proxy socket is its only way out to a model.
What it cost
A hard dependency on one upstream agent, and CI has to fetch the pinned build and grant user namespaces for bubblewrap.
One conductor executes every action
Why
Two approval paths disagreed, and the old one could run a single approval twice under different caller keys. I made the Effect-based conductor canonical. Approvals bind actor, caller key, intent fingerprint and a digest of the resolved targets, and are consumed once.
What it cost
A migration in eleven slices across server, node and wire contracts, plus new OpenTelemetry dependencies.
Unknown means failed
Why
The client decodes every server answer with Effect Schema and treats anything unknown as a failure. Richer states render only when a producer sends typed evidence, and ingress defaults to an unavailable provider.
What it cost
A lot of defensive normalization code on the client.
Ingress behind a port, Tailscale Funnel first
Why
Publishing had to work now and be swappable later by configuration, for a real domain or a managed VM. One shared contract suite runs against every adapter.
What it cost
Public URLs live on the tailnet's ts.net domain, and someone has to enable Funnel in the tailnet ACL by hand.