LoopForge icon indicating copy to clipboard operation
LoopForge copied to clipboard

[Feature]: Guide for running an execution machine on a cloud VM (boxd)

Open MichielMAnalytics opened this issue 2 weeks ago • 1 comments

Problem

The Compose deployment mounts the host Docker socket so AI SOPs run out of the box, and docs/deployment.md explains that this is equivalent to root on the host. The alternative it suggests is to remove the socket and connect a separate Docker-capable worker or execution machine. There is no guide yet for setting one up on a cloud VM, so most people keep the socket.

Proposed behavior

A short guide in docs/deployment.md (or a page under docs/) for running an execution machine on a cloud VM, using boxd as the example. boxd machines are full Linux VMs with Docker installed, so the runner and its Docker sandboxes run there, away from the platform host:

  1. Create a machine and open a shell on it.
  2. Install the runner with /runners/install.sh and the binding code from the execution-machine page.
  3. Remove the docker.sock volume and AGENTFLOW_LOCAL_SANDBOX from compose.yaml on the platform host.

I work on boxd. If you are open to it, I would test the steps end to end against a real LoopForge install and open a docs-only PR. No code changes.

Scope

Documentation

Alternatives considered

A boxd sandbox driver that gives every task its own VM. That touches the runtime, so I would only propose it if you want it.

Checks

  • [x] This proposal does not require organization-specific infrastructure or credentials.
  • [x] I searched existing issues and discussions for similar proposals.

MichielMAnalytics avatar Nov 16 '26 00:11 MichielMAnalytics

Thanks for the proposal! As I understand it, you'd like a short guide in the docs for running a LoopForge execution machine on a cloud VM (using boxd as the example), so that deployments can drop the host docker.sock mount and run Docker sandboxes on a separate machine instead. You've also offered to test the steps end to end and open a docs-only PR.

We've seen this and will look into it through the regular issue queue.

cocofhu00 avatar Nov 16 '26 10:11 cocofhu00