Coding & Developmentπuniversal
Install firecracker-containerd shim + devmapper snapshotter
k8e.sh - OpenSource Agentic AI Sandbox Matrix
Quick Start
Install this Skill
npx skills add xiaods/k8e<div align="center"> <img src="https://capsule-render.vercel.app/api?type=waving&color=0:0f2027,50:203a43,100:2c5364&height=200§ion=header&text=K8E%20π&fontSize=80&fontColor=ffffff&fontAlignY=38&desc=Open%20Source%20Agentic%20AI%20Sandbox%20Matrix&descAlignY=60&descSize=22&animation=fadeIn" width="100%"/> <br/> <a href="https://git.io/typing-svg"> <img src="https://readme-typing-svg.demolab.com?font=Fira+Code&size=22&pause=1000&color=00D4FF¢er=true&vCenter=true&width=700&lines=Open+Source+Agentic+AI+Sandbox+Matrix+%F0%9F%A4%96;Secure+Isolated+Agent+Execution+at+Scale+%F0%9F%94%92;Up+and+Running+in+60+Seconds+%E2%9A%A1;Single+Binary+%3C+100MB+%F0%9F%93%A6;CNCF+Conformant+%26+Production+Ready+%E2%9C%85" alt="Typing SVG" /> </a> <br/><br/> [](https://golang.org) [](https://kubernetes.io) [](https://github.com/xiaods/k8e/blob/main/LICENSE) [](https://github.com/xiaods/k8e/stargazers) [](https://github.com/xiaods/k8e/releases) [](https://github.com/xiaods/k8e/releases) <br/> > **k8e.sh** β Open Source Agentic AI Sandbox Matrix. A CNCF-conformant Kubernetes distribution in a **single binary under 100MB**, purpose-built for secure, isolated AI agent execution at scale. Up and running in **60 seconds**. Inspired by [K3s](https://github.com/k3s-io/k3s). <br/> ```bash curl -sfL https://k8e.sh/install.sh | sh - ``` *That's it. Your agentic sandbox matrix is ready. π€* </div> --- ## π Table of Contents | # | Section | |---|---------| | 1 | [π€ What is K8E?](#-what-is-k8e) | | 2 | [ποΈ Architecture](#οΈ-architecture) | | 3 | [βοΈ Components](#οΈ-components) | | 4 | [π Quick Start](#-quick-start) | | 5 | [π Sandbox Runtime Setup](#-sandbox-runtime-setup) | | 6 | [π€ Sandbox MCP Skill](#-sandbox-mcp-skill) | | 7 | [π Python Client SDK](#-python-client-sdk) | | 8 | [π¦ TypeScript Client SDK](#-typescript-client-sdk) | | 9 | [π₯οΈ Advanced Installation](#οΈ-advanced-installation) | | 9 | [π K8E vs Others](#-k8e-vs-the-alternatives) | | 9 | [π€ Contributing](#-contributing) | | 10 | [π Acknowledgments](#-acknowledgments) | --- ## π€ What is K8E? **K8E** is the **Open Source Agentic AI Sandbox Matrix** β a Kubernetes-native platform for running secure, isolated AI agent workloads at scale, packaged as a single binary under 100MB. As autonomous AI agents increasingly generate and execute untrusted code, robust sandboxing infrastructure is no longer optional. K8E ships everything needed to spin up a production-grade cluster in under 60 seconds, with first-class primitives for agent isolation, resource governance, and ephemeral execution environments β purpose-built for the AI era. > π **One cluster. Many agents. Zero trust between them.** ### Sandbox Capabilities | Capability | Description | |---|---| | π **Hardware Isolation** | Pluggable runtimes: gVisor (default), Kata Containers, Firecracker microVM | | π **Network Policies** | Cilium eBPF `toFQDNs` egress control β per-session, no proxy process needed | | βοΈ **Resource Quotas** | CPU/memory caps per agent session to prevent runaway costs | | ποΈ **Ephemeral Workspaces** | Auto-cleanup after agent session ends | | π§ **Warm Pool** | Pre-booted sandbox pods for sub-500ms session claim latency | | π€ **agent-sandbox compatible** | Works with [`kubernetes-sigs/agent-sandbox`](https://github.com/kubernetes-sigs/agent-sandbox) | | π **MCP / A2A ready** | Any MCP-compatible agent (kiro, claude, gemini) connects via `k8e sandbox-mcp` | --- ## ποΈ Architecture <div align="center"> ``` βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β K8E CLUSTER β β β β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β β β CONTROL PLANE (Server Node) β β β β ββββββββββββββββ βββββββββββββββ ββββββββββββ β β β β β API Server β β Scheduler β β etcd β β β β β ββββββββββββββββ βββββββββββββββ ββββββββββββ β β β β ββββββββββββββββββββ ββββββββββββββββββββββββββββββββ β β β β β Controller Mgr β β SandboxMatrix Controller β β β β β ββββββββββββββββββββ ββββββββββββββββββββββββββββββββ β β β βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β β ... (truncated)
Repository
440stars
28forks
Details
Related Skills
More coding & development skills you might like
Reticle
Coding & DevelopmentAI agents can generate code, but still struggle to understand what they build. Reticle brings Jev-style machine-native runtime perception to web & desktop applications.
π€claudeπuniversal
1.2k
190
View
agentscope-java
Coding & DevelopmentExpert Java developer skill for AgentScope Java framework - a reactive, message-driven multi-agent system built on Project Reactor. Use when working with reactive programming, LLM integration, agent orchestration, multi-agent systems, or when the user mentions AgentScope, ReActAgent, Mono/Flux, Project Reactor, or Java agent development. Specializes in non-blocking code, tool integration, hooks, pipelines, and production-ready agent applications.
πuniversal
6.0k
1.5k
View
ospec
Coding & DevelopmentDocument-driven OSpec workflow for initialization, change/goal routing, validation, archiving, and durable project knowledge.
β¨geminiπ€claudeπ¬gptπuniversal
524
34
View
misakanet-failure-memory
Coding & Developmentπ A zero-dependency, git-backed micro-lesson library for AI Agents to asynchronously share and search verified debugging experience. Python stdlib only. | https://misakanet.org
π€claudeβ¨οΈcursorπuniversal
424
158
View