Skip to content

feat: add Kode-Agent to base sandbox image#43

Open
CrazyBoyM wants to merge 1 commit intoNVIDIA:mainfrom
CrazyBoyM:add-kode-agent
Open

feat: add Kode-Agent to base sandbox image#43
CrazyBoyM wants to merge 1 commit intoNVIDIA:mainfrom
CrazyBoyM:add-kode-agent

Conversation

@CrazyBoyM
Copy link

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)

  • Install @shareai-lab/kode@2.2.0 via npm alongside existing agent CLIs

Network Policy (sandboxes/base/policy.yaml)

  • Add kode_agent policy: allows /usr/local/bin/kode and /usr/bin/node to reach api.anthropic.com and api.openai.com (port 443)
  • Grant kode binary access to GitHub REST API (alongside claude and gh)

About Kode

Usage

After building the updated base image:

openshell sandbox create -- kode

Test plan

  • Docker image builds successfully with kode installed
  • kode --version works inside the sandbox
  • Network policy allows kode to reach api.anthropic.com and api.openai.com
  • kode can access GitHub REST API for repository operations

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant