TLDRocket
Sign in

Kimi AI and kvcache-ai Open Sources ‘AgentENV’: A Distributed System that Powers Agentic Reinforcement Learning (RL) Training for Kimi K3

MarkTechPost Asif Razzaq Covered by 33 sources

Kimi's team just open-sourced AgentENV, the infrastructure that trains its giant AI agent model. It solves a real headache: giving AI safe, fast virtual computers to practice on.

Based on reporting by MarkTechPost, Asif Razzaq — read the original for the full story.

Summary, retelling and take written by AI under human oversight; images are AI-generated illustrations. How we work · Report an error

Moonshot AI's Kimi team, working with kvcache-ai, has pushed a new project called AgentENV out into the open under an MIT license. It's not a flashy model release. It's plumbing — the distributed system that actually powers agentic reinforcement learning training for Kimi K3, Moonshot's 2.8-trillion-parameter Mixture-of-Experts model. But plumbing matters, and this particular pipe has been a bottleneck for anyone trying to train AI agents that do more than generate text.

Here's the problem AgentENV is built to solve. Training an agent through reinforcement learning means letting the model act inside a genuine computer environment, not just predict the next token. That means every single training rollout needs its own isolated Linux box, complete with filesystem, network stack, and running processes. Containers are the obvious answer because they spin up fast, but they share the host's kernel, which is a weak wall when the thing running inside is AI-generated code. Full virtual machines fix the isolation problem but come with slow boot times and memory that sits locked up even when idle. Neither option scales cleanly to the volume of rollouts agentic RL demands.

AgentENV's answer is Firecracker microVMs, tuned so that idling, restarting, and branching sandboxes becomes cheap enough to do constantly. Each sandbox gets its own kernel, filesystem, and network namespace. Requests come in through an Axum HTTP API, get handed to an orchestrator that manages the sandbox's entire lifecycle. The storage layer is the clever bit: the root filesystem runs through a ublk userspace block device backed by overlaybd layered images, with read-only base layers shared across every sandbox while each one writes into its own private layer. Inside each guest VM, a daemon called envd sits on port 49983 handling command execution, file operations, and health checks, while a reverse proxy shuttles HTTP and WebSocket traffic in and out.

Two mechanisms keep density up as environments pile up and drift apart over time. The host's page cache gets shared across both storage and memory-snapshot data, and memory ballooning reclaims guest memory that isn't being used, handing it back to the host so overcommitting stays viable even as sandboxes diverge from each other. None of this is glamorous work, but it's the kind of infrastructure choice that decides whether agentic RL training is something a handful of labs can afford to run at scale, or something that stays locked behind proprietary systems nobody outside gets to inspect.

My take — AI-written commentary, not fact-checked reporting

Infrastructure releases like this rarely get the attention they deserve because there's no chatbot demo to poke at, but they're arguably more consequential than another model drop. Solving the sandbox-at-scale problem and then giving it away under MIT is a bigger contribution to the open ecosystem than yet another leaderboard score, and it's the kind of move that quietly determines who gets to build serious agents next.

Read more about this at: MarkTechPost

Related stories

The daily briefing

Every AI story that matters, in your inbox by 8am.

TLDRocket reads all relevant sources, removes duplicate coverage, and summarises the day in two minutes. Follow companies and topics for alerts, or get the briefing in Slack. Free, no spam, unsubscribe anytime.