feat: add Kode-Agent to base sandbox image#43
Open
CrazyBoyM wants to merge 1 commit intoNVIDIA:mainfrom
Open
Conversation
Install Kode (@shareai-lab/kode@2.2.0) in the base sandbox image and add its network policy. Kode is an open-source multi-model AI coding agent supporting both Anthropic and OpenAI APIs. Changes: - Dockerfile: add @shareai-lab/kode@2.2.0 to global npm packages - policy.yaml: add kode_agent network policy (api.anthropic.com, api.openai.com) and grant kode binary access to GitHub REST API
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
Add Kode (
@shareai-lab/kode) to the base sandbox image, alongside Claude Code, OpenCode, and Codex.Companion PR to NVIDIA/OpenShell#391 which adds the Kode provider plugin to the OpenShell CLI.
Changes
Dockerfile (
sandboxes/base/Dockerfile)@shareai-lab/kode@2.2.0via npm alongside existing agent CLIsNetwork Policy (
sandboxes/base/policy.yaml)kode_agentpolicy: allows/usr/local/bin/kodeand/usr/bin/nodeto reachapi.anthropic.comandapi.openai.com(port 443)About Kode
@shareai-lab/kode(Apache 2.0)kodeUsage
After building the updated base image:
Test plan
kode --versionworks inside the sandbox