Skip to content

Algorithm Zoo

AgentLightning includes several popular and frequently requested algorithms in its built-in library, allowing agent developers to use them directly. These algorithms are designed to be compatible with most agent scenarios.

For customizing algorithms, see Algorithm-side References.

Algorithm Optimizing Resources Description
APO {<initial_prompt_key>: [PromptTemplate][agentlightning.PromptTemplate]} Automatic Prompt Optimization (APO) algorithm using textual gradients and beam search.
VERL {"main_llm": [LLM][agentlightning.LLM]} Reinforcement Learning with VERL framework.