DEV Community

Manoir Yantai
Manoir Yantai

Posted on

AgentENV: Distributed Runtime for AI Agents at Scale (Open Source, Rust)

AgentENV (AENV) is a Rust-based distributed platform for running AI agent environments at scale, now powering Kimi K3's agentic RL training.

Why It Matters: Most agent frameworks are single-process toys. AENV makes agents distributed with Firecracker micro-VMs:

  • 50ms cold start — snapshot environments boot or resume in <50ms
  • Incremental snapshot/fork <100ms — fork a running environment into independent sandboxes
  • Overlaybd OCI images — no pre-pulling, cluster-wide cache, images can exceed disk capacity
  • ublk I/O — host page cache sharing across storage and filesystem, high density
  • S3 persistence — snapshots persist to S3-compatible storage

Quick Start:

git clone https://github.com/kvcache-ai/AgentENV
cd AgentENV && cargo build --release
./target/release/agentenv --node-id node1
Enter fullscreen mode Exit fullscreen mode

vs Alternatives:

AENV Ray Kubernetes
Isolation micro-VM process pod
Cold start 50ms ~1s ~1s+
Snapshot/fork ✅ <100ms
Agent-native

Stars: 1411 · Language: Rust · License: MIT

https://github.com/kvcache-ai/AgentENV

Top comments (0)