Repository navigation
Releases
kido 0.6.0
Highlights
- Instant container snapshot and fork (
kido snapshot,kido fork): Checkpoint running KidoDarwin micro-VMs and fork isolated clones in milliseconds (138 ms snapshot, 265 ms fork on Apple M5 Max) across both macOS Virtualization.framework and ARM64 Linux KVM (MAP_PRIVATECoW RAM andKIDOCOW1block overlay). - Hardware-timestamp GPU profiling (
kido trace --gpu,--gpu-trace): Record zero-overhead-when-disabled GPU execution timelines on both macOS (MTLCommandBuffer.GPUStartTime/GPUEndTime) and Linux (vendor-agnostickmtl_protointerception), export directly to Perfetto (https://ui.perfetto.dev) with host-to-GPU flow arrows and shader compile spans, and inspect top kernels in the terminal withkido trace summary. - Agnostic drop-in Metal worker plugin system: Discover and probe external GPU workers via
metal-workers.d/*.jsonmanifests (--probe,--gpu-worker,KIDO_METAL_WORKER) with a documented wire contract indocs/metal-worker-protocol.md.kido-vk-workernow consumes the standalone Apache-2.0kido-sh/air2compiler via its versioned C99 ABI withVK_KHR_cooperative_matrixprobing and real devicemaxComputeSharedMemorySizepropagation. - TUF two-tier root trust for
kl(kl.kido.sh): Added fail-closed 2-of-3 offline root key rotation and release-key revocation (kl key status,kl-repo root-{init,rotate,verify}) with zero new Cargo dependencies. The updated KidoDarwin 26.5 base image ships/etc/kl/root.1.jsonand enablesroot_bootstrapout of the box, with 12 zero-GPL native system library packages live onhttps://kl.kido.sh(Wave 1 + Wave 2:libxslt,libarchive,libpcre2,libpcre,libpcap,libxar,libpam). - KidoDarwin 26.5 (
25F74) base image polish: Bundled the TUF-enabled/usr/bin/kland/etc/kl/root.1.json, updatedlibz.1.dylibto1.2.12with compatibility symlinks, addedlibbz2.1.0.8.dyliband 7 legacylibSystem.B.dylibcompatibility symlinks, and setlibicucore.A.dylibcompatibility/current versions (1.0.0/78.1.0). - Browser playground (
https://play.kido.sh): Added in-browser live LZ4 snapshots, restore, and 50/50 split-screen Instant Fork (347 ms) alongside WebGPU Metal 3 compute powered bykido-sh/air2.
Upgrade
kido upgradeOr with Homebrew on macOS:
brew upgrade kidoPull the updated KidoDarwin 26.5 base image with 2-of-3 TUF kl root trust pre-installed:
kido pull darwinkido 0.5.0
Highlights
- kl system package manager (
kl.kido.sh): KidoDarwin now ships/usr/bin/kland/etc/kl.confin the ~30 MB base image with Cocoa's embedded Ed25519 release signing key. Runkl update && kl add standard swift-runtimeinside any container to install verified, zero-GPL native Darwin libraries and runtimes (python3 3.13.14, open-sourceswift-runtime 5.10.1,libxml2 2.15.3,libffi 3.5.2) for both portablearm64and Apple Siliconarm64e. - Native VirtIO-FS and live file notifications on ARM64 Linux:
-v host:guestlive bind mounts and host-to-guest inotify live notifications now work natively inkido-vmmon ARM64 Linux KVM, matching the macOSVirtualization.frameworkexperience. - Metal 3 compute GPU improvements: Concurrent compute dispatch fixes, AIR-to-SPIR-V LLM kernel support, ARM64 coherency sync optimizations, and clean guest client teardown across both macOS and ARM64 Linux Vulkan hosts.
- KidoDarwin 26.5 (
25F74) base image upgrades:- Upgraded
libresolv.9.dylibto Apple OSSlibresolv-96, exporting all 155/155 macOS 27.2 symbols on botharm64andarm64e. - Added
VirtioMetalkext,Metal.framework(IOAcceleratorin IORegistry), clean-room Apache-2.0libxcselect.dylib,/usr/bin/curl, and LibreSSL CLI tools. - Published reproducible SPDX 2.3 SBOM (
sbom.spdx.json) alongside the OCI image.
- Upgraded
- Browser playground: Boot unmodified arm64 Darwin (XNU) with Metal 3 compute on WebGPU directly in Chrome and Safari at https://play.kido.sh (
kido-sh/kido-wasm).
Upgrade
kido upgradeOr with Homebrew on macOS:
brew upgrade kidoPull the updated KidoDarwin 26.5 base image with /usr/bin/kl:
kido pull darwinkido 0.4.0
- Metal GPU compute passthrough (
--gpu):- macOS 27+ hosts: zero-copy
virtio-metalpassthrough to hostMetal.frameworkover a shared PCIe BAR4 memory window. - ARM64 Linux hosts: process-isolated
kido-vk-workerVulkan compute backend featuring a 4-slot async command pipeline, 64-bit hardware timestamps, Tier-1udmabufand Tier-2VK_EXT_external_memory_hostzero-copy imports, automatic hardware DMA coherency detection, KVM dirty-log PoC cache sync for non-coherent SoCs, GICv2 fallback for Raspberry Pi 5, and sandboxed LLVM AIR.metallibtranslation. Verified on RK3588 (Mali-G610 MC4, PanVK) and Raspberry Pi 5 (V3D 7.1, V3DV).
- macOS 27+ hosts: zero-copy
- ARM64 Linux hardware probe (
kido probe/kido-probe):- New 67 KB zero-Vulkan-link-dependency probe utility shipped in
libexec/kido/kido-probeand as a standalonekido-probe-0.4.0-linux-arm64asset (GLIBC_2.34+). Inspects CPU big.LITTLE topology,/dev/kvm, GICv2/GICv3, Vulkan compute limits, zero-copy memory tiers, and live DMA coherency, with--jsonoutput matching the kido.sh Linux hardware docs schema.
- New 67 KB zero-Vulkan-link-dependency probe utility shipped in
- Multi-stage
Kidofilebuilds:kido buildnow supports multi-stageFROM ... AS <stage>,COPY --from=<stage>, and--target <stage>.
Upgrade on macOS with kido upgrade or brew upgrade kido. On ARM64 Linux, install or upgrade from v0.3.0 with curl -fsSL https://kido.sh/install.sh | sh (this picks up kido-probe; kido upgrade supports kido-probe and kido-vk-worker starting in v0.4.0).
kido 0.3.0
- Native ARM64 Linux support with zero QEMU required: kido now ships a built-in Rust KVM micro-VMM (
kido-vmm, ~700 KiB static binary) with VirtIO PCI block and network devices, userspace NAT and port forwarding, RK3588 big.LITTLE performance-core pinning, and a sparse block-level copy-on-write overlay for fast container creation on ext4. SetKIDO_BACKEND=qemuto use QEMU instead. - Native Rust guest agent (
kido-agent, 431 KiB in the Darwin image): replaces the Go guest agent inside KidoDarwin with full protocol parity, ARMv8 AES and PMULL hardware acceleration, lower memory footprint, and faster boot. kido buildnow usesKidofileand.kidoignoreby default, andkido pushandkido saveuse best zstd compression.- Smaller Darwin base image (
ghcr.io/kido-sh/darwin, ~30 MB download): compressed with zstd ultra level 22 and adds EL0 emulation for ARMv8.2 hosts (FEAT_LRCPC2,FLAGM,FLAGM2,SB) so Apple arm64 binaries run cleanly on RK3588 and other ARMv8.2-A Linux boards. Published underlatest,26,26.5, and26.5-20261128.
Upgrade on macOS with kido upgrade or brew upgrade kido, or install on macOS arm64 and ARM64 Linux with curl -fsSL https://kido.sh/install.sh | sh, then run kido pull darwin.
kido 0.2.0
- Live mounts, in beta:
-vmounts a directory live on the default Virtualization.framework backend. What the container writes reaches the Mac as it writes it, changes made on the Mac show up in the container within about a second, and:rois enforced by the Mac. Live mounts need the Darwin image below, so runkido pull darwinafter upgrading.--copy-mountsonkido runandkido createcopies a container's directories in and back instead, as before, andkido inspectlists each mount with its mode,liveorcopy. Containers created before keep copying their mounts, and so do mounts of single files, the QEMU backend and images without the virtio-fs client. The Mounts section of docs/usage.md has the details. kido run -dandkido createtake--restart always,unless-stoppedoron-failure[:max-retries]. The container restarts when its main process exits or its VM dies, after one second, then twice as long each time up to a minute, and the wait starts over after a run of ten seconds.kido stopandkido killend the restarts until the nextkido start. Containers do not come back by themselves after the Mac restarts yet.
The Darwin image ghcr.io/kido-sh/darwin:26.5 now has a virtio-fs client, which live mounts use, and mount(8) takes the noatime option. Three kernel fixes keep a store through a writable file mapping from being lost when msync(2), fsync(2) or page-out cleans the page at the same moment.
Upgrade with kido upgrade, or with brew upgrade kido, then run kido pull darwin.
kido 0.1.1
-p HOST:GUEST/udpnow works on the default Virtualization.framework backend.- An image name without a registry comes from ghcr.io, and one without a namespace from kido-sh there.
kido run darwinnow works withoutkido setup, andkido loginwithout a server logs in to ghcr.io. kido doctorcalls its registry check Credentials, and it says where your credentials come from.- Pull and push errors name the full remote they tried.
The Darwin image ghcr.io/kido-sh/darwin:26.5 now has libcurl, libedit and ncurses, as macOS has them in /usr/lib. python.org's Python gets line editing and curses, and CMake and cargo can download over HTTPS. Containers also pick random TCP source ports, so a restarted container no longer collides with its old connections.
Upgrade with kido upgrade, or with brew upgrade kido.
kido 0.1.0
The first release of kido.
curl -fsSL https://kido.sh/install.sh | shOr with Homebrew: brew install kido-sh/tap/kido, then kido setup.
- Each container is a small Darwin VM. kido runs it with Apple's Virtualization.framework by default.
KIDO_BACKEND=qemuruns it with QEMU instead. kido setuppulls the Darwin image, ghcr.io/kido-sh/darwin.kido upgradeinstalls later releases. Homebrew users runbrew upgrade kidoinstead.SHA256SUMSis signed with the kido release key.install.shandkido upgradeinstall nothing without that signature. docs/security.md shows how to check it by hand.