How two engineer side projects became the agent taking action inside Dropbox
Dropbox's file-acting agent grew out of two engineer prototypes, a server-side sandbox with installed software and a desktop chat UI with permission controls, merged into one system. Each conversation gets a fresh VM restored from a QEMU memory snapshot via the Riviera content-processing platform, with Dropbox files mounted through rclone. The VM has no general internet access, and all outbound requests go through a proxy to host_tools outside the VM, which checks destinations, operations and user-granted folder permissions before attaching credentials. The UI speaks the Codex App Server JSON-RPC protocol (threads, turns, items), and an adapter lets the Pi harness reuse it. Every agent-made file version is tagged with its conversation so a turn can be undone precisely, with conflicting edits saved as renamed copies. 75% of workspaces are ready within 300 ms, and tools sit on a separate virtual disk so the snapshot needn't be rebuilt.
Related posts
- Where should your code live in a Docker Sandbox?
Docker mediumAdeptDocker's sbx sandboxes for coding agents support three ways to place a repository, and each changes how the human participates. Mounting the host checkout gives live shared editing and hot reload, but branch switches and dependency installs are shared, and native binaries like esbuild can break across Linux and macOS/Windows. Mounting a host git worktree isolates tasks but leaves the agent without Git, because the .git file points outside the mount. Clone mode or a mountless sandbox keeps an independent checkout with full Git, at the cost of handoff via remotes, `sbx ports` publishing for previews, and losing files when the sandbox is deleted.
- Why AI Agents Need Isolation
Docker easyNoviceAI coding agents that run commands, install packages and handle credentials should execute behind an isolation boundary rather than directly on the developer's host. Docker Sandboxes (sbx) runs agents in microVMs instead of plain containers, because containers share the host kernel. Docker built its own VMM rather than using Firecracker so the same model works on macOS and Windows as well as Linux. Credentials stay on the host: the agent sees a sentinel placeholder, and a proxy swaps in the real auth header on outbound requests. Sandbox Kits package tools, network rules, credentials, files, startup commands and agent memory (e.g. AGENTS.md) into reusable specs, either as stackable Mixin Kits that extend an existing agent or as Agent Kits that define a full agent environment from scratch.
- Agents in the Sandbox
Railway mediumAdeptRailway sandboxes now ship Claude Code, Codex, OpenCode and Pi in the default image and can join an environment's private network, which lets agents test against real Postgres, Redis and internal services. The suggested workflow builds a template, configures a sandbox, takes a disk checkpoint, then creates or forks sandboxes from it so parallel agents start from a prepared workspace. Templates are cached builds from shell instructions, checkpoints are server-side disk snapshots that outlive the source sandbox, and forks clone a running sandbox's files but not its processes. TypeScript SDK and CLI examples cover detached agent sessions you can reattach to, port forwarding and a four-agent repo review app.
- Building Agents that Don't Break Themselves
Fly.io mediumAdeptSeparate where an agent lives from where it executes code: keep the agent loop on a durable host and send every shell command to a disposable Sprite sandbox. SpriteDoc, an internal multi-user troubleshooting agent built on Pi, creates one Sprite per session on first filesystem use and tears it down when idle. It injects each user's flyctl token only for the duration of a single command, so no credential ever rests in the sandbox. Kyle's Hermes Agent backend instead keeps one persistent Sprite per task and skips dangerous-command approval prompts because the sandbox is the security boundary. Copy-on-write checkpoints let an agent that deletes its own work and toolchain be restored in about nine seconds.
- Building AI Teams: How Docker Sandboxes and Docker Agent Transform Development
Docker mediumAdeptDocker Agent defines teams of specialized AI agents in YAML, where a root "product manager" agent delegates to designer, engineer, QA and fixer sub-agents, each with its own model, instructions and toolsets (filesystem, shell, think, todo, memory, MCP). Docker Sandboxes runs these agents inside dedicated microVMs (Docker Desktop 4.60+), mounting the project at the same absolute path, withholding host environment variables, and enforcing network allow/deny lists so agents can install packages and run commands without touching the host. A step-by-step walkthrough builds a Gradio bank app with a four-agent team. Limitations: everything is experimental, microVM sandboxes require macOS or Windows, and only one sandbox is allowed per workspace.