Skip to content
Microsoft Research· Zhiyuan He, Yuqing Yang·Indexed by this site · Originally published· Tools →SelectedAttention35

Microsoft Research open-sources Agent Lightning v1.0: a lightweight Agent RL framework with 3,500 lines of code.

Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses

AI summary

Microsoft Research Asia team open-sourced Agent Lightning v1.0, proposing the Harnessed Agentic RL training paradigm, which lets the same agent harness used at deployment participate directly in reinforcement learning, without reimplementing the agent within the training framework. The framework is about 3,500 lines of code, consisting of three parts: API Gateway, Rollout Controller, and a Customized Trainer based on verl. Agents connect through an OpenAI-compatible LLM proxy, and the harness code remains unchanged. Agents run as standard Kubernetes jobs, can reuse self-managed clusters, cloud Kubernetes, or local infrastructure, and do not rely on paid commercial sandbox services. The team also proposed Collocated Async RL, which lets rollout and model updates share the same set of GPUs, achieving about 2x end-to-end speedup compared to synchronous RL in experiments.

Why it was selected

Microsoft Research open-sourced a 3,500-line Agent RL framework that lets the deployment harness participate directly in training, and provides a reproducible coding agent training pipeline.

Read originalmicrosoft.com