microsoft

microsoft / agent-lightning

#6
11,571935+327 todayPython

点亮AI智能体的终极训练器

Agent Lightning 是一个由微软开发的开源AI智能体训练框架,旨在显著提升现有AI智能体的性能而无需重写其核心代码。该项目支持主流的智能体开发框架,如LangChain、AutoGen等,也兼容直接使用OpenAI API构建的简易智能体。其核心价值在于,开发者可以几乎零代码修改地接入现有智能体,并利用强化学习、自动提示优化等先进算法对其进行系统性训练和优化,从而将智能体转化为更强大、更可靠的“优化猛兽”。无论是优化单智能体,还是在复杂的多智能体系统中选择性调优特定成员,该工具都能提供灵活支持。它主要适用于希望突破现有智能体能力瓶颈、通过数据驱动方法自动改进其决策逻辑的研究人员和开发者,是进行智能体持续学习和性能提升的高效MLOps工具。

📖 README

Agent Lightning⚡[](https://github.com/microsoft/agent-lightning/actions/workflows/badge-unit.yml) [](https://microsoft.github.io/agent-lightning/) [](https://badge.fury.io/py/agentlightning) [](LICENSE) [](https://deepwiki.com/microsoft/agent-lightning) [](https://discord.gg/RYk7CdvDR7)The absolute trainer to light up AI agents.Join our Discord community to connect with other users and contributors.⚡ Core 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. 🤗Read more on our documentation website.⚡ Installation[代码块]For the latest nightly build (cutting-edge features), you can install from Test Py...

📊 项目信息

语言
Python
Stars
11,571
Forks
935
今日新增
+327
排名
#6
收录
总榜
趋势日期
2026年1月22日

🏷️ 标签

agentagentic-aillmmlopsreinforcement-learning

📸 截图

agent-lightning screenshot 1agent-lightning screenshot 2