Sign inSign up

docker/sbx-kit-nanobot-mixin:latest

Multi-platform
Manifest digest

sha256:dc36d7dbe748169b08df7e7d6e3ce1ae60ef84a41fdecfe5c7e78d6048638e6c

Last pushed

9 days by cdupuis

Type

Sandbox Kit

Manifest digest

sha256:dc36d7dbe748169b08df7e7d6e3ce1ae60ef84a41fdecfe5c7e78d6048638e6c

yaml
schemaVersion: "3"
displayName: Nanobot (mixin)
description: 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`.
sourceUrl: https://pypi.org/project/nanobot-ai/
version: 0.3.5
kind: mixin
provides:
    - [email protected]
capabilities:
    - type: com.docker.sandbox/network-policy@1
      config:
        runtime:
            allow:
                - api.anthropic.com
                - claude.ai
                - console.anthropic.com
                - pypi.org
                - files.pythonhosted.org
                - '*.telegram.org'
                - '*.discord.com'
                - gateway.discord.gg
                - '*.whatsapp.com'
                - '*.whatsapp.net'
                - '*.slack.com'
                - '*.feishu.cn'
    - type: com.docker.sandbox/credential@1
      optional: true
      config:
        apiKey:
            inject:
                - domain: api.anthropic.com
                  format: '%s'
                  header: x-api-key
                - domain: claude.ai
                  format: '%s'
                  header: x-api-key
                - domain: console.anthropic.com
                  format: '%s'
                  header: x-api-key
            name: ANTHROPIC_API_KEY
            proxyManaged: true
        phase: runtime
        service: anthropic
      description: Anthropic API access
    - type: com.docker.sandbox/agent-context@1
      config:
        contentFile: /usr/share/sandbox/kit/nanobot-mixin/nanobot-mixin-context.md
args:
    version:
        default: 0.3.5
        description: nanobot-ai release to install from PyPI
        pattern: ^[0-9]+\.[0-9]+\.[0-9]+(\.post[0-9]+)?$
        buildArg: NANOBOT_VERSION