Agent Lightning

Open

An open-source framework trains AI agents with reinforcement learning using real execution environments and outcome feedback.

Description

Agent Lightning is an open-source research framework from Microsoft for reinforcement-learning training of AI agents. It collects experience from agents interacting with tools and environments, then uses execution outcomes to update model behavior. Version 1.0 consists of a trainer, an API gateway that proxies model requests, and a rollout controller. Agents can operate in their existing task environments while the gateway captures the data needed for training. Official examples cover mathematical reasoning, search, code execution, and coding agents working on repositories. The framework supports local runs and Kubernetes Jobs; its documentation explains the GPU training stack and configuration. The project is released under the MIT license, but it targets developers and researchers with model-training experience. Running experiments requires computing resources, environment setup, and suitable reward criteria; it is not a ready-made subscription agent.