Guides¶
In-depth guides covering every aspect of the library.
-
Environments
Working with different environment types — single-turn, multi-turn, and tool-based.
-
Evaluation
Running evaluations, computing metrics, and interpreting results.
-
Inference Backends
Configure vLLM, HuggingFace, OpenAI, Anthropic, and OpenRouter backends.
-
Prompts
Fragments, system prompts, templates, and model profiles.
-
Tools & Function Calling
Using tools in evaluations with auto-monitoring and MCP support.
-
Segmentation
Multi-step reasoning with segmenters for chain-of-thought evaluation.
-
LLM-as-a-Judge
Score open-ended responses with an LLM judge.
-
Dialogue
LLM-in-the-loop environments for 20-questions, teacher, and custom setups.
-
Iterative Refinement
Multi-turn refinement with code execution and judge feedback.
-
Branching
Checkpoint, branch, and explore environment states.
-
History Control
Manage conversation history in multi-turn environments with windowing and reasoning stripping.
-
Parallelization
Batched evaluation with lockstep trajectories and concurrent inference.
-
Containers
Run environments in Docker or isolated subprocesses.
-
RL Training
Integrate with veRL, TRL, and OpenRLHF for reward-based training.
-
Multimodal Observations
Image observations for vision-language models.
-
Library Landscape
How llenvs compares to OpenEnv, verifiers, and similar libraries.