[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107930":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":17,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":27,"updatedAt":28,"readmeContent":29,"aiSummary":30,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":31,"discoverSource":32},107930,"boxery","modem-dev\u002Fboxery","modem-dev","Easiest way to give your coding agents VMs - locally, remote, or cloud sandboxes","",null,"JavaScript",118,6,53,23,0,2,54,48.94,"MIT License",false,"master",[24,25,26],"agents","mcp","vm","2026-11-15 18:39:19","2026-11-21 00:58:45","\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fbrand\u002Flockup-dark.svg\">\n    \u003Cimg src=\"docs\u002Fbrand\u002Flockup-light.svg\" alt=\"boxery\" width=\"220\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  Easiest way to give your coding agents VMs\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmodem-dev\u002Fboxery\u002Factions\u002Fworkflows\u002Fci.yml\">\u003Cimg alt=\"CI\" src=\"https:\u002F\u002Fgithub.com\u002Fmodem-dev\u002Fboxery\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg\">\u003C\u002Fa>\n  \u003Cimg alt=\"License: MIT\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue\">\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fboxery-vm\">\u003Cimg alt=\"npm\" src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fboxery-vm?logo=npm\">\u003C\u002Fa>\n  \u003Ca href=\"docs\u002Finstall.md#choosing-a-backend\">\u003Cimg alt=\"OS: macOS | Linux\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fos-macOS%20%7C%20Linux-lightgrey\">\u003C\u002Fa>\n  \u003Ca href=\"docs\u002Fmcp.md\">\u003Cimg alt=\"MCP 2025-11-25\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMCP-2025--11--25-6f42c1?logo=modelcontextprotocol&logoColor=white\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"docs\u002Finstall.md\">\u003Cb>Install\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"docs\u002Fmcp.md\">MCP server\u003C\u002Fa> ·\n  \u003Ca href=\"docs\u002Fpi-extension.md\">pi extension\u003C\u002Fa> ·\n  \u003Ca href=\"docs\u002Fcli.md\">CLI\u003C\u002Fa> ·\n  \u003Ca href=\"host\u002Fbackends\u002FREADME.md\">Backends\u003C\u002Fa> ·\n  \u003Ca href=\"docs\u002FREADME.md\">All docs\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fdiagrams\u002Fhero-dark.svg\">\n    \u003Cimg src=\"docs\u002Fdiagrams\u002Fhero-light.svg\" alt=\"Coding agents on your machine (Claude Code, Codex, Cursor, opencode, pi) use boxery to spin up, fork, snapshot and throw away VMs and run code, Chrome and desktops inside them: locally, on a remote box, or in the cloud. VMs are drawn as cubes whose look shows their state\" width=\"680\">\n  \u003C\u002Fpicture>\n  \u003Cbr>\n  \u003Ca href=\"docs\u002Finstall.md#choosing-a-backend\">\n    \u003Cpicture>\n      \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fdiagrams\u002Fworks-with-dark.svg\">\n      \u003Cimg src=\"docs\u002Fdiagrams\u002Fworks-with-light.svg\" alt=\"Works with Lima on macOS; libvirt, Cloud Hypervisor and OpenShell on Linux; exe.dev and boat.dev in the cloud\" width=\"760\">\n    \u003C\u002Fpicture>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n> [!WARNING]\n> **Early-stage, experimental software.** Expect rough edges and breaking changes between releases.\n\nboxery lets your agents manage their own Linux VMs: on your Mac, a Linux server, a sandbox provider like exe.dev or boat.dev, or all of them at once. Your agent stays on your machine with your login and setup; the VM is where it works, and your keys never go in.\n\n## Quick start\n\nGive this prompt to your agent:\n\n```text\nRead github.com\u002Fmodem-dev\u002Fboxery and set up boxery on this machine.\nThen spin up a VM with `boxery new demo` and open its desktop.\n```\n\nPrefer to do it by hand? See [Install](#install).\n\n## What it's for\n\n- **Dev boxes.** A full Linux machine per project or branch. `ssh demo.boxery`, or open it in VS Code.\n- **Safe sandboxes.** Let an agent install anything and run code you don't trust, away from your laptop and your keys.\n- **Parallel attempts.** Fork a running VM, try three fixes at once, keep the one that works.\n- **Browser and desktop tasks.** Chrome, clicks and screenshots on a real desktop you can watch live.\n- **Always-on agents and long jobs.** Run them on a server or in the cloud, and they keep going after you close your laptop.\n\n## Why boxery\n\n- **Built for agents.** Agents create, fork and drive VMs themselves over [MCP](docs\u002Fmcp.md): Claude Code, Codex, Cursor, opencode or any MCP client, plus a native [pi](docs\u002Fpi-extension.md) extension.\n- **Fast.** A full desktop VM in about 13 s on libvirt, or a [headless](docs\u002Fcli.md#lifecycle) one with no desktop at all. Snapshot a running VM in about 1 s.\n- **Mix VM providers.** One MCP server drives your Mac, a Linux server and sandbox providers (exe.dev, boat.dev) [at once](docs\u002Fhosts.md), with the same tools on each.\n- **Your credentials never enter a VM.** VMs get a revocable token, and the host swaps in your real key. A VM gets nothing by default, not even an LLM, until you [grant it](docs\u002Fgrants.md).\n\n## How it works\n\n- **On your machine**, the boxery MCP server (or pi extension) gives your agent the `vm_*` tools.\n- **The boxery host** is a machine you run: your Mac, a Linux box, or a small VPS for cloud VMs. The tools reach it over ssh. It holds your keys and grants, and creates, forks and wipes VMs.\n- **The VMs** are untrusted. They run anything, and hold only a revocable token that the host swaps for your real key.\n\nYour machine and the host can be the same one. [Security model →](docs\u002Fsecurity.md)\n\n\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fdiagrams\u002Fhost-dark.svg\">\n    \u003Cimg src=\"docs\u002Fdiagrams\u002Fhost-light.svg\" alt=\"Coding agents reach the trusted boxery host over ssh. The host holds your real LLM keys and API tokens and runs the credential proxy, grants, leases and pool, and images and forks. It creates, forks and wipes untrusted VMs on Lima, libvirt, exe.dev or boat.dev, and each VM holds only a revocable token that the proxy swaps for your real key.\" width=\"680\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\n## Platforms\n\nThe host runs VMs on your Mac, on Linux, or in the cloud. Each backend is a stack of existing tools, and boxery drives the top of it, so agents get the same tools on every one except OpenShell. One MCP server can drive several hosts [at once](docs\u002Fhosts.md). [Choosing a backend →](docs\u002Finstall.md#choosing-a-backend)\n\n\u003Cp align=\"center\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fdiagrams\u002Flayers-dark.svg\">\n    \u003Cimg src=\"docs\u002Fdiagrams\u002Flayers-light.svg\" alt=\"What runs a boxery VM, layer by layer. The boxery host is the orchestrator over every backend. On macOS, Lima (local): limactl manages Apple's Virtualization.framework, on the macOS kernel's hypervisor, on Apple silicon. On Linux: libvirt (fastest) manages QEMU; Cloud Hypervisor (minimal, experimental) is managed by boxery itself, with a systemd unit per VM; both run on KVM in the Linux kernel. OpenShell (restricted, experimental) goes through its gateway to a container that shares the host kernel, with no VM. In the cloud, exe.dev and boat (no hardware, experimental) are reached through their API, and the rest runs on their servers.\" width=\"680\">\n  \u003C\u002Fpicture>\n\u003C\u002Fp>\n\n- **macOS: Lima.** VMs on the Mac you're on, through Apple's Virtualization framework. The quickest way to try boxery, and everything stays local.\n- **Linux: libvirt.** QEMU on KVM, and the fastest backend. Use a physical machine: a desktop, a laptop or a home server. A VPS works only if it offers nested virtualization.\n\n### Experimental\n\n- **Linux: Cloud Hypervisor.** A leaner VMM on the same KVM, with no libvirt: boxery manages it itself, with a systemd unit per VM.\n- **Linux: [OpenShell](docs\u002Fopenshell.md).** Headless sandboxes from [NVIDIA's OpenShell](https:\u002F\u002Fgithub.com\u002FNVIDIA\u002FOpenShell), behind its gateway, with a policy on what each one can read and reach. With its Docker driver they're containers on the host's kernel, not VMs. No desktop, snapshots, forks or pool.\n- **Cloud: exe.dev and boat.dev.** VMs on the provider, with no hardware of your own. For long-running work, keep the host on an always-on machine such as a small VPS.\n\n## Install\n\nThe easiest way is to give this prompt to your agent:\n\n```text\nRead github.com\u002Fmodem-dev\u002Fboxery and set up boxery on this machine.\nThen spin up a VM with `boxery new demo` and open its desktop.\n```\n\nOr by hand, on a Mac:\n\n```bash\nbrew install lima jq node\nnpm install -g boxery-vm\nboxery-host init --backend lima && boxery-host build-base\nboxery setup local\n```\n\n`build-base` builds the desktop image once (about 3 min); skip it if you only want headless VMs. On Linux or in the cloud, see the [install guide](docs\u002Finstall.md#choosing-a-backend).\n\nThen connect your agent:\n\n```bash\nnpx add-mcp boxery-vm      # Claude Code, Codex, Cursor, VS Code, opencode, Zed, …\npi install npm:boxery-vm   # or the native pi extension\n```\n\nAnd ask: *\"Clone my repo in a VM, start the dev server, and screenshot the homepage in Chrome.\"*\n\n## What your agent gets\n\n| Tools | |\n|---|---|\n| `vm_bash` `vm_read` `vm_write` `vm_edit` `vm_jobs` `vm_copy` | Shell, files and background jobs |\n| `vm_screenshot` `vm_click` `vm_type` `vm_key` `vm_scroll` `vm_browser` | Computer use and Playwright on the desktop |\n| `vm_manage` `vm_info` | Create, fork, snapshot, revert and remove VMs |\n| `vm_grant` `vm_lease` | Ask you to grant access (GitHub, ssh-agent, env vars), or lease a VM from a shared pool |\n\nYou can also drive VMs yourself with the [CLI](docs\u002Fcli.md): `boxery attach demo`, `boxery desktop demo`.\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fmodem-dev\u002Fboxery\u002Fmaster\u002Fdocs\u002Fcomputer-use.png\" alt=\"A boxery VM's XFCE desktop: a Vite dev server and htop in terminals, a file manager, and Chrome showing the app on localhost\" width=\"760\">\n  \u003Cbr>\n  \u003Csub>Every VM is a full Linux desktop your agent can drive: terminals, a file manager, and a real Chrome showing the dev server it just started.\u003C\u002Fsub>\n\u003C\u002Fp>\n\n## Documentation\n\n| | |\n|---|---|\n| [Install](docs\u002Finstall.md) | Hosts on every backend, laptop setup, LLM providers |\n| [MCP server](docs\u002Fmcp.md) | stdio on your laptop, or Streamable HTTP over Tailscale |\n| [pi extension](docs\u002Fpi-extension.md) | `--vm`, `\u002Fvm` commands, tools, fan-out |\n| [CLI reference](docs\u002Fcli.md) | Every `boxery` and `boxery-host` command, and their `--json` output |\n| [Backends](host\u002Fbackends\u002FREADME.md) | libvirt, Lima, Cloud Hypervisor, exe.dev, boat.dev, OpenShell, and the backend contract |\n| [Grants](docs\u002Fgrants.md) | Give a VM LLM providers, GitHub\u002FHTTPS APIs (secret stays on the host), your ssh-agent, env vars, or files |\n| [Named hosts](docs\u002Fhosts.md) | Multiple hosts, one controller and MCP server |\n| [Shared pool & leases](docs\u002Fpool.md) | Several agents, one pool of VMs, no collisions |\n| [GitHub Actions runners](docs\u002Fgithub-runners.md) | Ephemeral self-hosted runners: every job in a freshly reset pool VM |\n| [Security model](docs\u002Fsecurity.md) | Credential proxy, isolation, what a VM can and can't reach |\n| [Architecture](ARCHITECTURE.md) | Design, roadmap, and failure modes |\n\n## Status\n\nThe exe.dev, boat.dev, Cloud Hypervisor and OpenShell backends are experimental. See the [roadmap](ARCHITECTURE.md#roadmap).\n\n## Contributing\n\nBug reports and PRs are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md).\n\n```bash\nnpm run lint && npm test && npm run test:shell\n```\n\n## Sponsor\n\nSponsored by [Modem](https:\u002F\u002Fmodem.dev?utm_source=github&utm_medium=oss&utm_campaign=oss_boxery&utm_content=readme_footer).\n\n\u003Ca href=\"https:\u002F\u002Fmodem.dev?utm_source=github&utm_medium=oss&utm_campaign=oss_boxery&utm_content=readme_footer\">\n  \u003Cpicture>\n    \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fmodem.dev\u002Fimages\u002Flogo\u002Fsvg\u002Fmodem-combined-white.svg\">\n    \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fmodem.dev\u002Fimages\u002Flogo\u002Fsvg\u002Fmodem-combined-black.svg\">\n    \u003Cimg src=\"https:\u002F\u002Fmodem.dev\u002Fimages\u002Flogo\u002Fsvg\u002Fmodem-combined-black.svg\" alt=\"Modem\" width=\"220\">\n  \u003C\u002Fpicture>\n\u003C\u002Fa>\n\n## License\n\n[MIT](LICENSE) © Ben Vinegar\n","Boxery 是一个为编程智能体（coding agents）提供轻量级虚拟机沙箱的工具，支持在本地（macOS\u002FLinux）、远程服务器或云平台（如 exe.dev、boat.dev）快速创建、快照、克隆和销毁隔离的 Linux VM。其核心功能包括 CLI 管理、MCP（Model Context Protocol）兼容服务、多后端抽象（Lima\u002Flibvirt\u002FCloud Hypervisor 等），并确保用户密钥与主环境隔离。适用于需要安全执行不可信代码、按项目\u002F分支隔离开发环境、或并行运行多个代理任务的研发场景。","2026-11-24 04:32:59","CREATED_QUERY"]