SuperAPIAI Directory

agent-lightning

github.com · AI agents

Agent Lightning is Microsoft's open-source lightweight agent reinforcement learning training framework (v1.0), with about 3,500 lines of code. It can train AI agents by capturing interaction data through a proxy without modifying the agent code, and supports Kubernetes-native operation.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Agent Lightning is Microsoft's open-source agent reinforcement learning (Agentic RL) training framework. The v1.0 version has been completely refactored and is positioned as "the trainer that lights up AI agents." Its core purpose is to let developers train existing AI agents with reinforcement learning without changing the agent's own code.

Main capabilities and architecture: The framework consists of three lightweight components—the Trainer is responsible for running verl and vLLM, building training samples, and updating the policy; the API Gateway proxies model requests and captures training data; the Rollout Controller runs the agent locally or as a Kubernetes Job. Agents interact with models through the Agent Lightning v1.0 proxy, while tools, context, control flow, and the environment all remain in the training loop, enabling "zero-modification" integration. The framework natively supports Kubernetes and can run agents directly as Kubernetes Jobs without relying on an external sandbox service.

The official training examples show that with only 6K training samples, the end-to-end Qwen3.5-9B workflow improved from 41.8% to 56.4% on SWE-bench Verified; in a coding agent example based on an MoE model, pure RL improved Qwen3.5-35B-A3B from 47.8% to 61.6% after 1.8K training samples. Evaluation covers scenarios such as Search R1, LLM-in-Sandbox, and Coding Agent.

Usage: The repository provides installation guides (including an example for a CUDA 13.0 machine), documentation, and a technical report, and releases a complete coding agent training pipeline, including data cleaning, reward hacking prevention, and training scripts. The project uses the MIT license and welcomes contributions; contributors need to read the contribution guide and sign a CLA.

Limitations: Specific installation commands, dependency versions, and complete API details need to be checked in the official documentation; the above benchmark improvement data comes from official examples, and actual results depend on the model, data, and task.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools