Sign inSign up

docker/sbx-kit-nanobot-mixin

Verified Publisher

By Docker, Inc.

•Updated 9 days ago

nanobot as a mixin -- the agent's own uv tool installation in an overlay, with the proxy-managed ...

Sandbox Kit
0

102

docker/sbx-kit-nanobot-mixin repository overview

Digest

sha256:dc36d7dbe748…

Size

129.3 MB

Schema

v3

Pushed

9 days ago

Specificationspec.yaml

MIXIN

nanobot as a mixin -- the agent's own uv tool installation in an overlay, with the proxy-managed Anthropic credential, the chat-platform egress and the preconfigured provider config. Layer it onto a shell base and run `nanobot`.


Arguments
NameRequiredDefaultDescription
versionOptional0.3.5

nanobot-ai release to install from PyPI



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

Apply this mixin to a sandbox

sbx run <agent> --kit docker/sbx-kit-nanobot-mixin: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.

⁠nanobot-mixin

nanobot⁠ as a mixin — the same agent as the nanobot⁠ workload kit, packaged as an overlay you layer onto a shell base instead of running as the sandbox's own image.

⁠Usage

sbx run --kit ./nanobot-mixin/ <shell-workload>

Or from a git URL targeting this repo:

sbx run --kit "git+https://github.com/docker/sbx-kits-contrib.git#dir=nanobot-mixin" <shell-workload>

The base workload keeps its own launch command, so nothing starts nanobot for you. Run it from the shell:

nanobot agent --config /home/agent/.nanobot/config.json

⁠What it carries

  • The uv tool install of nanobot-ai, copied out of a build stage on the same base the workload uses. The install cannot be relocated (uv bakes absolute interpreter paths into the venv it creates), so the overlay lands the tree at the path it was built at.
  • /home/agent/.nanobot/config.json, preconfigured for Anthropic through the sandbox proxy.
  • The proxy-managed anthropic credential, the chat-platform and PyPI egress, and NANOBOT_AGENTS__DEFAULTS__WORKSPACE (as a profile.d export — a mixin's image config does not become the composed image's).

⁠What it deliberately leaves to the base workload

  • The launch command. A mixin does not set an entrypoint.
  • The context-file profile. filename: is workload-only; this kit contributes a body through contentFile and the base decides which profile file the agent reads.
  • Session verbs and sbx@1. Both describe how the host drives the workload's own entrypoint, which here is the base's.

This week's pulls

Pulls:

59

Last week