Microsoft Research Asia open-sources Agent Lightning v1.0, a lightweight framework for training AI agents with reinforcement learning
The 3,500-line framework introduces Harnessed Agentic RL, enabling direct training of deployed agent harnesses without reimplementation, and demonstrates a 14.6 percentage point improvement on SWE-bench Verified using 6,000 samples.
1 source · cross-referenced
- Microsoft Research Asia open-sourced Agent Lightning v1.0, a 3,500-line framework for training AI agents with reinforcement learning.
- The framework introduces Harnessed Agentic RL, allowing direct training of deployed agent harnesses without reimplementation.
- Agent Lightning v1.0 runs agents as Kubernetes jobs and includes a reproducible coding agent training pipeline.
- An end-to-end pipeline using Qwen3.5-9B improved Pass@1 on SWE-bench Verified from 41.8% to 56.4% with 6,000 training samples.
Microsoft Research Asia has open-sourced Agent Lightning v1.0, a lightweight framework designed to simplify reinforcement learning (RL) for AI agents by connecting existing agent harnesses directly to RL training without requiring reimplementation.
The framework introduces Harnessed Agentic RL, a training paradigm in which the same agent harness used in deployment participates directly in RL, removing the need to rebuild the agent inside the training framework. This approach contrasts with traditional agentic RL, where the training framework manages the environment and agent loop, often requiring costly reimplementation of the agent.
Agent Lightning v1.0 is implemented in roughly 3,500 lines of code and supports native Kubernetes deployment, allowing agents to run as standard Kubernetes jobs on self-managed clusters, cloud Kubernetes, or local infrastructure without dependency on paid commercial sandbox services.
The framework includes a complete, reproducible agent RL training pipeline and provides an end-to-end coding agent example using Qwen3.5-9B, which achieved a Pass@1 score of 56.4% on SWE-bench Verified—an absolute improvement of 14.6 percentage points—using approximately 6,000 training samples based on an open-sourced dataset.
In Harnessed Agentic RL, an LLM proxy sits between the agent and the model, enabling the training framework to observe and record model calls without altering the agent's existing harness or execution logic. This design allows the deployed agent harness to participate directly in RL training, preserving its behavior and reducing development overhead.
The researchers highlight four challenges introduced by training with real harnesses: retokenization and sample merging, advantage calculation, loss normalization, and training backend scheduling. These challenges stem from the variability in how harnesses manage context and produce training samples, which can differ from the assumptions of traditional RL frameworks.
- Oct 13, 2026 · Google DeepMind — Blog
Google DeepMind details safety guardrails for Gemini 4 Argon’s cyberdefense and biology capabilities
Trust76 - Oct 13, 2026 · Google DeepMind — Blog
Google DeepMind unveils Gemini 4 Argon for robotics with 87% score on Embodied Reasoning benchmark
Trust78 - Oct 13, 2026 · arXiv cs.CL
Researchers propose Elastic Latent Recurrence to unify recurrent and non-recurrent language models without inference-time trade-offs
Trust79