Molt: A Scalable PyTorch-Native Training Framework for Agentic Reinforcement Learning

arXiv:2607.21653 · cs.LG, cs.CL, cs.DC · Submitted 2026-07-22 · Read on arXiv

cs.LG, cs.CL, cs.DC

Submitted: 2026-07-22

Updated: 2026-09-22

Comments: update tech report

DOI: 10.13140/RG.2.2.23375.65447

Code: https://github.com/NVIDIA-NeMo/labs-molt

License: http://creativecommons.org/licenses/by/4.0/

The gist: Agentic reinforcement learning requires infrastructure that researchers can modify without sacrificing model scale or control over agent execution.

Terminology

Abstract

Agentic reinforcement learning requires infrastructure that researchers can modify without sacrificing model scale or control over agent execution. We present Molt, a lightweight PyTorch-native framework that combines trillion-parameter training with standard agent interfaces. Molt integrates four capabilities: a compact training implementation built on composable model parallelism; unified OpenAI and Anthropic interfaces with automatic trajectory segmentation after context compaction; fully asynchronous rollout and optimization; and distributed experience storage for long, multimodal trajectories. Existing agents retain their execution and context-management logic while a shared capture layer records generated tokens and behavior probabilities. Rollout workers place heavy experience payloads in Ray's object store, and trainer ranks retrieve their assigned experiences by reference, avoiding a centralized gather of the full rollout batch. The framework-owned RL implementation comprises approximately 9.2K Python code lines, and its rollout, weight-refit, and training-update path has executed end to end on a one-trillion-parameter policy. On a 35B multimodal mixture-of-experts workload, speculative decoding accelerates the generation stage by 5.14x, and optimizer offload reduces peak actor memory by 18.3 GB. Together, these results establish a compact training framework for agentic RL research at trillion-parameter scale.

Sources

Related papers