Sign inSign up

docker/sbx-kit-aider-mixin:latest

Multi-platform
Manifest digest

sha256:326e45daa8eb07eb76daa6e08a7e98623d5c9d7e06f08f0d3bf4e9d8ddecfcd8

Last pushed

9 days by cdupuis

Type

Sandbox Kit

Manifest digest

sha256:326e45daa8eb07eb76daa6e08a7e98623d5c9d7e06f08f0d3bf4e9d8ddecfcd8

yaml
schemaVersion: "3"
displayName: Aider (mixin)
description: 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`.
kind: mixin
provides:
    - [email protected]
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        runtime:
            allow:
                - api.anthropic.com
                - api.openai.com
                - generativelanguage.googleapis.com
    - type: com.docker.sandbox/credential@1
      optional: true
      config:
        apiKey:
            inject:
                - domain: api.anthropic.com
                  format: '%s'
                  header: x-api-key
            name: ANTHROPIC_API_KEY
            proxyManaged: true
        phase: runtime
        service: anthropic
      description: Anthropic API access for Aider's Claude models
    - type: com.docker.sandbox/credential@1
      optional: true
      config:
        apiKey:
            inject:
                - domain: generativelanguage.googleapis.com
                  format: '%s'
                  header: x-goog-api-key
            name: GEMINI_API_KEY
            proxyManaged: true
        phase: runtime
        service: gemini
      description: Google AI API access for Aider's Gemini models
    - type: com.docker.sandbox/credential@1
      optional: true
      config:
        apiKey:
            inject:
                - domain: api.openai.com
                  format: Bearer %s
                  header: Authorization
            name: OPENAI_API_KEY
            proxyManaged: true
        phase: runtime
        service: openai
      description: OpenAI API access for Aider's GPT models
    - type: com.docker.sandbox/lifecycle@1
      config:
        files:
            - content: |
                # Default Aider configuration for Docker SBX.
                # Environment variables (AIDER_*) from the kit spec take precedence over these.
                # Edit this file inside the sandbox, or add your own .aider.conf.yml at the
                # root of your project — Aider merges both, with the project one winning.

                # Model alias — "sonnet" resolves to the latest Claude Sonnet.
                # Other useful aliases: opus, haiku, gpt-4o, o3-mini, gemini/gemini-2.5-pro
                model: sonnet

                # Git behaviour
                auto-commits: true
                dirty-commits: true

                # Analytics and update checks are disabled in sandbox environments.
                analytics: false
                check-update: false
              description: Default Aider configuration
              path: /home/agent/.aider.conf.yml
args:
    version:
        default: 0.86.2
        description: aider-chat release to install
        pattern: ^[0-9]+\.[0-9]+\.[0-9]+$
        buildArg: AIDER_VERSION