kosa8

io.github.kosa8ai由 GitHub 帳號 kosa8ai 發布v0.1.1更新於 Nov 7, 2026

Secure infrastructure for AI agents: sealed microVM sandboxes you can checkpoint, rewind and fork.

概覽

AI 產生的概覽

為助理提供封閉的 microVM 沙箱,可執行不受信任的程式碼,並支援檢查點、倒回、分叉與容器操作。

可以做什麼
  • 查看守護程式狀態,建立、列出、啟動、停止或刪除封閉的 microVM 沙箱
  • 在沙箱私有引擎中執行、拉取與管理容器,以及映像、網路和磁碟區
  • 為執行中的沙箱建立檢查點、列出還原點、倒回,或分叉出多個平行副本
  • 在多個分叉上平行嘗試多種做法並保留勝出的結果
  • 擷取、列出、還原與刪除完整的沙箱快照
適用情境
適合需要在不暴露主機的環境中執行不受信任或由助理產生的程式碼,或希望平行嘗試多種做法並快速回復風險步驟的情境。也適合需要網路允許清單與對高風險動作進行人工核准的團隊。
執行需求
以本機 stdio 程序在使用者機器上執行。需要 Claude Code、已安裝並在 PATH 中的 kosa8(Apple 晶片 Mac、x86-64 Linux 或 WSL2 預覽版),以及執行中的 kosa8 守護程式;外掛本身不安裝任何東西。14 天試用期後需要付費授權。
安裝前請注意
kosa8 是商業軟體:免費 14 天試用後方案每月 29 美元起,授權檢查屬於對外網路請求,可用 KOSA8_OFFLINE=1 關閉。相關工具會建立、執行、停止與刪除沙箱、容器、映像、磁碟區和快照,倒回或分叉會改變執行狀態。只有以 --allow-mount 啟動時才會共用主機資料夾,且可設為讀寫。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 kosa8,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

kosa8 plugin for Claude Code

[kosa8]

kosa8: Secure infrastructure for AI agents.

Give Claude a sealed machine to work in. This plugin connects Claude Code to kosa8, secure infrastructure for AI agents: every agent gets its own sealed machine, a real microVM with its own kernel, not a container sharing the host's kernel.

With the plugin enabled, Claude can:

  • run untrusted or agent-written code in a sealed microVM that sees one folder (the workspace) and nothing else on the host;
  • work behind a closed network, where only hosts on an allow-list you write are reachable and anything else gets a refused connection;
  • use API keys without holding them: an egress broker on the host injects them on the way out, and the sandbox holds only a placeholder;
  • checkpoint the whole running machine, memory and processes, in about 0.7 seconds before a risky step, and rewind it, still running, in about a second when something goes wrong;
  • fork a running machine into live copies to try approaches in parallel and keep the one that works;
  • wait for one or two named human approvers on risky actions (the two-person rule), with every action written to a hash-chained, tamper-evident audit log.

The plugin has four parts:

  • An MCP server (.mcp.json) that starts kosa8 mcp serve through scripts/kosa8-mcp as a local stdio process.
  • A skill (skills/kosa8-sandbox) that tells Claude when to reach for a sandbox and how to use checkpoints, rewind, fork, egress allow-lists and approvals safely.
  • Commands: /kosa8:status, /kosa8:sandbox <task>, /kosa8:checkpoint, /kosa8:rewind (asks before rewinding) and /kosa8:explore (try several commands in parallel forks).
  • Agents: sandbox-runner runs untrusted or generated code in a sealed microVM and reports what it did; fork-explorer compares approaches in parallel forks of one running sandbox.

Prerequisites

  • Claude Code.
  • kosa8 installed on the same machine, with kosa8 on your PATH. kosa8 runs on Apple-chip Macs and x86-64 Linux, and on Windows through WSL2 (preview). Install it from kosa8.com/download. Releases are signed and notarised. Check the install with kosa8 version.
  • The kosa8 daemon running. The plugin is a thin launcher: the sandboxes are microVMs run by kosa8d on your machine, so nothing works until it is up.

Before you start: install kosa8 and start the daemon

The plugin does not install kosa8 and cannot run without it. On a new machine:

sh
# 1. Install kosa8 (macOS on Apple silicon, x86-64 Linux, or WSL2)#    from https://kosa8.com/download/, then check it:kosa8 version
# 2. Start the daemon that runs the microVMs:kosa8 daemon start
# 3. Confirm both halves are up:kosa8 version          # prints "kosa8 daemon <version> (up Ns)"kosa8 mcp tools        # lists the tools this plugin exposes

