• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
Microsoft avatar

Agent Lightning

Reinforcement learning framework for training LLM agents in real harnesses

  • AI models and runtimes
  • Agent frameworks and tools
View on GitHub
Website

What it is

Agent Lightning trains the language model behind an AI agent with reinforcement learning while the agent keeps running its own tools, context, and control flow. A gateway sits between the agent and the model to capture each call as training data, a controller starts agents on a local machine or as Kubernetes Jobs, and a trainer built on verl and vLLM updates the policy. ML researchers and engineers use it to improve agents such as coding, search, and math agents against benchmarks, with worked examples covering SWE-bench, Search-R1, and GSM8K.

Images

Facts

Stars
18,767 GitHub stars.
18,767

Forks
1,871
Commits
676
Contributors
51
Language
Python
License
MIT
Last commit
Oct 20, 2026
On GitHub since
June 2025
First release
August 2025
Platforms
Linux, library
Self-hostable
No
Tags
  • model-training
  • coding-agent
  • reinforcement-learning
  • ai-agents
  • fine-tuning

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • AReaL Project avatar

    AReaL

    Asynchronous reinforcement learning system for training LLM agents

    5.9k
  • THUKEG avatar

    slime

    Reinforcement learning post-training framework for large language models

    8.7k
  • RadixArk avatar

    Miles

    Reinforcement learning framework for post-training large language models

    3.2k

What people are saying

Updated Oct 21, 2026
  • Hacker NewsAgent Lightning: Train agents with RL (no code changes needed)Oct 25, 2025 · 98 points · 14 comments (opens Hacker News in a new tab)
  • Hacker NewsAgent Lightning v1.0Aug 24, 2026 · 55 points · 9 comments (opens Hacker News in a new tab)
  • Bluesky“⭐️🔗 👉 Discuss with me in Discord:”Oct 31, 2025 · 1 like · 0 replies (opens Bluesky in a new tab)
  • Bluesky“🚀 Microsoft just dropped Agent Lightning. Most AI frameworks can run agents. This one helps them learn from experience⚡ 🔥Works with LangChain, AutoGen, OpenAI…”Nov 6, 2025 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“GitHub - microsoft/agent-lightning: The absolute trainer to light up AI agents.”Oct 27, 2025 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“Simplifying Reinforcement Learning workflows is a positive step. Integrating RL without extensive code modification lowers the barrier to adoption. 🤖 #ai…”Oct 26, 2025 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“Agent Lightning: Train agents with RL (no code changes needed)”Oct 26, 2025 · 0 likes · 0 replies (opens Bluesky in a new tab)