microsoft/agent-lightning

The absolute trainer to light up AI agents.

54
/ 100
Established

Provides framework-agnostic agent optimization through reinforcement learning, automatic prompt optimization, and supervised fine-tuning—working with LangChain, OpenAI SDK, AutoGen, CrewAI, and custom implementations. Uses a decoupled architecture where agents emit structured spans to a central LightningStore, enabling algorithms to learn and post back refined prompts or policy weights without requiring code changes to the original agent. Supports selective optimization of individual agents within multi-agent systems and scales to distributed training across GPUs.

15,409 stars.

No Package No Dependents
Maintenance 10 / 25
Adoption 10 / 25
Maturity 15 / 25
Community 19 / 25

How are scores calculated?

Stars

15,409

Forks

1,319

Language

Python

License

MIT

Last pushed

Feb 28, 2026

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/microsoft/agent-lightning"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.