Skip to main content
About

Agent Lightning⚡ is an open-source framework from Microsoft Research designed to train and optimize AI agents using advanced techniques like Reinforcement Learning (RL) and Automatic Prompt Optimization. Its standout feature is the ability to dramatically improve almost any existing AI agent—built with frameworks like LangChain or OpenAI's SDK—with minimal or zero code changes, turning them into highly capable "optimizable beasts."


515 files
101 folders
23.77 MB total size
0 open issues
0 open pull requests
0 watchers
0 forks
0 stars
525 views
Updated Jan 20, 2026
Languages
Python 80.9%
TypeScript 12.3%
YAML 4.2%
JavaScript 1.0%
CSS 0.7%
Shell 0.4%
TOML 0.2%
CSV 0.2%
HTML 0.1%
Dockerfile 0.0%
LICENSE 0.0%
CODEOWNERS 0.0%