Daily Tech Briefing
AI 科技速览
每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。
MarkTechPost · 2026/7/27 20:48:53
Kimi AI and kvcache-ai Open Sources ‘AgentENV’: A Distributed System that Powers Agentic Reinforcement Learning (RL) Training for Kimi K3
AI 中文解读
Kimi团队和kvcache-ai开源了AgentENV,一个能让AI像人类一样在真实电脑环境中“动手操作”来学习的分布式系统,背后的Kimi K3模型拥有2.8万亿参数,堪称AI界的“超级大脑”。
传统AI训练只能靠文字对话,而AgentENV让AI真正进入一个虚拟的独立电脑空间,可以自由运行程序、创建文件、上网。它采用了一种叫Firecracker的轻量级虚拟机技术,启动速度不到50毫秒,比眨眼还快。更重要的是,它可以像游戏存档一样随时保存和恢复环境状态,还能一次性复制出多个相同环境进行并行训练。这样AI就能通过反复“试错”学会使用各种软件工具,比如操作浏览器、写代码、管理文件等。
这项技术将推动AI助手从“只动口”升级为“动手做事”。未来,你可以让AI帮你整理电脑上的文件夹、自动安装软件、调试程序bug,甚至像真人一样使用各种办公软件。对开发者来说,训练更实用的AI代理成本大大降低,普通用户很快就能用上会操作软件的智能助手。
Moonshot AI’s Kimi team and kvcache-ai have open-sourced AgentENV (AENV), a distributed platform for running agent environments at scale. AgentENV powers agentic reinforcement learning (RL) training for Kimi K3, Moonshot’s 2.8-trillion-parameter Mixture-of-Experts model. The code ships under an MIT license.
Why Environment Infra Holds Back Agentic RL
Agentic RL does not just sample text. It requires the model to act inside a real computer. Every rollout needs an isolated Linux environment with a filesystem, a network stack, and live processes.
That requirement creates a hard trade-off. Containers start fast but share the host kernel, which weakens isolation for model-generated code. Full virtual machines isolate properly but boot slowly and hold memory while idle.
AgentENV targets exactly that gap. It runs Firecracker microVMs, then makes idle, restart, and branching cheap enough to run at training scale.
Inside AgentENV’s Firecracker Architecture
Each sandbox is a Firecracker microVM with its own Linux kernel, filesystem, and network namespace. Requests hit an Axum HTTP API, which forwards to an orchestrator that manages the sandbox lifecycle.
Storage is where the design gets interesting. The rootfs is served through a ublk userspace block device backed by overlaybd layered images. Read-only base layers are shared across sandboxes, and each sandbox writes into its own upper layer.
Inside every guest, a daemon called envd handles command execution, file operations, and health reporting on port 49983. A reverse proxy routes HTTP and WebSocket traffic from clients to services running inside the VM.
The project also lists two density mechanisms. The host page cache is shared across storage and memory-snapshot data. Memory ballooning returns reclaimable guest memory to the host, which sustains overcommit as environments diverge over time.
(function(){
var f=document.getElementById("mtp-aenv-explainer");
window.addEventListener("message",function(e){
if(!e.data||typeof e.data!=="object")return;
var h=e.data.aenvHeight;
if(typeof h==="number"&&h>120&&h
Snapshot, pause, resume, fork
These four features are the reason the project exists. AgentENV snapshots memory and filesystem changes incrementally rather than writing a full image each time.
The reported figures are as follows. Snapshot-backed environments boot or resume in under 50 ms and pause in under 100 ms. Incremental snapshot capture completes in under 100 ms, even under heavy disk modification.
Fork is the feature most specific to RL. A running sandbox can clone into up to 16 independent child sandboxes on the same node. The source pauses briefly during capture, then resumes. Every child inherits the source filesystem, memory, and resource configuration.
The practical effect is that expensive setup runs once. A team can install dependencies, clone a repository, and reach a task state. That exact state then branches into parallel rollouts. Snapshots persist to S3-compatible object storage or a shared distributed filesystem.
One default is worth noting. Every sandbox carries a TTL, and expiry triggers a pause, not a delete. Deletion requires passing autoPause: false on the create API.
On-demand loading and the snapshot repository
Images load on demand through overlaybd. Local disk acts as a bounded cache that retains hot data and evicts cold data.
This is what makes the fleet-level story work. Nodes do not need to pre-warm every image or hold a complete copy of every snapshot. The addressable image set can therefore exceed local disk capacity while startup stays fast cluster-wide.
Snapshot state is organized in three layers. A builder staging workspace holds artifacts during a build. A committed snapshot repository is the durable source of truth. A node-local runtime cache holds launch-time derived configs.
Two repository backends are supported: posix_fs (default) and oss. The oss
分享
阅读原文 ↗