Molt: A Pure PyTorch Native Agentic RL Framework
青稞AI · wechat · 2026-07-16
Molt is an agentic-first, pure PyTorch Native reinforcement learning framework designed to make agentic RL "code-readable, modifiable, and scalable to massive MoE models."
Core Design
- The core RL code is around 9,000 lines, and the entire runtime relies solely on Ray + vLLM + NVIDIA AutoModel/FSDP2, with no Megatron dependency.
- Treats agents as Python programs: agents, reward functions, tool calls, LLM-as-judge, and VLM environments can all be directly integrated.
- Asynchronous training pipeline: vLLM handles Rollouts, PyTorch/FSDP2 handles training, and Ray manages orchestration and queuing.
Key Engineering Capabilities
- Supports multi-turn tool calling, LLM-as-judge, multimodal VLMs, SFT, and various RL algorithms (REINFORCE, RLOO, GRPO, PPO, etc.).
- Emphasizes training-inference consistency: uses vllmkl and importance sampling for bias correction to handle logprob mismatches caused by async rollouts.
- Provides RouterReplay and RouterFreeze for MoE scenarios to prevent expert routing inconsistencies between training and inference.
- Supports fully async rollouts, partial rollouts, CPU offload, and parallelism strategies like TP/EP/CP.
Scale and Positioning
- Officially claims to have validated MoE training ranging from Qwen3.5-397B to GLM-5.2753B.
- The author compares it with verl / slime / OpenRLHF, highlighting the difference: lighter weight, pure PyTorch, yet still capable of handling massive models.
The post concludes with command-line quickstart examples and links to the repository and technical report, making it a great reference for those working on agentic RL or large-scale post-training.
Related event: NVIDIA Introduces Molt: A Pure PyTorch RL Framework(3 posts)→
More from coding & agent
- Harness bug masked Gemini 4 Argon: rerun with Antigravity beats Astra, nears Opus 5.5 — vitaliychiley · 2026-10-27
- Design Is Becoming Game Dev: Build Your Own Tools With AI as the Executor — hewarsaber · 2026-10-27
- Dev turns DJI Mavic into local AI security drone built with Opus 5.5 — alexcovo_eth · 2026-10-27
- Microsoft Research: ForkPilot cuts long-horizon agent compute by up to 59% — EliasEskin · 2026-10-27
- Cursor launches Agent SDK: agents as code with Markdown prompts and TypeScript tools — soleio · 2026-10-27
- Vibecheck, the 'usable formal methods' hackathon, sells out two floors in SF — spikedoanz · 2026-10-27