agent-lightning
Optimizes AI agents with almost no code changes across frameworks and training methods.
Optimizes AI agents with almost no code changes across frameworks and training methods.
Agent Lightning connects existing agents to optimization workflows with minimal code changes by collecting prompts, tool calls, and rewards as structured traces. It can selectively optimize one or more agents built with LangChain, the OpenAI Agent SDK, AutoGen, CrewAI, Microsoft Agent Framework, or plain Python. Supported approaches include reinforcement learning, automatic prompt optimization, and supervised fine-tuning.
Resource types
Use cases
Runtime
Combine interchangeable models, data sources, and tools in LLM applications.
Trace, evaluate, monitor, and manage LLM, agent, and ML workflows.
Capabilities
Audience
Public GitHub facts last synced Jul 10, 2026.
Build and run Python agents with graph-based workflows
Build type-safe Python agents with tools, structured outputs, and provider choice