Add aider kit#24
Open
ealeyner wants to merge 1 commit into
Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: Eli Aleyner <eli@aleyner.com>
dvdksn
reviewed
May 5, 2026
Comment on lines
+64
to
+66
| - command: "curl -LsSf https://astral.sh/uv/install.sh | sh" | ||
| user: "1000" | ||
| description: Install uv |
Contributor
There was a problem hiding this comment.
uv is already preinstalled in the shell template
Comment on lines
+26
to
+30
| $ sbx secret set-custom -g \ | ||
| --host api.anthropic.com \ | ||
| --env ANTHROPIC_API_KEY \ | ||
| --placeholder "sk-ant-{rand}" \ | ||
| --value "$ANTHROPIC_API_KEY" |
Contributor
There was a problem hiding this comment.
do these need to be created with set-custom? can't the kit use the pre-existing anthropic, google, openai secret services?
Comment on lines
+46
to
+47
| $ sbx run --kit "git+https://github.com/docker/sbx-kits-contrib.git#dir=aider" \ | ||
| aider -e AIDER_MODEL=gpt-4o |
Contributor
There was a problem hiding this comment.
There is no -e flag on sbx run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
kind: agentkit for Aider, an AI pair programming toolserviceDomains+serviceAuth)~/.aider.conf.ymlwith sensible defaults (model alias, auto-commits, analytics off)Spec choices worth flagging
--python 3.12on the install command: The base image ships Python 3.13, but aider'snumpydependency resolves to a version that only has prebuilt wheels for Python ≤3.12. The base image has no C compiler, souv tool install aider-chatfails trying to build numpy from source. Pinning--python 3.12causes uv to download a standalone CPython 3.12 runtime (~28 MB) fromreleases.astral.sh(already covered by*.astral.shinallowedDomains) and install aider against it. Confirmed working end-to-end.*.astral.shwildcard inallowedDomains: Same rationale as the openhands kit (#22) — the uv install script atastral.shredirects binary and Python runtime downloads toreleases.astral.sh. Without the wildcard, those fetches get a 403 from the proxy.serviceDomainsstays narrow (only the three LLM API endpoints) to avoid TLS interception on install-time CDN traffic.--with pipon the install command: Aider uses pip internally for some operations. Without this flag,uv tool installomits pip from the isolated environment and aider fails at runtime.No
aiFilename/memory:: Aider doesn't have a single canonical "memory file" analogous toCLAUDE.mdorAGENTS.md. Users pass project conventions via--read <file>or.aider.conf.yml. The README covers this.Test plan
sbx kit validate ./aider/— passessbx run --kit ./aider/ aider— sandbox created successfullyaider 0.86.2installed and--versionreturns correctlysbx policy log— no blocked domains during install;*.astral.sh,pypi.org,files.pythonhosted.orgall resolve asforward-bypassgo test) — CI will run this; requires Docker, not available in this environmentOrigin
Designed and tested locally against a Docker SBX sandbox. Followed the amp kit pattern for auth wiring.