agent-lightning

The absolute trainer to light up AI agents.

21 articles 16.4k View on GitHub ↗
21 articles
Testing Strategies for Agent Training Pipelines in Agent-Lightning: A Complete Guide

Master testing strategies for agent training pipelines in Agent Lightning. Explore component wiring, strategy selection, and runtime contracts for robust AI agent development.

testing-strategies
Apr 1, 2026
How to Implement Checkpointing and Resume Training in Agent-Lightning

Learn how to implement checkpointing and resume training in Agent-Lightning. Automatically save model weights and training state to resume from the exact batch where you left off.

how-to-guide
Apr 1, 2026
Worker Management and Resource Allocation in Agent-Lightning: A Complete Technical Guide

Master worker management and resource allocation in Agent-Lightning. Learn how this guide details scalable agent execution with store-driven APIs and lifecycle management.

how-to-guide
Apr 1, 2026
Algorithm Selection Criteria: VERL vs APO vs SFT in Agent-Lightning

Select VERL for direct weight modification, APO for prompt optimization without retraining, or SFT for supervised fine-tuning in Agent-Lightning. Learn algorithm selection criteria.

deep-dive
Apr 1, 2026
Migrating from Legacy Runner to the New Architecture in Agent-Lightning: A Complete Guide

Upgrade Agent Lightning from legacy runner to new architecture. Switch to LitAgentRunner and LightningStore for async execution, heartbeats, and unified storage. Read our complete guide.

migration-guide
Apr 1, 2026
Security Considerations for the LLM Proxy in Agent-Lightning: Risks and Mitigations

Secure your LLM proxy in agent-lightning. Learn essential security considerations, default risks, and mitigation strategies for your OpenAI-compatible API endpoint.

security-considerations
Apr 1, 2026
Optimizing Performance for Large-Scale Agent Training with Agent-Lightning

Boost large-scale agent training performance with Agent-Lightning. Optimize with ClientServerExecutionStrategy, persist rollouts in MongoLightningStore, and configure environment variables to scale effectively.

performance
Apr 1, 2026
Implementing Custom Reward Functions in Agent Lightning: A Complete Guide

Learn to implement custom reward functions in Agent Lightning using emit_reward() and find_final_reward(). This guide provides step-by-step instructions for integrating scalar and multi-dimensional rewards.

how-to-guide
Apr 1, 2026
Debugging Training Failures and Tracing Issues in Agent-Lightning: A Complete Guide

Debug training failures and trace issues in Agent Lightning with a three-layer diagnostic approach. Isolate crashes, missing traces, and stalled RL loops quickly. Learn more.

how-to-guide
Apr 1, 2026
Configuring Environment Variables for Agent-Lightning Production Deployments

Configure environment variables for agent-lightning production deployments to manage GPU and CPU nodes and connect to persistent stores like MongoDB. Learn how in our guide.

how-to-guide
Apr 1, 2026
Ensuring Thread-Safety and Async Safety in Distributed Training with Agent-Lightning

Learn how Agent-Lightning ensures thread-safety and async safety in distributed training using LightningStoreThreaded, cooperative cancellation, and process-isolated Ray actors.

best-practices
Apr 1, 2026
Handling Large-Scale Span Storage and Eviction Policies in Agent-Lightning

Learn how Agent-Lightning handles large scale span storage and eviction policies. Prevent OOM errors with automatic memory management and configurable thresholds for optimal performance.

best-practices
Apr 1, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →