nehemiah

boringcomputersApache-2.0活跃维护

按需拉起带浏览器和终端的 Firecracker 微虚拟机,交给 AI 代理直接操作,为计算机使用类智能体提供隔离的真实 Linux 沙箱。

On-demand Linux computers you can hand to an AI — real Firecracker microVMs with a browser, terminal, coding agents, and an AI that drives them.

暂无版本346star46fork同步于 2026-11-07 07:31 UTC

怎么上手

由 README 提炼,执行前请确认
git clone https://github.com/boringcomputers/nehemiah
cd nehemiah && npm install
infra/latitude/provision.sh --config "${XDG_CONFIG_HOME:-$HOME/.config}/nehemiah/latitude-host.env"
硬件要求按 README 说明

README 未说明具体 CPU/内存/显存要求;仅支持从签名发布产物在 Latitude.sh 裸金属主机上部署,不支持本地源码构建。

支持 Apple Silicon
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

自托管的按需 Linux 微虚拟机,可交给 AI 直接操作

按需拉起带浏览器和终端的 Firecracker 微虚拟机,交给 AI 代理直接操作,为计算机使用类智能体提供隔离的真实 Linux 沙箱。

核心能力

  • 每台机器是独立内核的 Firecracker microVM
  • 从内存快照恢复,约 3ms 启动
  • 预装 claude、codex、cursor、pi 等编码代理
  • AI 可操作屏幕或写代码并给出可访问 URL
  • 支持约 35ms 克隆运行中机器的完整状态

容易踩的坑

旧的 infra/setup.sh 和 setup-local.sh 一键安装脚本已不再支持,会直接退出;托管主机部署需要 Latitude.sh 裸金属和签名发布产物,不能本地源码构建;持久机器需服务端开启 NEHEMIAH_ALLOW_PERSISTENT。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

0 个版本

暂无 release 数据(可能没有发版,或尚未同步)。

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Nehemiah

    CI

    On-demand Linux computers you can hand to an AI.

    Each one is a real Firecracker microVM — a full machine with its own kernel — that boots in milliseconds, does its thing, and self-destructs when it's done (or stays up as long as you want). Open source (Apache-2.0), self-hosted with your own keys. boringcomputers.com is a showcase; you run the real thing yourself.

    "build a snake game I can play" → a warm desktop boots in seconds, the AI writes and serves the game, and you play it at a live URL

    A Nehemiah machine: a live desktop with a browser and calculator, a terminal with claude/codex/cursor/pi preinstalled, and an AI build box

    One machine, everything on it — a live desktop with a real browser, a terminal with coding agents preinstalled, and an AI you can hand the whole thing to. Type "build a snake game" and it writes it, runs it, and gives you a link to play.

    What you get

    • A computer — a full Linux desktop (browser, terminal, apps) over VNC, or a fast headless shell.
    • Coding agents preinstalled — claude, codex, cursor, pi, plus node, python, git and internet.
    • An AI that drives it — say what you want. It either uses the screen (clicks, browses) or writes + runs code and hands you a live URL.
    • Files & ports — drag files in and out; open any port through the daemon.
    • Fork — clone a running computer, exact live state and all, in ~35 ms.
    • Storage — persistent volumes (S3-backed) that outlive a machine.
    • Ephemeral or not — machines self-destruct on a TTL by default; flip keep alive and one runs until you stop it.

    Run your own

    Nehemiah runs as a managed cloud: hosts are provisioned from signed release artifacts onto machines the control plane enrolls, not from a local source build. The supported path stands up one approved Latitude.sh bare-metal host from a published v<version> release:

    git clone https://github.com/boringcomputers/nehemiah
    cd nehemiah && npm install
    
    # provision one managed host from a signed release (needs operator inputs — see the runbook)
    infra/latitude/provision.sh --config "${XDG_CONFIG_HOME:-$HOME/.config}/nehemiah/latitude-host.env"
    

    Follow infra/latitude/README.md for the full managed-host runbook: the signed-release trust boundary, the one-use enrollment grant, the WireGuard overlay, and the canary checks to run before admitting workloads. Tear a host back down (and stop billing) with infra/latitude/teardown.sh.

    The earlier self-serve one-command installers are no longer supported. infra/setup.sh (a Linux box over SSH) and infra/local/setup-local.sh (an Apple Silicon Mac in Lima) built the host from source, but host bootstrap now installs Firecracker, the jailer, and the kernel only from signed managed-release artifacts, which those scripts cannot supply. They now exit with a pointer to the managed runbook above.

    Then run the site against your host:

    # apps/web/.env
    PUBLIC_NEHEMIAH_URL=http://YOUR_HOST_IP:8080   # or a tunnel — see apps/web/.env.example
    npm run dev -w web
    

    Full REST + WebSocket API in the docs.

    From any AI — an MCP server (nehemiah-mcp) lets Claude Desktop, Cursor, and other agents spin up and drive your computers as a tool:

    {
      "mcpServers": {
        "nehemiah": {
          "command": "npx",
          "args": ["-y", "nehemiah-mcp"],
          "env": { "NEHEMIAH_URL": "http://localhost:8080" }
        }
      }
    }
    

    There's also an Effect-native TypeScript client, nehemiah-sdk (npm install nehemiah-sdk).

    How it works

    Real hardware-virtualized isolation — a kernel per machine, not a shared container. Each VM is jailed and resource-capped, restored from a memory snapshot in ~3 ms, and self-destructs on a TTL (or runs until you stop it, when the server enables NEHEMIAH_ALLOW_PERSISTENT). Guests are network-isolated behind an egress firewall. The host daemon is nehemiahd/ (Go); hosts are provisioned from a signed release via the managed runbook (infra/latitude/).

    Repo

    A Turborepo monorepo (npm workspaces):

    apps/web/          the site — SvelteKit
    nehemiahd/           the host daemon — Go, runs the microVMs
    packages/sdk/      nehemiah-sdk — Effect-native TypeScript client
    packages/mcp/      nehemiah-mcp — MCP server
    infra/latitude/    managed-host provisioning (provision/teardown), image builds, networking
    
    npm install      # all workspaces
    npm run dev      # the site
    npm run build    # production build
    npm run check    # type-check
    npm run lint     # prettier + eslint
    

    Contributing & license

    Contributions welcome — see CONTRIBUTING.md. Licensed under Apache 2.0.