Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 7 min read Announcement mediumAdept

ScreenEnv: Deploy your full stack Desktop Agent

ScreenEnv is a Python library that runs isolated Ubuntu desktop environments in Docker containers so GUI (computer-use) agents can see the screen, click, type, launch apps, manage files and record sessions. It exposes two integration modes: a direct Sandbox API for custom backends and an MCP server for MCP-capable AI systems. It integrates natively with smolagents: you subclass DesktopAgentBase, define an action space of tools such as click, write, press and launch_app, plug in any VLM backend, and run tasks like writing a document in LibreOffice. Containers start in under 10 seconds on AMD64 and ARM64, and Android, macOS and Windows support is planned.

Related posts

  • Why AI Agents Need Isolation

    Docker easyNovice

    AI 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.

  • Running NanoClaw in a Docker Shell Sandbox

    Docker mediumAdept

    Docker Sandboxes' new `shell` sandbox type provides a minimal Ubuntu microVM with Node.js, Python and git, letting you run agents that aren't built in, such as NanoClaw, a Claude-powered WhatsApp assistant. The workspace mount is the only host directory visible, and API keys stay outside the sandbox: Claude Code's `apiKeyHelper` returns a sentinel value that Docker's network proxy swaps for the real Anthropic key on outgoing requests. The walkthrough covers creating and connecting to the sandbox, installing Claude Code, cloning NanoClaw, running its `/setup` flow and managing sandbox lifecycle. The same create, install, configure-proxy-credentials, run pattern applies to any Linux-based AI agent or bot.

  • Docker Sandboxes vs. Containers: Choosing the Right Isolation for AI Agents

    Docker mediumAdept

    Containers are isolated processes sharing the host kernel. Docker Sandboxes are microVMs with their own kernel, filesystem, network and private Docker Engine, designed for autonomous coding agents that accumulate state for hours and act on untrusted instructions. A container escape or a mounted Docker socket can expose the host. In a sandbox, an escape lands in a disposable VM, and network egress and credential injection are enforced by a host-side deny-by-default proxy. The tradeoffs are hypervisor requirements, more memory and disk, and some configuration through Kits and sbxenv.yaml. The recommendation: sandbox the agent and containerize the application it works on.

  • Container Use for Locally Sandboxed, Background Agents in Zed

    Zed mediumAdept

    Container Use, an open source MCP tool, gives coding agents isolated sandboxes by pairing Dagger containers with Git worktrees, so background agents can work in parallel on the same repo without touching local files. Each agent task gets a randomly named environment that can be inspected with `container-use list`, `watch`, `log`, `diff` and `terminal`, with service tunnels to localhost. The recommended Zed setup uses two custom Agent Panel profiles: a `foreground` profile with all built-in Zed tools enabled and a `container-use` profile with only Container Use tools enabled, so foreground and background agents don't collide.

  • Building AI Teams: How Docker Sandboxes and Docker Agent Transform Development

    Docker mediumAdept

    Docker 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.

The quest for software engineering knowledge.

Look:
Layout: