
Agent Lightning: Microsoft's Lightweight RL Framework for Training Deployed AI Agents
Microsoft Research's Agent Lightning is a lightweight open-source framework that enables reinforcement learning training for any AI agent without code changes, using a three-component architecture and two-level trajectory aggregation to handle multi-turn interactions, achieving 13.8% improvement on SWE-bench Verified with 1.8K samples by training in real deployment environments.