Skip to content
@cocoonstack

Cocoon Stack

All things about vm and orchestrator

Cocoon Stack

MicroVM platform for AI sandboxing, cloud desktops, and ephemeral dev environments. Built on Cloud Hypervisor / Firecracker and Kubernetes.

Documentation: cocoonstack.github.io

Runtime

Repository Description Docs
cocoon Lightweight MicroVM engine — OCI/cloud images, instant snapshot & clone, Windows 11 support, CNI networking, Docker-like CLI docs
cocoon-agent In-VM exec agent — vsock command channel behind cocoon vm exec / logs and per-clone identity reseed, no SSH docs
cocoon-macos macOS guests via QEMU + OpenCore + OVMF, reusing cocoon's cloudimg store and clone/snapshot model docs
cloud-hypervisor Patched Cloud Hypervisor fork — DISCARD fix, virtio-net ctrl_queue tolerance, upstream cherry-picks
rust-hypervisor-firmware Patched UEFI firmware — ACPI ResetSystem fix for Windows graceful shutdown
windows Windows 11 25H2 image factory — unattended QEMU build, Cloud Hypervisor validation (DHCP, RDP, SAC, ACPI shutdown), published to GHCR as OCI artifacts

Kubernetes Integration

Repository Description Docs
vk-cocoon Virtual Kubelet provider — maps pod lifecycle to VM operations (run, clone, snapshot, hibernate) docs
cocoon-operator Kubernetes operator — CocoonSet and CocoonHibernation CRDs for stateful VM workflows docs
cocoon-webhook Admission webhook — sticky scheduling plus CocoonSet and CocoonHibernation validation docs
cocoon-net VPC-native networking — embedded DHCP plus alias IPs (GKE) or ENI secondary IPs (Volcengine) for direct VM DHCP docs
cocoon-common Shared Go library — CRD types, annotation contract, Kubernetes helpers, OCI registry + snapshot packages

Services

Repository Description Docs
gateway Single-binary LLM gateway (gw) in Rust — OpenAI/Anthropic-compatible APIs, multi-provider routing, per-key auth / quotas / rate-limits, failover, billing ledger docs

Sandbox

Repository Description Docs
sandbox Fast cold-boot AI-agent sandbox on cocoon — warm pools, in-guest daemon, per-node control plane, Go SDK docs

Pinned Loading

  1. cocoon cocoon Public

    Lightweight MicroVM engine built on Cloud Hypervisor. Features include OCI and cloud image support, instant snapshot and clone via reflink, Windows 11 guest support, CNI networking with TC redirect…

    Go 164 9

  2. cocoon-macos cocoon-macos Public

    macOS VM engine for x86 Linux/KVM, built on cocoon. Boots real macOS guests (Sequoia, Tahoe) via QEMU + OpenCore + OVMF, with ghcr golden images, snapshot & clone, per-VM SMBIOS identity, CNI netwo…

    Go 43 2

  3. sandbox sandbox Public

    Fast cold-boot MicroVM sandboxes for AI agents on cocoon

    Go 27 1

  4. vk-cocoon vk-cocoon Public

    Virtual Kubelet provider that runs Kubernetes pods as Cocoon MicroVMs. Maps full pod lifecycle to VM operations including run, clone, restore, snapshot, and hibernate. Supports Windows and Linux gu…

    Go 2 3

  5. cocoon-operator cocoon-operator Public

    Kubernetes operator for stateful VM-backed pod workflows. Provides Hibernation CRD to suspend and wake VMs without pod deletion, and CocoonSet CRD to manage groups of related VM-backed pods with st…

    Go 5 2

  6. cocoon-agent cocoon-agent Public

    In-VM exec agent for Cocoon: vsock-based command execution channel that replaces SSH for kubectl exec on Cocoon-managed VMs.

    Go 1

Repositories

Showing 10 of 19 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…