Evaluation & Testing
Frameworks and platforms for scoring prompt and agent output: eval harnesses, LLM-as-judge tooling, benchmarks, red teaming and observability.
AdalFlow
A library for building LLM applications that also auto-tunes them, optimizing prompt text and few-shot demonstrations against a training set. It aims to make prompt tuning as routine as model training.
DeepEval
A pytest-style evaluation framework for LLM output with ready-made metrics for hallucination, answer relevancy, faithfulness and task completion. Tests run locally and can be pushed to the Confident AI platform.
DSPy
A Python framework that replaces hand-written prompt strings with declarative modules and signatures, then compiles them against your data. Optimizers search for the wording and few-shot examples that score best on a metric you define.
garak
A vulnerability scanner for language models that probes a target with hundreds of attack prompts covering jailbreaks, prompt injection, data leakage and toxic output, then reports which probes succeeded.
GEPA
An optimizer that improves prompts and other text artifacts through reflective evolution, reading execution traces and natural-language feedback to propose edits. It integrates with DSPy and other pipelines.
Haystack
deepset's orchestration framework for retrieval and agent pipelines built from composable components. Prompt builders are pipeline nodes, so prompt text is versioned with the rest of the pipeline definition.
Inspect AI
An evaluation framework from the UK AI Security Institute with built-in components for prompt engineering, tool use, multi-turn dialogue and model-graded scoring, plus a log viewer for inspecting runs.
PromptBench
A Microsoft research framework for evaluating language models with a focus on prompt robustness, including adversarial prompt attacks and prompt engineering method comparisons. The repository is archived and kept for reference.
Promptfoo
A command-line and library test runner for prompts, models and RAG pipelines. Test cases are declared in YAML, run side by side across providers, and the project also performs red-team scans for prompt injection and jailbreaks.
PromptLayer
A prompt management platform where non-engineers can edit prompts in a visual registry while engineers pull versions at runtime. It also logs requests and runs evaluation pipelines against prompt versions.
TextGrad
A research library that treats natural-language critique as a gradient, backpropagating textual feedback through a pipeline to improve prompts and other text variables. It mirrors the autograd style familiar from PyTorch.
TruLens
An instrumentation and evaluation library that wraps an application, records each call and scores it with feedback functions such as groundedness and relevance. Results are browsable in a local dashboard.
Ragas
A library of reference-free metrics for retrieval-augmented pipelines, scoring faithfulness, context precision and answer relevance. It also generates synthetic test sets from your own documents.
Stanford HELM
A holistic evaluation framework from Stanford CRFM that scores models across many scenarios and metrics including accuracy, calibration, robustness and bias, and publishes public leaderboards.
Evidently
An open-source framework for evaluating and monitoring AI systems, with more than a hundred built-in metrics plus LLM-as-judge evaluators and drift detection, rendered as interactive reports.
LM Evaluation Harness
EleutherAI's harness for few-shot benchmarking of language models across hundreds of academic tasks. It standardises prompt formatting so results are comparable between models and backends.
Optillm
An OpenAI-compatible inference proxy that applies reasoning techniques such as chain-of-thought variants, best-of-n sampling and self-consistency at request time to improve answer quality.
Continuous Eval
A modular evaluation library for LLM pipelines that combines deterministic metrics, semantic metrics and LLM-based judgement at each stage of a chain rather than only at the final answer.
Deepchecks
A validation library that began in tabular machine learning and now covers LLM applications, running suites of automated checks over data and model output and producing shareable reports.
AutoPrompt
A prompt tuning framework built around intent-based prompt calibration. It generates challenging edge-case examples, collects judgements on them and rewrites the prompt to close the gap.
AlpacaEval
An automatic evaluator for instruction-following models that uses an LLM judge to compare outputs against reference responses, with published leaderboards and length-controlled scoring.
UpTrain
An open-source platform for scoring generative AI responses on dimensions like factual accuracy, retrieval quality and tone, with root-cause analysis to show which pipeline step failed.
NeMo Guardrails
An NVIDIA toolkit for adding programmable rails to conversational applications. Rails are written in a dedicated modelling language and control topics, dialogue flow and unsafe output.
OpenAI Evals
OpenAI's framework and open registry for benchmarking models and prompt chains. Evals are declared as YAML plus data files, and the registry collects community-contributed benchmarks.
UQLM
A Python package from CVS Health for uncertainty quantification in language models, providing hallucination detection scorers based on response consistency and token probabilities.
Langtail
A prompt management platform aimed at product teams, combining a playground for iterating on prompts with test suites that run those prompts against saved cases before deployment.
Trace
A Microsoft Research framework for end-to-end optimization of AI workflows, propagating execution feedback back through a computation graph to update prompts, code and parameters.
Opik
Comet's open-source platform for tracing, evaluating and monitoring LLM applications, including a prompt library with versioning and an agent optimizer for improving prompt text.
Agenta
An open-source workspace where engineers and subject-matter experts iterate on prompts and agent configurations side by side, with versioning, evaluation runs and observability.
Google Agent Development Kit
Google's open-source Python toolkit for building and deploying agents, with agent instructions, tools, sessions and a built-in evaluation runner for checking agent trajectories.
Kiln
A desktop application and Python library for building AI systems, covering prompt iteration, dataset collection, evaluations, synthetic data and fine-tuning in one project file.
Arize Phoenix
Arize's open-source observability tool that runs locally or self-hosted, offering OpenTelemetry tracing, a prompt playground with saved prompt versions and built-in evaluators.
ChainForge
An open-source visual environment for stress-testing prompts. Prompt variants, models and evaluators are wired together as nodes, and results are compared in charts and tables.
Galileo
An evaluation and observability platform for generative applications, with automated metrics for hallucination and instruction adherence plus guardrails for production traffic.
Giskard
An open-source testing library that automatically scans LLM applications and agents for issues such as hallucination, prompt injection, harmful content and robustness failures.
Helicone
An open-source observability and gateway platform that logs every model request through a one-line proxy change, with prompt versioning, caching and experiment tooling on top.
Questions
Frequently asked questions
What counts as evaluation & testing?
Frameworks and platforms for scoring prompt and agent output: eval harnesses, LLM-as-judge tooling, benchmarks, red teaming and observability.
What are evaluation & testing?
Frameworks and platforms for scoring prompt and agent output: eval harnesses, LLM-as-judge tooling, benchmarks, red teaming and observability.
Do I need a tool for this?
Solo users often do fine with a text file. Teams shipping prompts to production usually want versioning and evaluation. Start with the free tier of a tool in the category.