Agent Lightning v1.0 Released: A Lightweight 3,500-Line Framework for Training AI Agents in Real Settings
Source Microsoft Research blog
At a glance
Microsoft Research Asia has introduced a new way to train AI agents directly in the real working environments where they operate. The open-source tool Agent Lightning v1.0, which implements this approach, is lightweight at about 3,500 lines of code. Its key feature is that it can train an agent that is already in use without rebuilding it.
Key points
Previous methods required rebuilding the agent inside the training tool, which was costly and could make it differ from the agent actually deployed.
The new tool trains agents without changing their existing code, routing them through a device that mediates access to the model.
It supports Kubernetes (a management system that automatically splits and runs work across many computers) by default, so it can run on private servers or in the cloud.
In a coding agent experiment, training on only about 6,000 examples raised one model's SWE-bench Verified accuracy from 41.8% to 56.4%, a gain of 14.6 percentage points.
Why it matters
As AI agents are increasingly used for real work, training methods that make them smarter are becoming more important. This tool aims to make that process cheaper and simpler.
Original article
Agent Lightning v1.0: A 3,500-Line Lightweight Agentic RL Framework for Training Agents with Real Harnesses
Microsoft Research blog · Oct 8, 2026, 1:00 AM GMT+9 · microsoft.com
Read on Microsoft Research blogAI read the original article and summarized it in plain language. It may contain mistakes, so please check the original for accuracy. The article's copyright belongs to Microsoft Research blog.