If kosa8 version reports kosa8 daemon: not running, run kosa8 daemon start again. The MCP server starts without the daemon, but every sandbox tool then answers cannot reach kosa8d.

Agents installing this server for a user can follow llms-install.md.

Install

In Claude Code, add this repository as a marketplace and install the plugin:

/plugin marketplace add kosa8ai/kosa8-claude-plugin/plugin install kosa8@kosa8

Or from your shell:

sh
claude plugin marketplace add kosa8ai/kosa8-claude-pluginclaude plugin install kosa8@kosa8

Restart Claude Code (or run /reload-plugins). Run /mcp to confirm the kosa8 server is connected, and ask Claude to "check kosa8 status".

Sharing host folders

By default, agents cannot share any host directory into a sandbox. To let them share a project folder, start the server with --allow-mount DIR (read-only) or --allow-mount DIR:rw. You can do that by adding your own MCP server entry, for example in a project's .mcp.json:

json
{  "mcpServers": {    "kosa8-workspace": {      "command": "kosa8",      "args": ["mcp", "serve", "--allow-mount", "/Users/you/code/api:rw"]    }  }}

Network and keys

Network access for a sandbox is set when it is created. To give a sandbox access to one API and nothing else, create it from your terminal:

sh
kosa8 sandbox create sealed --egress-allow api.anthropic.com

Tools

kosa8 mcp serve exposes these tools (as reported by kosa8 mcp tools in kosa8 0.5.0):

ToolWhat it does
kosa8_statusCheck whether the kosa8 daemon is running and report its version
sandbox_createBoot an isolated microVM sandbox with its own kernel and container engine
sandbox_listList sandboxes, including which parent each fork came from
sandbox_runRun a container inside a sandbox's private engine, isolated from the host
sandbox_pullPull an image into a sandbox's private engine
sandbox_checkpointSave a restore point, including memory and running processes
sandbox_checkpoint_listList a sandbox's restore points
sandbox_rewindPut a sandbox back to a checkpoint, with processes resumed
sandbox_forkFork a running sandbox into N independent copies
sandbox_exploreBest-of-N: fork once per candidate command, run them concurrently, keep the winner
sandbox_snapshotCapture a sandbox's full state as a snapshot
sandbox_stopStop a sandbox without deleting it
sandbox_startStart a stopped sandbox from its own disk
sandbox_deleteStop and delete a sandbox and its VM
snapshot_listList saved sandbox snapshots
snapshot_restoreBoot a sandbox from a snapshot, resuming its processes
snapshot_rmDelete a snapshot
container_runRun a container to completion and return its output
container_execRun a command inside a running container
container_listList containers
container_logsFetch a container's output
container_statsReport CPU, memory and pid usage for a container
container_stopStop a running container
image_buildBuild an image from a Dockerfile in a host directory
image_listList images
image_pullPull an image from a registry
network_createCreate an isolated bridge network
network_listList container networks
volume_createCreate a named volume
volume_listList named volumes

Run kosa8 mcp tools to see the list for your installed version.

What this plugin runs

The plugin's only executable is scripts/kosa8-mcp, a short shell script that finds the kosa8 already installed on your machine and runs kosa8 mcp serve. It downloads and installs nothing. The plugin itself sends no data anywhere, contacts no server and reads no credentials.

Other MCP clients

The same server is published to the official MCP Registry as io.github.kosa8ai/kosa8 (see server.json). It is distributed as an MCP bundle, kosa8-mcp.mcpb, attached to each GitHub release: a manifest and the same short launcher as scripts/kosa8-mcp. It does not download or install anything, so install kosa8 first.

Any MCP client that can start a stdio server can also run kosa8 mcp serve directly.

Privacy

The kosa8 MCP server runs locally and talks to the kosa8 daemon on the same machine. Under the kosa8 privacy policy, the tool calls your agent makes, their arguments and their results stay on your machine and never reach kosa8. The policy lists everything the kosa8 software sends and when, including licence checks for paid licences, and how to turn all outbound calls off with KOSA8_OFFLINE=1.

Full policy: https://kosa8.com/privacy/

Pricing

kosa8 is commercial software. The plugin files in this repository are free and MIT licensed, but kosa8 itself needs a licence: it comes with a free 14-day trial with every feature, no account and no card. Plans start at $29 a month. See https://kosa8.com/pricing/.

Support and contact

License

The files in this repository are released under the MIT License. The license covers only the files in this repository (the Claude Code plugin: its manifest, marketplace file, MCP configuration, skill, commands, agents, launcher, README and logo). It does not cover the kosa8 software itself, which is commercial software distributed separately under its own terms.

來源:README.md,提交 4623740

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

1
  1. v0.1.1最新Oct 31, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分