Apache-2.0 ライセンス、単一バイナリ(<100MB)の Kubernetes ディストリビューションで、AI エージェントのサンドボックス実行を実現。エージェントはスタンドアロンの k8e-sandbox-cli と /k8e-sandbox スキル経由で接続。README に DeepSeek Harness の記載はなく、エコシステム系のツールです。
DSH 統合
エコシステム関連
作者による申告
安全性監査
未監査
最終検証日
2026-08-21
ライセンス
Apache-2.0
01どんなタスクに使えるのか?
Let an AI coding agent execute generated code in isolated Kubernetes sandboxes
Sandboxed runs via `k8e-sandbox-cli run` with auto session management — gVisor (default), Kata Containers or Firecracker isolation, per-session egress policy and ephemeral /workspace
Platform and agent engineers who want zero-trust execution of agent-generated code (README lists claude code, codex and pi as supported agents)
Stand up a production-grade sandbox cluster quickly
A CNCF-conformant Kubernetes cluster from a single binary under 100MB, up in ~60 seconds, with Sandbox Matrix starting automatically
Infra teams that need agent-sandbox infrastructure without a full Kubernetes build-out
02DeepSeek Harness への導入方法
前提条件
- A sandbox runtime installed BEFORE K8E (recommended: gVisor — no KVM required; Kata Containers or Firecracker for stronger isolation)
- wget available for downloading the gVisor runsc binaries
インストール手順
- 01
Download runsc + containerd-shim-runsc-v1 from the gVisor release bucket, verify with sha512sum, then move both to /usr/local/bin/ (do not run `runsc install` — K8E manages its own containerd config)
- 02
Install K8E: `curl -sfL https://k8e.sh/install.sh | sh -`
$ curl -sfL https://k8e.sh/install.sh | sh -
- 03
Download the platform-specific `k8e-sandbox-cli` binary from GitHub releases, chmod +x, and symlink it to the plain name `k8e-sandbox-cli`
- 04
On the server create an API key: `k8e sandbox-apikey create my-agent`
- 05
Connect and install the agent skill: `./k8e-sandbox-cli --endpoint <server-ip>:50051 --apikey k8e-... connect`
導入成功の確認
- export KUBECONFIG=/etc/k8e/k8e.yaml; kubectl get nodes
- kubectl get runtimeclass — should show: gvisor
- kubectl -n sandbox-matrix get pods — Sandbox Matrix starts automatically
03DSH 統合と能力の範囲
K8E is a Kubernetes-native agentic sandbox matrix; the README makes no DeepSeek Harness/dsh claim — its /k8e-sandbox skill targets claude code, codex and pi harnesses via the standalone k8e-sandbox-cli
Pluggable hardware isolation
agent sessions / pods→gVisor (default, ~10ms boot), Kata Containers (~500ms) or Firecracker microVM (~125ms) isolation, auto-registered as RuntimeClass
writes the gVisor stanza into its own containerd config at /var/lib/k8e/agent/etc/containerd/config.toml on startupPer-session network egress control
sandbox session with `allowed_hosts`→Cilium eBPF `toFQDNs` egress enforcement per session, no proxy process needed
network access restricted to the allowed host list (default: pypi.org, files.pythonhosted.org, registry.npmjs.org, objects.githubusercontent.com, github.com, raw.githubusercontent.com)Agent skill via standalone CLI
`k8e-sandbox-cli` (~44MB standalone binary) + API key→`/k8e-sandbox` skill installed into the agent harness; run/create/destroy/read/write/session commands over gRPC (TLS)
`connect` symlinks the binary to ~/.local/bin/k8e-sandbox-cli and installs the /k8e-sandbox skill into agent harnessesremote access requires a server-side API key (default TTL 30 days)Ephemeral workspaces & resource governance
agent session lifecycle→auto-cleaned per-session /workspace, CPU/memory caps per agent session, warm pool with sub-500ms session claim latency
04誰に向いているのか?使うべきでない場面は?
向いている用途
- Platform and agent engineers who want zero-trust execution of agent-generated code (README lists claude code, codex and pi as supported agents)
- Infra teams that need agent-sandbox infrastructure without a full Kubernetes build-out
不向きな用途
- The README does not document DeepSeek Harness (dsh) support: the /k8e-sandbox skill explicitly targets claude code, codex and pi harnesses, so DSH users should treat K8E as an ecosystem tool until DSH support is published.
- The server-side install flow (install.sh piped to sh, systemd service, /etc/k8e paths) implies a Linux server environment, while the sandbox CLI ships for darwin/linux/windows; Firecracker additionally requires /dev/kvm.
05互換性・メンテナンス・セキュリティ上の注意
- The README does not document DeepSeek Harness (dsh) support: the /k8e-sandbox skill explicitly targets claude code, codex and pi harnesses, so DSH users should treat K8E as an ecosystem tool until DSH support is published.
- The server-side install flow (install.sh piped to sh, systemd service, /etc/k8e paths) implies a Linux server environment, while the sandbox CLI ships for darwin/linux/windows; Firecracker additionally requires /dev/kvm.
- Installation downloads binaries from the network (gVisor release bucket, GitHub releases, k8e.sh install script), and sandbox sessions have restricted egress — default allowlist only, custom hosts require `--allowed-hosts` / `--cilium-dns-proxy`.
Apache-2.0 · actively maintained (latest release v1.35.5-20260820-rc3+k8e1, 2026-08-20)
06よくある質問
k8e は DeepSeek Harness と直接統合されていますか?
README に DeepSeek Harness(dsh)の対応は記載されていません。/k8e-sandbox スキルは `k8e-sandbox-cli connect` でエージェントハーネスに導入され、README が対応対象として明記するのは claude code・codex・pi です。`k8e-sandbox-cli` のシェルコマンドを呼び出せるハーネスであれば同じ方法でサンドボックスを利用できます。
K8E のインストール方法は?
1 行で完了します:`curl -sfL https://k8e.sh/install.sh | sh -`。K8E は CNCF 準拠の Kubernetes を 100MB 未満の単一バイナリに収めたディストリビューションで、約 60 秒で起動します。推奨のデフォルト隔離を得るには、事前に gVisor ランタイム shim をインストールしてください。
どんなサンドボックス隔離方式が使えますか?
プラガブルなランタイム:gVisor(デフォルト、システムコール傍受、起動約 10ms、KVM 不要)、Kata Containers(VM 隔離、約 500ms)、Firecracker マイクロ VM(約 125ms、/dev/kvm が必要)。K8E はインストール済みランタイムを自動検出し、対応する RuntimeClass を登録します。
サンドボックス内のネットワーク通信はどこへ向かいますか?
送出はセッションごとに Cilium eBPF の `toFQDNs` ポリシーで強制されます。デフォルトの許可リストは pypi.org・files.pythonhosted.org・registry.npmjs.org・objects.githubusercontent.com・github.com・raw.githubusercontent.com。カスタムホストは `--allowed-hosts` で指定します。
インストールの検証はどう行いますか?
`kubectl get nodes`、`kubectl get runtimeclass`(gvisor が表示されるはず)、`kubectl -n sandbox-matrix get pods` を実行してください。Sandbox Matrix は自動的に起動します。KUBECONFIG は /etc/k8e/k8e.yaml にあります。
07関連する DSH ワークフロー
dsh-plugin-radar
by adamplatin123
DSH プラグイン生態系のオープンソース・レーダー。1.5 万件超の候補を自動発見し、k8s ランタイムで 1 万件超を実測、15 分ごとのスナップショット処理を実行。プラグイン目録は自動生成される成果物です。
picgo-core
by picgo
CLI と API の両方で使える画像アップロードエンジン
dsh-infinite-gen-3
by minglink
DeepSeek専用の破アーマープラグイン「無限三代」。脱獄動作を安定化させ、Starで応援をお願いします。
helloagents
by hellowind777
問題を分析するだけでなく、実装と検証が完了するまで自律的に働き続ける高度なエージェント
08データと出典
Supported agents: **claude code**, **codex**, **pi**.
🔄 **SKILL + CLI** | AI agents (claude code, codex, pi) connect via `k8e-sandbox-cli` CLI commands
このページは、プロジェクトの公開ドキュメント、リポジトリのメタデータ、および DSH Plugins の構造化解析に基づいて生成されています。最終検証日:2026-08-21。誤りを見つけた場合は、修正を送信してください。
dsh プラグイン おすすめ
最初に入れたい 12 のプラグイン。全カタログ・全カテゴリから厳選しました。
