惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
S
Security Affairs
阮一峰的网络日志
阮一峰的网络日志
L
LangChain Blog
Microsoft Azure Blog
Microsoft Azure Blog
雷峰网
雷峰网
Recent Announcements
Recent Announcements
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
博客园_首页
The Cloudflare Blog
M
MIT News - Artificial intelligence
博客园 - 【当耐特】
MyScale Blog
MyScale Blog
S
SegmentFault 最新的问题
P
Proofpoint News Feed
Y
Y Combinator Blog
Jina AI
Jina AI
博客园 - 聂微东
A
About on SuperTechFans
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
F
Full Disclosure
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
T
Tailwind CSS Blog
J
Java Code Geeks
Vercel News
Vercel News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Stack Overflow Blog
Stack Overflow Blog
罗磊的独立博客
小众软件
小众软件
酷 壳 – CoolShell
酷 壳 – CoolShell
T
The Blog of Author Tim Ferriss
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
博客园 - 三生石上(FineUI控件)
W
WeLiveSecurity
PCI Perspectives
PCI Perspectives
Attack and Defense Labs
Attack and Defense Labs
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
宝玉的分享
宝玉的分享
IT之家
IT之家
Hacker News: Ask HN
Hacker News: Ask HN
The Register - Security
The Register - Security
T
The Exploit Database - CXSecurity.com
T
Threat Research - Cisco Blogs

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor GitHub - GenAI-Gurus/awesome-eu-ai-act: Curated tools, official sources, OSS, templates, and guides for EU AI Act compliance. Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders How to Switch AI Chatbots and Why You Might Want To GitHub - MattMessinger1/agentic_refund_guardrail: Safe refund policy layer for AI agents — Python + TypeScript. Same behavior, shared tests. Adam/papers/emergent_values_whitepaper.md at master · strangeadvancedmarketing/Adam Ask HN: How do you stop playing 20 questions with your AI coding tools How far can automation and AI support psychotherapy? - @theU GitHub - stagas/rtdiff: realtime git diff gui and AI-assisted commits A Mac Studio for Local AI — 6 Months Later A History of the Early Years of AI at the University of Edinburgh Why AI Coding Tools Still Feel Stuck on Localhost MSN AI Datacenters Are Becoming Strategic Targets twitter.com Penn Researchers Use AI to Surface Unreported GLP-1 Side Effects in Reddit Posts Show HN: MoodSense AI (ML and FastAPI and Gradio, Deployed on Hugging Face) Moodsense Ai - a Hugging Face Space by aman179102 AI models are terrible at betting on soccer—especially xAI Grok GitHub - xialeistudio/echoic GitHub - HimashaHerath/github-dev-wrapped: AI-powered weekly GitHub activity reports deployed to GitHub Pages GitHub - alejandrobalderas/claude-code-from-source: Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps AI and Tech brief: Ireland ascendant GitHub - Titovilal/context0: Context0 - Never Surrender Training for a Marathon with an AI Coach: What Worked and What Didn't Cyber Pulse: Agentic Intel - Apps on Google Play I Built an AI PR Reviewer That Catches Bugs by Not Looking for Bugs Gen Z workers are so fearful AI will take their job they’re intentionally sabotaging their company’s AI rollout | Fortune How AI Is Reimagining the Game of Golf–For Both Players and Courses GitHub - nattergabriel/reseed: A CLI tool for managing and distributing agent skills across projects Is SVG the final frontier? My AI workflow evolved from prompts to a near-autonomous workflow MLSharp Help - 3DGS Viewer & Generator I put my cognitive field based AI's runtime on GitHub Is Numble the first AI-proof game? A3: Kubernetes for autonomous AI agent fleets | Emergent Principles Deepali Vyas ("The Elite Recruiter") GitHub - msmarkgu/RelayFreeLLM: A restful API designed to route user prompts to various AI model providers. Unionized ProPublica staff are on strike over AI, layoffs, and wages Unleashing the Advantage of Quantum AI We're heading for an AI-fueled 'dementia crisis,' brain scientist warns The AI-Assisted Breach of Mexico's Government Infrastructure [pdf] GitHub - stef41/lmscan: 🔍 Detect AI-generated text and fingerprint which LLM wrote it. Open-source GPTZero alternative. Zero dependencies, works offline. MSN GitHub - visionscaper/collabmem: Enabling long-term collaboration with Agentic AI - building up episodic and world model memory over time with in-context awareness We gave an AI a 3 year retail lease in SF and asked it to make a profit | Andon Labs AI Code is Hollowing Out Open Source, and Maintainers are Looking the Other Way What leaked "SteamGPT" files could mean for the PC gaming platform's use of AI AI is the boss at this retail store. What could go wrong? GitHub - Wuzu11517/agentic-proxy: Local proxy meant to help reduce With Drones, Geophysics and ArtificiaI Intelligence, Researchers Prepare to Do Battle Against Land Mines A Single Operator, Two AI Platforms, Nine Government Agencies: The Full Technical Report 在 Steam 上购买 FriedrichAI: Offline AI 立省 10% GitHub - inevolin/resume-cli: Hit Claude usage limits? Resume any AI coding session elsewhere. Switch tools at zero friction. GitHub - atripati/ark: AI Runtime Kernel — a context operating system for AI agents. Eliminates tool bloat, loads only what’s needed, and gives LLMs their reasoning space back. How to Build a Secure AI PR Reviewer with Claude, GitHub Actions, and JavaScript This Startup Wants You to Pay Up to Talk With AI Versions of Human Experts Intel Arc Pro B70 Brings 32GB VRAM to Local AI for $949 WordPress 7.0: The Good, the AI, and the Still Missing AI on the couch: Anthropic gives Claude 20 hours of psychiatry IatroBench: Pre-Registered Evidence of Iatrogenic Harm from AI Safety Measures AI Agents Know About Supabase. They Don't Always Use It Right. The history and future of AI at Google, with Sundar Pichai Inside an AI‑enabled device code phishing campaign How Meta Used AI to Map Tribal Knowledge in Large-Scale Data Pipelines AI for Systems: Using LLMs to Optimize Database Query Execution Forecasting the Economic Effects of AI Introducing Tinker: Play with AI, bring your ideas to life AI sheds light on an ancient gaming mystery People really hate AI but not as much as Iran—or Democrats | Fortune What is an AI Product Engineer? Phoebe Gates wants her $185 million AI startup to succeed with 'no ties to my privilege or my last name': 'I have a chip on my shoulder' | Fortune
GitHub - chamuka-inc/vmette: A hardware-isolated microVM sandbox for running untrusted local AI agents on macOS.
swiftugandan · 2026-06-01 · via Hacker News - Newest: "AI"

