Show HN:Lume 0.2 – 透過自動化設定建置與執行 macOS 虛擬機

Hacker News·

Lume 0.2 是一個新的開源命令列工具與框架,利用 Apple 原生的虛擬化框架,在 Apple Silicon 上建置與執行 macOS 和 Linux 虛擬機。它提供自動化設定功能,用於自動化 macOS 任務,並可透過 HTTP API 進行程式化控制。

Image

Image

What is Lume?

Introduction to Lume - the macOS VM CLI and framework

Lume is a VM runtime for building AI agents, running CI/CD pipelines, and automating macOS. It uses Apple's native Virtualization Framework to run macOS and Linux VMs at near-native speed on Apple Silicon.

MIT License

Lume is open-source and MIT licensed. If you find it useful, we'd appreciate a star on GitHub!

Cloud macOS Sandboxes

We're piloting a managed service for customers who want to run cloud macOS sandboxes for CI/CD and agent workloads. Book a demo if you're interested.

A single binary with an HTTP API. Create a VM, run it headlessly, control it programmatically.

Architecture

Image

You can use Lume directly via CLI, or run lume serve to expose an HTTP API for programmatic access. The Computer SDK uses this API to automate macOS interactions.

How it works

Lume is a thin layer over Apple's Virtualization Framework, which provides hardware-accelerated virtualization on Apple Silicon. This gives you:

When to use Lume

Testing across macOS versions — Spin up a VM with a specific macOS version, test your software, tear it down. No need to maintain multiple physical machines.

Automating macOS tasks — Combine Lume with Unattended Setup to create pre-configured VMs. The setup automation uses VNC and OCR to click through the Setup Assistant without manual intervention.

Running CI/CD locally — Test your macOS builds in isolated VMs before pushing to remote CI. The --no-display flag runs VMs headlessly.

Sandboxing risky operations — Need to test untrusted software or destructive scripts? Run them in a VM, then delete it. Clone a known-good VM to reset to a clean state instantly.

Building AI agents — Lume powers the Cua Computer SDK, providing VMs that AI models can interact with through screenshots and input simulation.

Used by Anthropic

Apple's Virtualization Framework—the same technology Lume is built on—powers Claude Cowork, Anthropic's sandboxed environment for Claude Code. It downloads a Linux root filesystem and boots it in an isolated VM where Claude can safely execute commands without access to your broader system.

What Lume doesn't do

Lume requires Apple Silicon—it won't work on Intel Macs or other platforms.

Get started

Ready to try it? Install Lume and create your first VM in the Quickstart.

Was this page helpful?

SDK Reference

Session interface for interacting with desktop environments

Installation

Install Lume on your Mac

On this page

© 2026 Cua AI, Inc.

Hacker News

相關文章

  1. Show HN:在背景操作任何 macOS 應用程式且不干擾游標

    大約 14 小時前

  2. Sandvault:在隔離的 macOS 使用者帳戶中運行 AI 代理

    3 個月前

  3. Show HN:我打造了一個沙盒虛擬機,讓 AI 代理無風險地盡情發揮

    3 個月前

  4. 讓您的AI代理管理Lambda雲端GPU實例

    3 個月前

  5. 為您的AI開發工具建立沙盒:虛擬機與Lima的實用指南

    3 個月前

其他收藏 · 0