Skip to content

[Feature] Run the agent computer on a boxd machine #238

Backlog

Description

@MichielMAnalytics

What outcome should OpenFuse handle?

Run each owner's computer on a boxd machine, as a third option next to Docker and E2B Desktop. Full disclosure: I work on boxd.

A boxd machine is a full Ubuntu 24.04 microVM with a desktop and Chromium. What fits OpenFuse's "work that keeps going" model is that the machine is persistent: when the owner is idle it hibernates, and it wakes in about a second with the same disk, processes and browser state. So the computer does not reset between sessions and you only pay while it runs.

Proposed behavior

  • COMPUTER_BACKEND=boxd plus BOXD_API_KEY, modelled on computer-e2b-desktop.ts behind computer-backend.ts.
  • One isolated machine per owner, created on first use, hibernated when idle, woken on the next command, deleted when the owner removes their computer.
  • Commands and files go through the boxd TypeScript SDK (@boxd-sh/sdk). I'd check how best to show the desktop in the app before building.
  • Docs in docs/COMPUTER.md, next to the E2B section.

I saw #190 for another VM backend. This would sit alongside it, not replace anything.

How would we verify it works?

Unit tests with a fake client like the E2B backend has, plus a live test gated on BOXD_API_KEY: start the computer, run pwd, write and read a file, open a page in the browser, hibernate, wake and check the file and browser are still there, then delete. I'd post the real output in the PR.

Would you take a PR for this? If yes, I'll open one that links this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions