Close Menu
    Facebook X (Twitter) Instagram
    • Privacy Policy
    • Terms Of Service
    • Social Media Disclaimer
    • DMCA Compliance
    • Anti-Spam Policy
    Facebook X (Twitter) Instagram
    Fintech Fetch
    • Home
    • Crypto News
      • Bitcoin
      • Ethereum
      • Altcoins
      • Blockchain
      • DeFi
    • AI News
    • Stock News
    • Learn
      • AI for Beginners
      • AI Tips
      • Make Money with AI
    • Reviews
    • Tools
      • Best AI Tools
      • Crypto Market Cap List
      • Stock Market Overview
      • Market Heatmap
    • Contact
    Fintech Fetch
    Home»AI News»Kimi AI and kvcache-ai Open Sources ‘AgentENV’: A Distributed System that Powers Agentic Reinforcement Learning (RL) Training for Kimi K3
    Kimi AI and kvcache-ai Open Sources 'AgentENV': A Distributed System that Powers Agentic Reinforcement Learning (RL) Training for Kimi K3
    AI News

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

    July 28, 20266 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email
    changelly

    rewrite this content and keep HTML tags as is. This is content from rss feed and I don’t need their *Daily Debrief Newsletter*, their tags from bottom like this *Share this articleCategoriesTags*, Editorial Process section, phrases like *Featured image from Peakpx, chart from Tradingview.com*, SPECIAL OFFERS and similar sections – just remove such sections and save only article itself:

    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.

    changelly

    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.

    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 path runs through a shared S3-compatible client, so an explicit region is required.

    An optional peer-to-peer transport based on iroh can advertise committed artifacts to peer nodes. It is disabled by default. The documentation is explicit that P2P does not change the committed snapshot model. For shared storage, the docs ask for at least 1 Gbps and strongly recommend 10 Gbps or faster.

    E2B compatibility is the adoption lever

    AgentENV exposes an E2B-compatible HTTP API. Point E2B_API_URL at your server and the official E2B Python or TypeScript SDK works without code changes.

    This is a deliberate distribution choice. Teams already running agents on E2B can self-host the runtime without rewriting their agent code. A native aenv CLI is also provided, and the docs recommend it for AgentENV-specific workflows.

    Deployment paths

    Prerequisites are Linux kernel 6.8+ and /dev/kvm access; the install script additionally requires Ubuntu 24.04. The aenv CLI supports Linux and macOS on x86_64 and arm64. The server itself is Linux-only, because it needs KVM.

    Five paths are documented:

    • An install script that runs the server as a systemd service
    • A Docker image published at ghcr.io/kvcache-ai/aenv-server
    • A Docker Compose stack that simulates a multi-node cluster
    • Kubernetes manifests with a gateway, scheduler, and node DaemonSet
    • A build-from-source route using the Rust toolchain

    Multi-node deployments add a gateway on :8080 and a scheduler on :9090.

    Key Takeaways

    • Deployment covers install script, Docker, Docker Compose, and Kubernetes; the multi-node control plane is documented as a prototype.
    • AgentENV runs each agent environment as a Firecracker microVM, not a container, so isolation is kernel-level.
    • The project reports boot or resume under 50 ms, and pause under 100 ms, from snapshots.
    • A running sandbox can fork into up to 16 independent children on the same node.
    • The HTTP API is E2B-compatible, so existing E2B Python and TypeScript SDK code runs unchanged.

    Check out the GitHub repository and documentation. All credit for this research goes to the researchers of this project.

    Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.

    aistudios
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Fintech Fetch Editorial Team
    • Website

    Related Posts

    Working to automate nuclear plant operations | MIT News

    Working to automate nuclear plant operations | MIT News

    July 27, 2026
    VentureBeat Research: Where enterprise AI agent governance hasn't caught up

    VentureBeat Research: Where enterprise AI agent governance hasn’t caught up

    July 26, 2026
    Meta, Microsoft, Nvidia, IBM, and others back open-weight AI

    Meta, Microsoft, Nvidia, IBM, and others back open-weight AI

    July 25, 2026
    Andrew Ng Just Released OpenWorker: An Open-Source, Local-First Desktop AI Coworker That Returns Finished Deliverables Instead of Chat

    Andrew Ng Just Released OpenWorker: An Open-Source, Local-First Desktop AI Coworker That Returns Finished Deliverables Instead of Chat

    July 24, 2026
    Add A Comment

    Comments are closed.

    Join our email newsletter and get news & updates into your inbox for free.


    Privacy Policy

    Thanks! We sent confirmation message to your inbox.

    changelly
    Latest Posts
    The Laziest Way To Make Money with AI in 2026 (For Beginners)

    The Laziest Way To Make Money with AI in 2026 (For Beginners)

    July 28, 2026
    Top 5 AI Training Courses In 2026 | Best AI Training Programs To Get Hired In 2026 | Simplilearn

    Top 5 AI Training Courses In 2026 | Best AI Training Programs To Get Hired In 2026 | Simplilearn

    July 28, 2026
    OpenAI says cybersecurity bot went rogue and hacked a company

    OpenAI says cybersecurity bot went rogue and hacked a company

    July 28, 2026
    Cointelegraph

    rewrite this title in other words: Bitcoin Flips Volatile As US Trading Session Sees Spike Toward $66,000

    July 27, 2026
    Shiraz Jagati

    rewrite this title in other words: Saylor: Rejecting Bitcoin’s Bank and Market Integration ‘Dooms It to 1% of Its Potential’

    July 27, 2026
    bybit
    LEGAL INFORMATION
    • Privacy Policy
    • Terms Of Service
    • Social Media Disclaimer
    • DMCA Compliance
    • Anti-Spam Policy
    Top Insights
    Liam 'Akiba' Wright

    rewrite this title in other words: Compromised contract let hackers print 5.2 million WEMIX stablecoins, forcing a complete network freeze

    July 28, 2026
    Cointelegraph

    rewrite this title in other words: Hong Kong Prepares Banks for Quantum Threats

    July 28, 2026
    10web
    Facebook X (Twitter) Instagram Pinterest
    © 2026 FintechFetch.com - All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.