LibreAI / Agents IA / agent-lightning
// agents · microsoft/agent-lightning

agent-lightning

agent-lightning est un projet de agents IA open source, créé par microsoft (microsoft/agent-lightning sur GitHub). Il compte 18 595 étoiles sur GitHub et 1 661 forks, il est publié sous la licence MIT et a été mis à jour pour la dernière fois sur GitHub le 29 septembre 2026.

Microsoft's trainer for AI agents - reinforcement learning for almost any agent framework

★ 18,6 k étoiles⑂ 1,7 k forksMITmis à jour sept. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
18 595
Forks
1 661
Licence
MIT
Dernière mise à jour sur GitHub
29 septembre 2026
Catégorie
Agents IA
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  1. Pick an agent to improve

    Choose an existing agent workload - the repo includes a full coding-agent training example.

  2. Clone the repository

    Training setups are run from a source checkout.

  3. Sync the environment

    Use uv sync and the provided setup script to prepare the training stack for your CUDA version.

  4. Run your first training job

    Start from an included example, collect trajectories, and launch a training run.

// fonctionnalités

Pourquoi on l'adore

Framework-agnostic training

Designed to train agents built with popular frameworks without rewriting them around the trainer.

Reinforcement learning for agents

Applies RL (with veRL integration scripts) to multi-step agent trajectories.

Complete coding-agent example

Ships an end-to-end example that trains a coding agent on SWE-bench-style tasks with data cleaning and reward-hacking prevention.

Lightweight architecture

Keeps the training architecture to three lightweight components per the README.

Documented results

The README reports measured gains for its examples (for example SWE-bench Verified improvements in the coding-agent pipeline).

Examples and community projects

Includes additional examples and a catalog of community projects built on it.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Clone the repository

    Get the source code from GitHub and enter the project directory.

    git clone https://github.com/microsoft/agent-lightning.git
    cd agent-lightning
  2. Sync the environment

    The README's example installation targets a CUDA machine and uses uv plus the veRL setup script.

    uv sync
    bash scripts/setup_verl.sh 0.8.0 cu130 # example versions - see README installation
  3. Start from an example

    Open the examples in the repo (including the coding-agent training example) and adapt one to your agent.

    # Browse the Examples section linked from the README and run one pipeline
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

Who maintains this project?

It is maintained by Microsoft (Microsoft Research) as an open-source project on GitHub.

Is it free to use?

Yes - Agent Lightning is MIT licensed and free to use.

Does it need a paid API key?

Training needs models to train and roll out: you bring your own model endpoints or local weights and the GPU capacity; the framework itself sells no API.

How does it compare to alternatives?

Compared with fine-tuning libraries like TRL, Agent Lightning is specialized for agents - trajectory-based training designed to wrap existing agent frameworks rather than single-turn LLM training.

How do I get started?

Clone the repo, run uv sync, follow the installation guide for your CUDA setup, and run one of the included examples.

// continuez l'exploration

Outils similaires

Agents IA

NeMo-Agent-Toolkit

NVIDIA's toolkit for connecting, profiling and optimizing teams of AI agents — across any framework

★ 2,7 k étoilesApache-2.0
Voir le guide →
Agents IA

Swarm

Swarm — OpenAI's experimental framework for lightweight multi-agent orchestration with agents and handoffs, MIT

★ 22,1 k étoilesMIT
Voir le guide →
Agents IA

UFO

Microsoft's GUI agent that grew into UFO³ — orchestrating agents across Windows, Linux and mobile devices.

★ 10,0 k étoilesMIT
Voir le guide →
Agents IA

hermes-agent

The agent that grows with you — a Python framework for adaptive AI agents.

★ 252,0 k étoilesMIT
Voir le guide →
Agents IA

openclaude

A Claude Code-style coding agent that runs anywhere and works with almost any model provider

★ 33,7 k étoilesMIT
Voir le guide →
Agents IA

RD-Agent

Microsoft's R&D-Agent: LLM agents that automate data-driven research, Kaggle modelling and LLM fine-tuning.

★ 14,9 k étoilesMIT
Voir le guide →
// alternatives

Alternatives en Agents IA

Les autres projets de la catégorie Agents IA avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si agent-lightning ne vous convient pas.

// plus en agents

Plus en Agents IA

Projets de la catégorie Agents IA proches dans le catalogue, les plus proches en étoiles de agent-lightning — continuez à explorer de part et d'autre.

Obtenir agent-lightning

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.