Sign inSign up

docker/sbx-kit-claude-acp

Verified Publisher

By Docker, Inc.

•Updated 2 days ago

Runs the Claude ACP adapter inside a Claude sandbox over stdio.

Sandbox Kit
Image
0

1.7K

docker/sbx-kit-claude-acp repository overview

Digest

sha256:5a7a2c97efef…

Size

150.7 MB

Schema

v3

Pushed

2 days ago

Specificationspec.yaml

MIXIN

The Agent Client Protocol adapter for Claude Code as a mixin — the claude-agent-acp stdio server with its Node runtime in an overlay, bound to the composed claude binary. Layer it onto a base that composes the claude-mixin kit and point an ACP client (such as Zed) at `claude-agent-acp`.


Arguments
NameRequiredDefaultDescription
versionOptional0.84.0

claude-agent-acp release to install



CapabilitiesExpand a row to see its full configuration. See the full spec for the complete descriptor.
TypeRequiredDescription
com.docker.sandbox/agent-context@1Required—

Requiresclaude

Apply this mixin to a sandbox

sbx run <agent> --kit docker/sbx-kit-claude-acp:latest

Make sure you have docker sbx installed

Run the following command to install sbx on your machine.

macOS
brew install docker/tap/sbx
Windows
winget install Docker.sbx
Learn more about docker sbx⁠

Note

Experimental: Sandbox Kit v3

This kit uses the experimental Sandbox Kit specification⁠, specifically v3⁠. The format and runtime behavior may change before v3 is stable.

⁠claude-acp

Run the Claude ACP adapter inside a Docker Sandbox.

This is a v2 mixin for the built-in claude sandbox agent. It adds /home/agent/.local/bin/claude-acp, a small launcher that runs @agentclientprotocol/claude-agent-acp with CLAUDE_CODE_EXECUTABLE=claude.

⁠Authentication

claude-acp inherits Anthropic authentication from the built-in claude sandbox agent.

For non-interactive API-key auth, seed the Anthropic credential with sbx before creating the sandbox:

echo "$ANTHROPIC_API_KEY" | sbx secret set -g anthropic

You can also import a detected host environment variable:

sbx secret import anthropic

For Claude subscription or console login, the Claude ACP adapter advertises terminal auth methods to ACP clients that support _meta["terminal-auth"]. Those clients should run the advertised auth command in the same sandbox context, separate from the adapter's JSON-RPC stdio stream. Normal ACP adapter sessions still run without a TTY; only the advertised auth handoff is terminal-oriented.

If an Anthropic API key is configured through sbx, terminal auth is not needed. If you add an API key after a sandbox has already been created, recreate the sandbox so the built-in claude kit can refresh its Claude settings.

⁠Usage

Create a sandbox from its published OCI artifact on Docker Hub:

sbx create --kit "docker.io/docker/sbx-kit-claude-acp:latest" --name my-task claude /path/to/task

Or from a git URL targeting this repo:

sbx create --kit "git+https://github.com/docker/sbx-kits-contrib.git#dir=claude-acp" --name my-task claude /path/to/task

Run the adapter over stdio:

sbx exec -i my-task /home/agent/.local/bin/claude-acp

Do not allocate a TTY for ACP sessions; the adapter expects newline-delimited JSON-RPC on stdin/stdout.

⁠References

This week's pulls

Pulls:

248

Last week