# Agent Lightning

> Microsoft's lightweight reinforcement learning framework for training LLM agents inside their real harnesses

Source: https://talira.ai/catalog/agent-lightning-ct9367pe
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Framework
- Categories: [ai / ml / reinforcement learning](https://talira.ai/categories/ai/ml/reinforcement-learning), [ai / ml / fine tuning](https://talira.ai/categories/ai/ml/fine-tuning)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Microsoft](https://talira.ai/orgs/microsoft.md)
- Funding: public company (NASDAQ:MSFT)[^2]

Agent Lightning is Microsoft's agentic reinforcement learning framework, about 3,500 lines of code: agents keep their real harnesses, tools, context and environments, and talk to the model through Agent Lightning's proxy with no changes, while it collects rollouts and trains the model. It runs agents natively as Kubernetes Jobs and includes examples such as end-to-end coding-agent training that improves models on SWE-bench Verified, plus an Agent Lightning Skill that lets a coding agent optimize another agent against a benchmark. v1.0 was a complete rewrite.

## Links

- Website: https://microsoft.github.io/agent-lightning/
- GitHub: https://github.com/microsoft/agent-lightning
- Docs: https://microsoft.github.io/agent-lightning/stable/

## Problems it solves

- train an LLM agent with reinforcement learning without rewriting it
- improve my coding agent's model on SWE-bench with RL
- fine-tune the model behind my agent from its own rollouts

## Features

- RL training with agents' real harnesses
- proxy that needs no agent code changes
- native Kubernetes Jobs
- coding-agent training example on SWE-bench Verified
- Agent Lightning Skill for coding agents
- about 3,500 lines of code

## Trust

Overall: 0.72 out of 1.
Signals: maintenance 0.86, adoption 0.86, momentum 0.92, community 0.70, backing 0.55, extensibility 0.00.

- last commit 4 days ago
- 39 commits in the last 90 days
- latest release v1.0.3 27 days ago
- 19.0k GitHub stars
- 55 contributors
- backed by Microsoft
- funding: public company (NASDAQ:MSFT)

## Sources

[^1]: https://github.com/microsoft/agent-lightning/blob/main/LICENSE (checked 30 Nov 2026)
[^2]: https://www.sec.gov/files/company_tickers_exchange.json (checked 20 Nov 2026)
