LibreAI / Agentes de IA / agent-lightning
// agents · microsoft/agent-lightning

agent-lightning

agent-lightning é um projeto de agentes de IA de código aberto de microsoft (microsoft/agent-lightning no GitHub). Tem 18.595 estrelas no GitHub e 1.661 forks, é publicado sob a licença MIT e foi atualizado pela última vez no GitHub em 29 de setembro de 2026.

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

★ 18,6 mil estrelas⑂ 1,7 mil forksMITatualizado set 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Estrelas no GitHub
18.595
Forks
1.661
Licença
MIT
Última atualização no GitHub
29 de setembro de 2026
Categoria
Agentes de IA
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  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.

// recursos

Por que as pessoas gostam tanto

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
// execute você mesmo

Execute você mesmo

  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
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

Agentes de IA

NeMo-Agent-Toolkit

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

★ 2,7 mil estrelasApache-2.0
Ver o guia →
Agentes de IA

Swarm

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

★ 22,1 mil estrelasMIT
Ver o guia →
Agentes de IA

UFO

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

★ 10,0 mil estrelasMIT
Ver o guia →
Agentes de IA

hermes-agent

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

★ 252,0 mil estrelasMIT
Ver o guia →
Agentes de IA

openclaude

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

★ 33,7 mil estrelasMIT
Ver o guia →
Agentes de IA

RD-Agent

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

★ 14,9 mil estrelasMIT
Ver o guia →
// alternativas

Alternativas em Agentes de IA

Os outros projetos de Agentes de IA com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se agent-lightning não for o ideal para você.

// mais em agents

Mais em Agentes de IA

Projetos de Agentes de IA próximos no catálogo, os mais próximos em estrelas de agent-lightning: continue explorando dos dois lados dele.

Baixe o agent-lightning

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.