Skip to content
AK

AKernel

BetaOpen SourceApache-2.047 stars

Apache-2.0 distributed sandbox kernel: a Python SDK creates gVisor, Kata or Firecracker sandboxes on a standalone host, a private Kubernetes cluster or Alibaba and Huawei clouds, with network ACLs and same-node checkpoint reload.

Visit website
CategoriesSelf-hostedAI Agent SandboxCode SandboxTypeOpen-source toolContainmentHardware VMRating3.7 / 5
DocsGitHub
Boot rank
#32 / 119
74% of published starts are slower
Idle billing
Zero cost while idle
347 listings stay free while idle
State kept on pause
Not published
Resume latency not published

Overview

AKernel is Ant Group's inclusionAI team building the infrastructure layer beneath agent workloads rather than another hosted sandbox product. The pitch is 'datacenter use': one Python SDK creates a sandbox with a CPU and memory request, then runs commands, reads and writes files and applies a network policy, whether the backend is a single Linux machine, a private Kubernetes cluster or a multi-cloud deployment created by Terraform. Isolation is pluggable and the default is the safe one: gVisor, with Kata Containers and Firecracker on nodes that expose KVM, and a native runc mode that the docs correctly frame as opt-in rather than isolating. The operational features are what make it more than a wrapper: a distributed scheduler, an API gateway, object storage for rootfs images, a FUSE filesystem that lazily loads and deduplicates the rootfs, OpenTelemetry metrics and tracing, stateful network ACLs, GPU model selection, and same-node checkpoint recovery for runsc and Firecracker. The caveats are maturity and honesty: releases are 0.2.0 release candidates, the 40 ms cold start is labelled planned, fork-based launch is still on the roadmap, and the fire-and-forget deployment still expects you to run Kubernetes and cloud credentials.

Key capabilities

  • Python SDK for sandboxes with CPU, memory, storage and GPU requests
  • gVisor by default, Kata and Firecracker on KVM nodes
  • Distributed scheduler, API gateway and object-storage rootfs
  • Stateful network ACLs by CIDR, domain, protocol and port
  • Same-node checkpoint and reload for runsc and Firecracker
  • OpenTelemetry metrics, tracing and Grafana dashboards
  • Standalone, private-Kubernetes and multi-cloud deployment modes
  • Terraform for Alibaba Cloud ACK and Huawei Cloud CCE
  • Fork-based 40 ms cold start is planned, not shipped

akernel_sandbox.py

from akernel_sdk import Sandbox

with Sandbox(cpu=1000, memory=2048) as sandbox:
    result = sandbox.commands.run("echo 'hello from AKernel'")
    print(result.stdout)

    sandbox.files.write("/tmp/hello.txt", "hello from the SDK")
    print(sandbox.files.read("/tmp/hello.txt"))

Similar alternatives

Technical specifications

Runtime architecture
gVisor (runsc) by default; Kata Containers and Firecracker on KVM-capable nodes; native runc backend opt-in
Runtime notes
  • Standalone single-host deployment, private Kubernetes, or Terraform for Alibaba Cloud ACK and Huawei Cloud CCE
  • distill-fs FUSE rootfs with lazy loading, chunk caching and deduplication
  • Stateful network ACLs for CIDRs, domains, protocols and ports, and an optional exact NVIDIA GPU model per sandbox
Cold-start boot time
The README claims about 40 ms cold start through fork-based launch, but marks that path as planned and not available in v0.1.0, so treat the figure as unverified
Max vCPU
Set per sandbox in the SDK in millicores, for example cpu=1000; the README publishes no ceiling
Max memory
Set per sandbox in MiB; the README publishes no ceiling
Storage model
storage_mb per sandbox, supported by the runsc and Firecracker runtimes and enforced as a writable-layer quota; guest images are served from object storage as raw or Nydus rootfs
Network isolation
Sandboxes run in gVisor by default, with Kata Containers and Firecracker available on KVM-capable nodes, and each gets a stateful traffic policy: allow or deny rules for IPv4 CIDRs, exact or wildcard DNS names, TCP or UDP ports and priorities, with DNS answers authorizing the addresses they resolve to. The policy survives sandboxd restarts, reloads and same-node failover. The opt-in native runc backend shares the host kernel and is not an isolation boundary.

Lifecycle & capabilities

Filesystem persistence
Supported
Memory / disk snapshot
Supported
Instant forking
Not supported
GPU acceleration
Supported
GUI desktop / VNC
Not supported
Mobile / cloud phone
Not supported
Browser automation
Not supported
Network egress control
Supported
Pause / auto-sleep
Unknown
MCP protocol server
Not supported
REST API & SDKs
Supported
Idle billing
Zero cost while idle
State kept on pause
Not published
Session limit
A sandbox runs until killed or deleted; detached sandboxes survive local client cleanup, and lifetime is bounded by cluster capacity
SDKs
Python

Pricing model

Official Verified

Rate read 19 Nov 2026.

Pricing tiers
Free TierOpen Source
Summary

Apache-2.0 and free to self-host. The cost is the machine or cloud cluster behind it, whether a single Linux host for the standalone mode or Alibaba Cloud ACK and Huawei Cloud CCE clusters created by the bundled Terraform modules, plus operational time. No vendor rate card exists.

Billing unityour own hardware or cloud cluster
View official pricing page

Related architecture guides