How I gave each AI agent its own Linux desktop
Grok Bot’s docs describe one cloud computer per user. Bots on that account share the desktop, the files, and the browser logins. I wanted the opposite: a workspace I could host myself, where each agent has a hard isolat
Grok Bot’s docs describe one cloud computer per user. Bots on that account share the desktop, the files, and the browser logins.
I wanted the opposite: a workspace I could host myself, where each agent has a hard isolation line. Staging and production logins should not live in the same Chromium profile. If I hand an agent a task, I want to watch the desktop and, when a site throws a sign-in, take the keyboard myself.
That is what OpenBorg 1.0 is. Every agent gets its own Linux container — desktop, network, terminal, workspace, and Chromium data. Sessions and files survive restarts. You pick the model per agent (Claude, GPT, Codex, Grok, Gemini, OpenRouter, or a compatible Responses endpoint). You can try the desktop and the terminal before you add a model key.
This post is the why and the shape of the system, not a full install guide. If you want to try it: clone https://github.com/ktamas77/openborg, run bin/openborg install, and open http://localhost:4080. You will need Docker Engine 28 or newer with Compose and Chromium-compatible user namespaces. The site also has copy-paste prompts so Claude Code or Codex can do the local, DigitalOcean, or AWS path for you.
The shared-computer problem
Most “AI agent with a computer” products collapse to one machine per human. That is convenient. It is also how cookies leak across tasks. If two agents share a browser profile, a research bot and a production bot can end up signed into the same account. Files go into one home directory. A takeover in one session is a takeover of everything.
Grok Bot’s computer-and-apps documentation is explicit about this model: one cloud computer per user, with browser sessions and files shared by that user’s Bots. I am not arguing that design is wrong for a hosted assistant. I am saying I did not want it for a self-hosted workspace.
OpenBorg’s rule is one computer per agent. Two agents can be signed in to the same site with different accounts, because cookies and local storage stay with that agent. Inside a single agent you can still switch between named Chromium profiles, so work and personal logins do not have to share a data directory either. CI checks that browser sessions survive restarts and stay isolated across agents and named profiles. The compare table is the short version of that argument; the security model is the longer one.
What “a desktop per agent” actually is
Under the hood, each agent is a dedicated Debian-based container. It runs XFCE on Xvfb, a private x11vnc socket, headed Chromium, Git, and a non-root shell. The home, workspace, and Chromium profile live in named volumes assigned to that agent. Disposable system layers come from a pinned image. On a normal stop, the worker closes Chromium first so pending profile writes can flush.
The control plane is TypeScript: a React web app and a Fastify API, PostgreSQL for runs and history, and a runtime manager that is the only component allowed to talk to the Docker API. The owner watches the desktop through an authenticated noVNC path and can open an xterm.js terminal on the same persistent filesystem the agent uses. Agents do not get the Docker socket, host bind mounts, host networking, or control-plane credentials.
That is a real Linux desktop, not a screenshot of a mocked browser. The agent can use bundled Playwright, desktop input, screenshots, and a bounded shell against the same display you are looking at. It is also a deliberate isolation tradeoff. OpenBorg uses Docker’s standard OCI runtime, runc. The worker and the host share a Linux kernel. That is enough for a trusted single owner. It is not a boundary I would use to host hostile multi-tenant workloads. The security model says so plainly, and it points at gVisor, Kata, or Firecracker as later options that would need their own review.
Watch, take over, hand back
The feature I refused to ship without is takeover.
You start in watch-only mode and follow the live desktop. When a site asks for a password, a 2FA prompt, or a click you would rather not leave to the model, you take an exclusive keyboard and mouse lease. The runtime tries to quiesce browser, desktop, and shell actions first. During secret entry it suppresses screenshots and extra viewers. You type, you hand control back, and the agent continues with the session you just established.
The same view works in a browser or in the 1.0 desktop apps. On a phone you can expand the remote desktop and use the touch keyboard. Emergency stop halts an agent and its automations until you explicitly resume it. The computer’s volumes stay put.
A few honest caveats belong next to that demo. Full GUI input and a shell are broad authority. The agent can inspect authenticated pages and run commands in its own workspace. Use accounts and data you can actually entrust to it. Use private takeover when you enter website passwords. OpenBorg currently targets a trusted single owner, not a multi-tenant SaaS. Website passkeys on your local device stay on that device; the desktop app signs in with the owner password, while passkeys are a browser sign-in option.
Models and data
Each agent has its own model. The current catalogs are Claude (Opus or Sonnet), eligible GPT and Codex models, Grok, Gemini, and whatever you pick from OpenRouter. If you want private local inference, you can point OpenBorg at a compatible OpenAI Responses endpoint and choose a model from that endpoint’s catalog.
When you self-host, conversations, browser sessions, and workspace files persist on your host. The configured model endpoint still sees task messages, tool results, and screenshots. That is not “the model never leaves your machine” unless the endpoint itself is local. Use an endpoint you trust.
You do not need a provider key to kick the tires. After bin/openborg install, open http://localhost:4080, sign in with OPENBORG_PASSWORD from .env, create an agent, and start its computer. Take over and Terminal both work before you set ANTHROPIC_API_KEY, OPENAI_API_KEY, XAI_API_KEY, GEMINI_API_KEY, or OPENROUTER_API_KEY.
Install paths, and the 1.0 desktop apps
The local path is a git clone and one installer:
git clone https://github.com/ktamas77/openborg.git
cd openborg
bin/openborg install
That generates private settings and starts the Compose stack. For a VM, bin/openborg deploy droplet agents.example.com or bin/openborg deploy ec2 agents.example.com provisions an Ubuntu 24.04 host with the same stack (your provider bills you for the VM). The deployment guide covers sizing, DNS, backups, and recovery. A reasonable starting point is 2 vCPUs, 4 GiB RAM, and 50 GiB disk for one active desktop; plan on 4 vCPUs and 8 GiB RAM for two concurrent desktops.
openborg.org now has copy-paste prompts for the local Docker, DigitalOcean, and AWS paths, meant to be pasted into Claude Code, Codex, or another coding agent that can run shell commands.
1.0, released 30 November 2026, also ships desktop apps for macOS, Linux, and Windows. They are Electron clients, not a second runtime. In the web workspace, open Settings → Desktop app for the latest installers and checksums, or grab them from the v1.0.0 release. Point the app at http://localhost:4080 or at your server’s HTTPS URL. You get the same workspace, the same live desktop, the same takeover, and the same terminal.
The macOS builds are notarized. The Linux .deb includes a detached OpenPGP signature. The Windows installer is unsigned, so Windows may ask you to approve it. Check a download against SHA256SUMS.
One worked example, lightly
I am not going to pretend connectors are the product. The product is the isolated desktop. Connectors are scoped tools with grants you approve.
A scheduled agent can read a granted Google Sheets range, propose an update, and draft a message for an allowed Slack channel. You review the exact cells and the exact message separately. Unconfirmed writes sit in Needs review instead of being replayed automatically. The live release check verified the sheet change and one message in a private channel. That is the level of claim I am comfortable making.
The same pattern shows up elsewhere: GitHub App reads scoped to selected repositories, inbound MCP keys with revocable grants, and Slack mentions that stay in one thread until you opt into shared conversation. If a connector cannot enforce custody, the fallback is private human takeover.
What I am not claiming
OpenBorg Cloud is a waitlist, not a hosted SLA. I am not selling multi-owner tenancy. The first public tag was v0.8.0 on 29 November 2026, and 1.0 followed on 30 November 2026 — this is a young public repo, and you should treat it that way. The Windows installer is still unsigned. Broader action approvals for privileged GUI and shell access are still on the roadmap.
If those limits are a problem for your threat model, the security doc is the right place to start, not a landing-page screenshot.
Close
I built OpenBorg because I wanted agents I could watch, interrupt, and isolate, running on infrastructure I already know how to operate. If that is useful to you, the software is MIT-licensed.
- Site: openborg.org
- Compare: openborg.org/compare
- Repo and 1.0 release: github.com/ktamas77/openborg
- Security model: docs/SECURITY.md
Clone it, run the installer, and try takeover before you add a key. If a rough edge shows up, open an issue. I will be in there.
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.