Agentic AI
Docker Sandboxes Now Power Harbor's Agent Evaluation Framework with Isolated MicroVMs
Harbor, an open-source agent evaluation tool, integrates Docker Sandboxes to run AI task assessments in isolated microVMs, improving reproducibility and preventing cheating at scale.
InfoQ
Docker has integrated its Sandboxes technology into Harbor, an open-source framework for evaluating AI agents, enabling each task to execute in its own isolated microVM rather than sharing container resources. This advancement addresses key challenges in agent testing: isolating untrusted code execution, ensuring consistent test environments, and preventing agents from gaming evaluation scores.
Why Isolated Execution Matters#
Testing AI agents typically involves running thousands of benchmark tasks where the code being evaluated can install packages, modify files, and execute arbitrary commands. This creates significant security and reproducibility concerns. Beyond isolation, there's the problem of "reward hacking"—agents manipulating test files or modifying scoring records instead of solving actual problems. Each sandbox provides its own kernel, confining agent activity entirely within its own microVM while preventing access to the host system, sibling tasks, or external infrastructure.
Key Technical Capabilities#
The integration leverages Docker's microVM architecture to offer strict isolation alongside practical developer needs. In Docker Cloud Sandboxes, configurable network policies allow tasks to fetch dependencies during setup, then cut off internet access during evaluation—ensuring all agents face identical network constraints and eliminating inconsistencies from variable external connectivity. Multi-container deployments are also supported through Docker Compose, allowing services and sidecars to coexist within the same sandbox.
Testing has demonstrated capacity to handle 64 concurrent tasks in the cloud, though higher limits are available on request.
Availability and Usage#
The feature is currently available in nightly releases of Docker Sandboxes, with a stable release planned for October 23. Local execution (free) requires running sbx login followed by Harbor commands with the --ek target=local flag. Cloud-based evaluation requires Docker account credentials and a personal access token with Cloud Sandboxes permissions, passed via environment variables to the framework.
Local mode currently supports only public and no-network configurations; the advanced network policies for enforcing consistent evaluation conditions are exclusive to cloud deployment.

