AI pair programming in your terminal as a mixin -- the aider-chat install in an overlay, with the...
85
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`.
| Name | Required | Default | Description |
|---|---|---|---|
version | Optional | 0.86.2 | aider-chat release to install |
[email protected]| Type | Required | Description | |
|---|---|---|---|
com.docker.sandbox/network-policy@1 | Required | — | |
com.docker.sandbox/credential@1 | Optional | Anthropic API access for Aider's Claude models | |
com.docker.sandbox/credential@1 | Optional | Google AI API access for Aider's Gemini models | |
com.docker.sandbox/credential@1 | Optional | OpenAI API access for Aider's GPT models | |
com.docker.sandbox/lifecycle@1 | Required | — | |
sbx run <agent> --kit docker/sbx-kit-aider-mixin:latestRun the following command to install sbx on your machine.
brew install docker/tap/sbxwinget install Docker.sbxNote
Experimental: Sandbox Kit v3This kit uses the experimental Sandbox Kit specification, specifically v3. The format and runtime behavior may change before v3 is stable.
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.
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.
$ sbx create --kit <shell-workload> --kit ./aider-mixin
$ aider
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.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.
Pulls:
3
Last week