microsoft/agent-lightning
A training and optimization framework for AI agents supporting reinforcement learning, prompt optimization, and fine-tuning.

Velocity · 7d
+49
★ / day
Trend
→steady
star history
Agent Lightning is a trainer library that optimizes AI agents with zero code changes, supporting multiple agent frameworks including LangChain, OpenAI Agent SDK, AutoGen, CrewAI, and Microsoft Agent Framework. It embraces algorithms such as Reinforcement Learning, Automatic Prompt Optimization, and Supervised Fine-tuning. The framework enables selective optimization of one or more agents within multi-agent systems.