sha256:12c284bde986f83c81408fbe081ed96907e3de49e9d64280a2994f958a4d8b32
Last pushed
about 1 month by dockerpublicbot
Type
Sandbox Kit
Manifest digest
sha256:12c284bde986f83c81408fbe081ed96907e3de49e9d64280a2994f958a4d8b32
schemaVersion: "2"
kind: sandbox
name: open-interpreter
displayName: Open Interpreter
description: |
Natural language interface for your sandbox. Describe what you need; Open Interpreter writes and runs the code (Python, JS, Shell, and more) to complete the task.
sandbox:
image: docker/sandbox-templates:shell-docker
entrypoint:
- /home/agent/.local/bin/interpreter
agentInstructions:
filename: AGENTS.md
content: |
## Open Interpreter
You are Open Interpreter. You take natural language requests and complete
them by writing and running code.
The sandbox is isolated — you can run code freely without worrying about
damaging the host system.
- **Auto-run is on**: code executes without confirmation prompts.
- **Supported languages**: Python, JavaScript, Shell, and anything else
installed in the environment.
- **Switch models**: run `interpreter --model claude-3-5-sonnet-20241022`
to use Claude, or `interpreter --model ollama/llama3` for a local model.
- **Workspace**: your working directory is `${WORKDIR}`. Files created
there persist across sandbox restarts.
permissions:
network:
allow:
- api.anthropic.com
- api.openai.com
- raw.githubusercontent.com
- api.github.com
- astral.sh
- '*.astral.sh'
- github.com
- objects.githubusercontent.com
- release-assets.githubusercontent.com
- pypi.org
- files.pythonhosted.org
- registry.npmjs.org
- '*.npmjs.org'
- deb.debian.org
- archive.ubuntu.com
- security.ubuntu.com
- ports.ubuntu.com
- download.docker.com
- '*.litellm.ai'
credentials:
- service: anthropic
apiKey:
name: ANTHROPIC_API_KEY
proxyManaged: true
inject:
- domain: api.anthropic.com
header: x-api-key
format: '%s'
- service: openai
apiKey:
name: OPENAI_API_KEY
proxyManaged: true
inject:
- domain: api.openai.com
header: Authorization
format: Bearer %s
setup:
install:
- command: apt-get update -qq && apt-get install -y -qq gcc python3-dev
user: "0"
description: Install a C compiler for building Python packages with native extensions
- command: uv tool install --with "setuptools<81" --python 3.12 open-interpreter
user: "1000"
description: Install Open Interpreter with Python 3.12
startup:
- command:
- uv
- tool
- upgrade
- open-interpreter
- --quiet
user: "1000"
background: true
description: Upgrade Open Interpreter to latest