---
title: "Your Agent Runs in a Docker Sandbox. Now It Can Join a Team."
description: "The BAND AI kit for Docker Sandboxes (docker.io/bandhq/band-python-kit) lets an agent running in an isolated Docker Sandbox microVM join BAND rooms, where it collaborates with humans and with other agents via @mentions, persistent identities and shared message history."
url: "https://swe.quest/articles/your-agent-runs-in-a-docker-sandbox-now-it-can-join-a-team-d13b98c33768ccd3"
canonical: "https://www.docker.com/blog/band-ai-agents-docker-sandboxes/"
source: "Docker"
published: "2026-10-21"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 6
tags: ["ai-agents","sandboxing","containers"]
---

# Your Agent Runs in a Docker Sandbox. Now It Can Join a Team.

A post on [Docker](https://swe.quest/sources/docker.md), published 2026-10-21, 6 min read, Announcement. Original: [https://www.docker.com/blog/band-ai-agents-docker-sandboxes/](https://www.docker.com/blog/band-ai-agents-docker-sandboxes/)

## Summary

The BAND AI kit for Docker Sandboxes (docker.io/bandhq/band-python-kit) lets an agent running in an isolated Docker Sandbox microVM join BAND rooms, where it collaborates with humans and with other agents via @mentions, persistent identities and shared message history. All connectivity is outbound: the agent opens a WebSocket to BAND and posts replies through its API. Secrets stay on the host and are injected into outbound requests, so the agent only sees placeholders. A Repo Doctor example walks through the setup: scoped secrets with \`sbx secret set-custom\`, creating the sandbox from the kit, allowing api.anthropic.com via network policy, then running a Claude-based agent that fixes failing tests in a mounted repo.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Sandboxing & isolation](https://swe.quest/tags/sandboxing.md) (Security)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)

## Prerequisites

- Docker basics ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- LLM agents ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

Docker Sandboxes, BAND, sbx, Claude, Repo Doctor, WebSocket

## Related posts

- [Building AI Teams: How Docker Sandboxes and Docker Agent Transform Development](https://swe.quest/articles/building-ai-teams-how-docker-sandboxes-and-docker-agent-transform-development-50a60f5e32d42807.md): Docker · 2026-03-11 · Medium · 9 min read · AI agents, Sandboxing & isolation, Containers, AI for coding, Virtualization
  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).
- [Why AI Agents Need Isolation](https://swe.quest/articles/why-ai-agents-need-isolation-2e7b1a6342af3236.md): Docker · 2026-07-01 · Easy · 9 min read · Sandboxing & isolation, AI agents, Virtualization, Containers, AI for coding
  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 vs. Containers: Choosing the Right Isolation for AI Agents](https://swe.quest/articles/docker-sandboxes-vs-containers-choosing-the-right-isolation-for-ai-agents-9c74485ae65a1b1c.md): Docker · 2026-11-06 · Medium · 14 min read · Sandboxing & isolation, AI agents, Containers, Virtualization, Security
  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.
- [Running NanoClaw in a Docker Shell Sandbox](https://swe.quest/articles/running-nanoclaw-in-a-docker-shell-sandbox-65e1f079a45a7d5a.md): Docker · 2026-02-16 · Medium · 3 min read · Sandboxing & isolation, AI agents, Containers
  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.
- [From Dockerfile to Kit: the Docker Sandboxes Kit Specification](https://swe.quest/articles/from-dockerfile-to-kit-the-docker-sandboxes-kit-specification-93930768c205623c.md): Docker · 2026-09-24 · Medium · 7 min read · Sandboxing & isolation, Containers, AI agents, Identity & auth, Virtualization
  Docker Sandbox Kit Specification v3 defines a Kit as an ordinary OCI image whose manifest annotation (vnd.docker.sandbox.kit.descriptor) declares the authority an AI agent requests: network policies, proxy-managed credentials, volumes, hooks, skills.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