Run your coding agent on your Mac — without the anxiety.

Claude Code, Cursor, Cline, and friends pip install whatever a README names, execute model output, and act on web pages that can carry prompt injection. Run that straight on your laptop and the agent has your files, your tokens, and your network. vmette gives that work somewhere safe to happen instead: a real, hardware-isolated Linux VM that boots in ~1 second, sees only what you share in, and disappears when it's done. Send the agent's untrusted work there — or lock the agent down so the VM is its only way to run code — and nothing it executes can reach your files, tokens, or network. Your code and secrets never leave the device.

vmette booting a Linux guest, propagating its exit code to the host, and enforcing default-deny networking until --net is passed

It's built on Apple's Virtualization.framework: the boundary is a hypervisor with its own kernel, not a container sharing yours. Default-deny — no host filesystem and no network until you explicitly grant them. Ephemeral — each run is a fresh guest, so nothing persists. And it's a Model Context Protocol server, so any MCP-aware agent host gets a sandboxed machine with one line of config.

Why on-device

Cloud sandbox (E2B, Vercel, Modal…) Container (Docker) vmette
Isolation boundary microVM / gVisor (varies) shared host kernel hardware VM, its own kernel
Where it runs someone else's cloud your machine your Mac
Your code & secrets leave the device stay local stay local
Network egress on by default (policies optional) on by default off until you pass --net
Cost usage-metered (per-second / CPU) free free, on-device
Boot time sub-second + a network round-trip ~sub-second ~1 second, local

The cloud sandboxes are fast and well-isolated — they boot the same kind of microVM in milliseconds. The catch isn't speed; it's that the work runs on someone else's machine, reached over the network, with a usage meter running across a long agent loop. A container is local and free but shares your kernel — one namespace away from the host. vmette is the on-device option that keeps the real isolation without the round-trip.

Install

curl -fsSL https://github.com/chamuka-inc/vmette/releases/latest/download/install.sh | bash

Installs to ~/.local/share/vmette/, symlinks ~/.local/bin/{vmette,vmetted,vmette-mcp}. macOS-only (any version with VZ — i.e. 11+; tested on 14.7 Intel).

Or build from source
git clone https://github.com/chamuka-inc/vmette
cd vmette
make build              # cargo build + codesign
make test               # cargo unit + end-to-end VM smoke

Give your agent a sandbox (MCP)

vmette-mcp is a Model Context Protocol server that hands any MCP-aware agent host a sandboxed machine as a set of tools (execute, workspace_*, desktop_*). Work the agent runs through these tools happens inside the VM — never on your host filesystem (unless you share a directory in), with no network egress (unless you start the server with --allow-network). Note it adds the sandbox alongside the host's own tools; in Claude Code the agent still has native Bash that runs on your Mac, so to make the VM its only way to run code, restrict those too (e.g. deny the Bash tool). See docs/MCP.md.

