Sign inSign up

docker/sbx-kit-aider-mixin

Verified Publisher

By Docker, Inc.

•Updated 1 day ago

AI pair programming in your terminal as a mixin -- the aider-chat install in an overlay, with the...

Sandbox Kit
0

85

docker/sbx-kit-aider-mixin repository overview

Digest

sha256:326e45daa8eb…

Size

156.6 MB

Schema

v3

Pushed

1 day ago

Specificationspec.yaml

MIXIN

AI pair programming in your terminal as a mixin -- the aider-chat install in an overlay, with the Anthropic, Gemini and OpenAI proxy-managed credentials and the default configuration file. Layer it onto a shell base and run `aider`.


Arguments
NameRequiredDefaultDescription
versionOptional0.86.2

aider-chat release to install



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 for Aider's Claude models
com.docker.sandbox/credential@1OptionalGoogle AI API access for Aider's Gemini models
com.docker.sandbox/credential@1OptionalOpenAI API access for Aider's GPT models
com.docker.sandbox/lifecycle@1Required—

Apply this mixin to a sandbox

sbx run <agent> --kit docker/sbx-kit-aider-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.

⁠aider-mixin

The mixin form of the aider⁠ kit: Aider⁠ in an overlay that lands on a shell workload, instead of a whole sandbox of its own.

⁠What it is

A kind: mixin kit carrying the aider-chat install as a filesystem delta, with the same declarations the workload makes — the Anthropic, Gemini and OpenAI proxy-managed credentials, the runtime allow list covering exactly those three provider hosts, the AIDER_* environment, and the default ~/.aider.conf.yml.

uv tool install cannot be relocated (no --prefix, absolute-path shebangs, a standalone CPython downloaded into ~/.local/share/uv/python), so aider-mixin.dockerfile runs the unmodified install in a build stage on the workload's own base and copies /home/agent/.local into a FROM scratch overlay at the path it was built for.

⁠Compose it

$ sbx create --kit <shell-workload> --kit ./aider-mixin
$ aider

⁠What it leaves to the base

  • The launch command. No ENTRYPOINT: the base workload's stays, and aider is something you run from its shell. The standalone aider⁠ kit is the one that launches the agent directly.
  • sbx@1 and the sandbox identity. A mixin's image config never becomes the composed image's, so the user, shells and BASH_ENV the platform reads are the base workload's to declare.
  • The platform floor — bash, the agent user, git, a CA store.

aider and aider-mixin both provide aider, so they are alternatives: composing the two together is refused, one capability having one provider.

This week's pulls

Pulls:

3

Last week