sha256:d1fa017197ba71412b2008173d42a7c009d0befd474dc7c078743e68e3544033
Last pushed
9 days by cdupuis
Type
Sandbox Kit
Manifest digest
sha256:d1fa017197ba71412b2008173d42a7c009d0befd474dc7c078743e68e3544033
schemaVersion: "3"
displayName: Open Interpreter (mixin)
description: Open Interpreter as a mixin -- the agent's own uv tool installation in an overlay, with the proxy-managed Anthropic and OpenAI credentials, the auth-resolution startup hook and the egress the agent needs to write and run code. Layer it onto a shell base and run `interpreter`.
sourceUrl: https://www.openinterpreter.com/
kind: mixin
provides:
- [email protected]
capabilities:
- type: com.docker.sandbox/network-policy@1
config:
runtime:
allow:
- api.anthropic.com
- platform.claude.com
- api.openai.com
- pypi.org
- files.pythonhosted.org
- registry.npmjs.org
- '*.npmjs.org'
- 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
oauth:
credentialFile:
path: ~/.claude/.credentials.json
structure:
claudeAiOauth:
accessToken: '{{.AccessToken}}'
expiresAt: '{{.ExpiresAt}}'
refreshToken: '{{.RefreshToken}}'
scopes: '{{.Scopes}}'
resourceHosts:
- api.anthropic.com
sentinels:
accessToken: sk-ant-oat01-proxy-managed
refreshToken: sk-ant-ort01-proxy-managed
tokenEndpoint:
host: platform.claude.com
path: /v1/oauth/token
phase: runtime
service: anthropic
description: Anthropic API access (API key or claude.ai OAuth)
- 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
- type: com.docker.sandbox/lifecycle@1
config:
startup:
- command:
- sh
- /home/agent/.local/bin/open-interpreter-anthropic-auth.sh
description: Resolve whether Anthropic auth is an API key, an OAuth login, or absent, and record it for the shell
env:
- SBX_CRED_ANTHROPIC_MODE
- SBX_CRED_OPENAI_MODE
user: "1000"
- type: com.docker.sandbox/agent-context@1
config:
contentFile: /usr/share/sandbox/kit/open-interpreter-mixin/open-interpreter-mixin-context.md
args:
version:
default: 0.4.3
description: Open Interpreter release to install
pattern: ^[0-9]+\.[0-9]+\.[0-9]+$
buildArg: OPEN_INTERPRETER_VERSION