Claude Code — one command, no config file:

claude mcp add vmette --scope user -- vmette-mcp --allow-network

Claude Desktop, Cursor, Cline, Zed, Goose — point the host at the vmette-mcp command. JSON example (Claude Desktop's ~/Library/Application Support/Claude/claude_desktop_config.json):

The server ships an execute tool, fetch_url, a workspace_* family (each call boots a fresh microVM), and a desktop_* family for computer use.

Per-host setup snippets (Claude Code, Claude Desktop, Cursor, Cline, Zed, Goose) plus the full tool reference and security model: docs/MCP.md.

Give your agent a desktop (computer use)

Drive a persistent graphical Linux desktop inside a microVM — screenshot, click, type — the way a computer-use agent expects. A headless X server (Xvfb) + window manager run in the guest, driven by an in-guest agent over vsock; no Apple graphics window is involved.

vmetted &                                    # sessions live in the daemon
SID=$(vmette desktop start)                  # first run pulls the desktop rootfs from ghcr
vmette desktop screenshot "$SID" --out shot.png && open shot.png
vmette desktop exec "$SID" 'xterm &'
vmette desktop click "$SID" 640 400
vmette desktop type  "$SID" 'echo hello'
open "$(vmette desktop view "$SID")"        # watch & drive it live over VNC
vmette desktop stop  "$SID"

You can watch — and take over — a session live: vmette desktop view (or the desktop_view MCP tool) returns a loopback vnc://host:port you open with any VNC client (macOS Screen Sharing via open vnc://…). The daemon streams the screen and forwards your mouse/keyboard as the same actions the agent uses, so a human and the agent share one display. The same capability is exposed to agents through the MCP desktop_* tools (desktop_screenshot returns a PNG image block).

The desktop rootfs. The desktop needs a Debian-slim image (Xvfb + openbox + the agent) — a separate, larger rootfs from the headless paths. You don't have to build it: vmette desktop start pulls the published image from ghcr.io/chamuka-inc/vmette-desktop automatically on first use (then cached under ~/Library/Caches/vmette/oci/), so the MCP and CLI desktop paths work out of the box — no Docker needed. Building locally is optional, for hacking on the image or working offline: make desktop-image (needs Docker; builds linux/amd64 since the guest is x86_64-only) writes assets/vmette-desktop-rootfs.tar, which is auto-discovered and takes precedence over the registry so a dev session reflects your source. Resolution order: --image$VMETTE_DESKTOP_IMAGE → local assets/vmette-desktop-rootfs.tar → the ghcr.io/chamuka-inc/vmette-desktop image.

See docs/DESKTOP.md for the session lifecycle, protocol, action reference, and image build.

Run a one-off command (CLI)

Not running an agent? The same sandbox is a one-liner. Pull an OCI image and run a command in it:

vmette --rootfs python:3.12-alpine \
       --exec 'python3 -c "print(2**32)"; exit 0'

The exit code propagates to the host. The kernel and initramfs are auto-discovered (the release tarball ships them under $PREFIX/assets; from a checkout vmette finds ./assets). Override with --kernel / --initramfs or $VMETTE_ASSETS_DIR. First run pulls + extracts the image (alpine:3.20 ≈ 30 s); subsequent runs are cache hits (~3 s), cached at ~/Library/Caches/vmette/oci/.

One --rootfs flag, four sources — a local directory, an OCI ref, a tarball URL, or a squashfs block image. List the providers with vmette providers:

vmette --rootfs ./assets/alpine-rootfs              --exec 'uname -a'
vmette --rootfs alpine:3.20                         --exec 'cat /etc/alpine-release'
vmette --rootfs oci://ghcr.io/foo/bar:v1            --exec '/run-tests.sh'
vmette --rootfs tar+https://h/builds/r.tar.gz       --exec 'make ci'
vmette --rootfs tar+file:///tmp/local-rootfs.tar    --exec 'ls /'
vmette --rootfs squashfs+file:///tmp/base.sqfs      --exec 'ls /'

Network is off until you ask (--net), virtio-fs shares only the host dirs you name, and the rootfs can attach read-only. Private OCI registries authenticate via env vars or ~/.docker/config.json (VMETTE_OCI_TOKEN). Full flag list: vmette --help or docs/CLI.md.

The writable root is a RAM-backed overlay by default, so a heavy build or extract can outgrow --mem-mib and hit No space left on device. Add --scratch SIZE (e.g. --scratch 8G) to back it with an ephemeral ext4 disk instead — sized independently of RAM, created sparse per run, and discarded on teardown:

vmette --rootfs rust:1.80 --net --mem-mib 1024 --scratch 8G \
       --share src=$PWD --exec 'cd /mnt/src && cargo build'

How it works

  1. vmette builds a VZVirtualMachineConfiguration (kernel, initramfs, virtio devices, vsock).
  2. The kernel command line carries vmette.exec=<base64(cmd)> plus vmette.* flags. The guest's /init (scripts/custom-init.sh) parses them in pure shell, mounts virtio-fs shares, brings up the network if requested, then chroot / switch_root into the rootfs and runs the command.
  3. After the command exits, the guest writes the code to .vmette-exit, syncs, and poweroff -f. VZ fires the lifecycle delegate; the host reads the file and exits with that code.
  4. An immutable squashfs rootfs attaches read-only as virtio-blk with a tmpfs overlay, so the base stays content-addressable and shareable across sessions.

Embed it

vmette is also a library. The same VM primitive is available as a Rust crate, a C-ABI dynamic library, and a long-lived daemon — for building your own agent host or sandbox tooling on top.

Rust library

The library accepts a directory path; resolution from a spec (OCI ref, tarball URL, …) goes through the provider registry first.

use vmette::provider::{Context, DirProvider, Registry};
use vmette::Config;
use vmette_provider_oci::OciProvider;
use vmette_provider_squashfs::SquashfsProvider;
use vmette_provider_tar::TarProvider;

fn main() {
    let registry = Registry::new()
        .with(DirProvider::new())
        .with(SquashfsProvider::new())
        .with(TarProvider::new())
        .with(OciProvider::new());
    let ctx = Context::new(std::env::var_os("HOME").unwrap_or_default());
    let artifact = registry.resolve("alpine:3.20", &ctx).unwrap();

    let mut cfg = Config::new("./assets/vmlinuz-virt", "./assets/initramfs-vmette");
    cfg.set_rootfs_artifact(artifact, false);
    cfg.exec_cmd = Some("echo hello from rust; exit 42".into());

    // run() blocks until guest poweroff and process-exits with the guest's code.
    let _ = vmette::run(&cfg);
}
[dependencies]
vmette                   = "0.2"
vmette-provider-oci      = "0.2"
vmette-provider-tar      = "0.2"  # optional
vmette-provider-squashfs = "0.2"  # optional

See crates/vmette/examples/minimal.rs and docs/API.md.

C ABI
#include "vmette.h"

int main(int argc, char **argv) {
    vmette_config_t *cfg = vmette_config_new(argv[1], argv[2]);
    vmette_config_set_rootfs_share(cfg, argv[3], false);
    vmette_config_set_exec(cfg, "echo hello from C; exit 11");
    vmette_run_output_t *out = NULL;
    vmette_run(cfg, &out);                /* exits on guest poweroff */
    return vmette_run_output_exit_code(out);
}
cc -I include -L lib -lvmette -Wl,-rpath,lib -o demo demo.c

The -Wl,-rpath,lib matters: libvmette.dylib has the install name @rpath/libvmette.dylib, so the binary needs an rpath pointing at the directory that holds the dylib. The header is auto-generated from crates/vmette/src/ffi.rs via cbindgen and checked in at crates/vmette/include/vmette.h. See crates/vmette/examples/minimal.c and docs/API.md.

Daemon (vmetted)

Listens on ~/Library/Caches/vmette/vmette.sock. Speaks line-delimited JSON: client sends one request object, daemon streams stdout / stderr / exit frames. Useful for amortizing per-invocation cost or driving many runs from a long-lived caller; it also owns the stateful desktop session registry and the live VNC view.

import socket, json
s = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
s.connect("/Users/me/Library/Caches/vmette/vmette.sock")
s.sendall((json.dumps({
    "kernel": "/abs/path/vmlinuz-virt",
    "initramfs": "/abs/path/initramfs-vmette",
    "rootfs": "/abs/path/alpine-rootfs",   # also accepts alpine:3.20, tar+https://..., etc.
    "exec": "echo from daemon; exit 17",
}) + "\n").encode())
s.shutdown(socket.SHUT_WR)
print(s.recv(65536).decode())

See docs/DAEMON.md.

Constraints

  • macOS only. VZ is Apple-private. No Linux/Windows port planned.
  • Guest assets are currently x86_64-only. The repack pipeline references linux-virt-x86_64.apk. arm64 plumbing is documented in docs/HACKING.md; verification awaits arm64 hardware.
  • Snapshot/restore is Apple-Silicon-only. Apple gates the save/restore calls behind #if defined(__arm64__). On Intel, --build-snapshot / --resume-snapshot return VmetteStatus::SnapshotUnsupported. The daemon's snapshot-warm-pool is a planned optimization, not yet implemented.
  • Desktop sessions are software-rendered and live in the daemon. Headless Xvfb (no GPU); each session is a ~2 GB VM, capped and idle-evicted. Fine for agentic GUI control and UI testing, not for video / WebGL / 3D. See docs/DESKTOP.md.

Docs

License

MIT. See LICENSE.