Skip to content

Latest commit

Β 

History

History
59 lines (42 loc) Β· 4.39 KB

File metadata and controls

59 lines (42 loc) Β· 4.39 KB

Agent Lightning

Agent Lightning is the absolute trainer to light up AI agents.

Join our Discord community to connect with other users and contributors.

Features

  • Turn your agent into an optimizable beast with ZERO CODE CHANGE (almost)! πŸ’€
  • Build with ANY agent framework (LangChain, OpenAI Agent SDK, AutoGen, CrewAI, Microsoft Agent Framework...); or even WITHOUT agent framework (Python OpenAI). You name it! πŸ€–
  • Selectively optimize one or more agents in a multi-agent system. 🎯
  • Embraces Algorithms like Reinforcement Learning, Automatic Prompt Optimization, Supervised Fine-tuning and more. πŸ€—

How to Read this Documentation

This documentation is organized into the following parts:

  • Installation - Get started with Agent Lightning
  • How-to Recipes (e.g., Train SQL Agent with RL) - Practical examples of training agents and customizing algorithms.
  • Learning More (e.g., Debugging) - Guides on specific topics like debugging or parallelization.
  • Algorithm Zoo (e.g., APO) - References for built-in algorithms.
  • Deep Dive (e.g., Bird's Eye View) - For a deeper understanding of what Agent-lightning is doing under the hood.
  • API References (e.g., Agent) - References for the Agent-lightning Python API.

Resources

Community Projects

Citation

If you find Agent Lightning useful in your research or projects, please cite our paper:

@misc{luo2025agentlightningtrainai,
      title={Agent Lightning: Train ANY AI Agents with Reinforcement Learning},
      author={Xufang Luo and Yuge Zhang and Zhiyuan He and Zilong Wang and Siyun Zhao and Dongsheng Li and Luna K. Qiu and Yuqing Yang},
      year={2025},
      eprint={2508.03680},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2508.03680},
}

License

See the LICENSE file for details.