The best Promptfoo alternatives depend on which part of Promptfoo you use. For CI regression tests, look at DeepEval, Inspect AI or Braintrust. For RAG-specific metrics, Ragas. For evals tied to production traces, Langfuse, LangSmith or Arize Phoenix. For red teaming, NVIDIA garak and Microsoft PyRIT. Promptfoo is still MIT-licensed open source after OpenAI agreed to acquire it in March 2026, but the deal, and OpenAI pointing its own Evals users to Promptfoo before that platform shuts down on November 30, 2026, has many teams checking whether they want their eval stack tied to one model vendor. This guide compares ten Promptfoo alternatives on licensing, CI fit, red teaming, LLM-as-judge support and self-hosting.

All versions, licenses and dates were checked against GitHub, PyPI, npm and vendor pages on November 26, 2026.

What changed with Promptfoo in 2026

Two events changed the picture.

  1. OpenAI acquired Promptfoo. On March 9, 2026, OpenAI announced it would acquire Promptfoo and fold its technology into OpenAI Frontier, its platform for building and running agents. In their own post, the founders said Promptfoo "will remain open source" and "will continue to support a diverse range of providers and models." OpenAI's developer docs now say plainly that "Promptfoo is part of OpenAI".
  2. OpenAI's own Evals platform is shutting down. OpenAI's deprecations page lists the Evals dashboard, API and eval-workflow graders as read-only, with a shutdown date of November 30, 2026, and the recommended replacement is "Migrate to Promptfoo." OpenAI's guide on evaluating external models says evals became read-only for existing users on October 31, 2026.

Nothing in the code changed overnight. The repo is still MIT, still active (npm promptfoo 0.126.0 was published November 18, 2026), and it still talks to Anthropic, Google, local models and any HTTP endpoint. The reasons people search for a Promptfoo alternative are practical ones:

  • Vendor neutrality. If you sell a product that compares models, or your security team does not want an eval tool owned by one model provider, you want independent governance.
  • Language fit. Promptfoo is a Node.js CLI configured in YAML (it needs Node.js 22.22.0 or newer, per OpenAI's getting-started guide). Python-first teams often prefer tests that live next to their pytest suite.
  • Production evals. Promptfoo is strongest before deployment. Scoring live traces, collecting user feedback and building datasets from production calls is where observability platforms do better.
  • Deeper red teaming. Promptfoo's red-team mode is good, but dedicated scanners such as garak and PyRIT go further on probe libraries and multi-turn attacks.

For a direct head-to-head of the most common swap, see our DeepEval vs Promptfoo comparison.

Promptfoo alternatives at a glance

Tool Open source? License CI-friendly Red teaming LLM-as-judge Self-host
Promptfoo (baseline) Yes MIT Yes (CLI, GitHub Action) Yes Yes Yes
DeepEval Yes Apache-2.0 Yes (pytest) Via DeepTeam (Apache-2.0) Yes (G-Eval, many metrics) Library yes; Confident AI cloud is SaaS
Ragas Yes Apache-2.0 Yes (library) No Yes (RAG metrics) Yes
Inspect AI Yes MIT Yes (CLI) Via sandboxed agent evals and benchmark suites Yes (model-graded scorers) Yes
Langfuse Core yes MIT core, separate ee license Via SDK experiments No Yes (managed evaluators) Yes
Arize Phoenix Source-available Elastic License 2.0 Via SDK experiments No Yes Yes
LangSmith No (SDK is MIT) Proprietary Via SDK and pytest integration No Yes Enterprise plan only
Braintrust No (autoevals is MIT) Proprietary Yes (CLI and SDK) No Yes Enterprise plan only
garak Yes Apache-2.0 Yes (CLI) Yes, core purpose Uses detectors, not general judging Yes
PyRIT Yes MIT Scanner CLI Yes, core purpose Yes (scorers) Yes

OpenAI Evals is left out on purpose: its platform shuts down on November 30, 2026, so it is no longer an alternative.

Alternatives for CI regression testing

This is the most common Promptfoo use case: a set of test cases with assertions, run on every pull request, that fails the build when a prompt or model change makes things worse.

For reference, here is a minimal Promptfoo config of the kind you would be migrating. We ran it with npx promptfoo@0.126.0 eval using the built-in echo provider, and both tests passed:

description: Refund policy regression tests
prompts:
  - "Policy: refunds within 30 days; gift cards are non-refundable.\nQuestion: {{question}}"
providers:
  - echo   # swap for openai:..., anthropic:..., or your HTTP endpoint
tests:
  - vars:
      question: How many days do I have to request a refund?
    assert:
      - type: icontains
        value: "30"
  - vars:
      question: Can I get a refund on a gift card?
    assert:
      - type: icontains
        value: non-refundable

DeepEval: pytest-native evals for Python teams

DeepEval (Apache-2.0, 4.3.6 on PyPI) is the closest drop-in for Python shops. Test cases are pytest tests, and metrics include G-Eval (custom LLM-judged criteria), answer relevancy, faithfulness, hallucination, tool correctness and conversational metrics. Red teaming lives in a sibling package, DeepTeam (Apache-2.0, 1.0.10).

One gotcha if you copy older tutorials: in DeepEval 4.x the evaluation-parameter enum is SingleTurnParams. The old LLMTestCaseParams import fails.

# test_refunds.py  ->  run with: deepeval test run test_refunds.py
from deepeval import assert_test
from deepeval.metrics import GEval
from deepeval.test_case import LLMTestCase, SingleTurnParams

from myapp import answer  # your application entry point

policy_correct = GEval(
    name="Policy correctness",
    criteria="Is the actual output consistent with the refund policy stated in the expected output?",
    evaluation_params=[SingleTurnParams.ACTUAL_OUTPUT, SingleTurnParams.EXPECTED_OUTPUT],
    threshold=0.7,
)

def test_refund_window():
    question = "How many days do I have to request a refund?"
    case = LLMTestCase(
        input=question,
        actual_output=answer(question),
        expected_output="Refunds are accepted within 30 days of purchase.",
    )
    assert_test(case, [policy_correct])

We checked that these classes and enum members construct correctly in DeepEval 4.3.6. We did not run the G-Eval call itself, which needs a judge-model API key.

Choose DeepEval if your team writes Python, wants evals in the same CI job as unit tests, and needs a broad metric library out of the box.

Inspect AI: rigorous evals from the UK AI Security Institute

Inspect is developed by the UK AI Security Institute with Meridian Labs and is MIT-licensed (0.3.292, released November 23, 2026). It models an eval as a Task with a dataset, a solver (anything from one model call to a multi-turn agent) and a scorer. It runs untrusted agent code in Docker, Kubernetes or Modal sandboxes, and its evals listing has ready-made implementations of over 200 benchmarks. It is built for researchers and safety teams, but it works just as well for product evals.

# refund_eval.py  ->  inspect eval refund_eval.py --model openai/gpt-6-luna
from inspect_ai import Task, task
from inspect_ai.dataset import Sample
from inspect_ai.scorer import includes
from inspect_ai.solver import generate, system_message

@task
def refund_policy():
    return Task(
        dataset=[
            Sample(input="How many days do I have to request a refund?", target="30"),
            Sample(input="Can I get a refund on a gift card?", target="no"),
        ],
        solver=[
            system_message("Answer using the policy: refunds within 30 days; gift cards are non-refundable."),
            generate(),
        ],
        scorer=includes(),
    )

We ran this file locally with --model mockllm/model, Inspect's built-in mock provider, which is a handy way to test eval plumbing in CI without spending tokens. Swap includes() for model_graded_qa() when you need an LLM judge.

Choose Inspect if you need reproducible, logged evals with sandboxed agent tasks, or you want standard benchmarks next to your own tests.

Braintrust: hosted eval workflow with a strong UI

Braintrust is a commercial platform for experiments, datasets, prompt playgrounds and online scoring. Its scorer library, autoevals, is MIT-licensed and usable on its own. Pricing lists a free Starter tier (14-day retention, 10k scores) and Pro at $249 per month. On-prem or hosted deployment for privacy-sensitive data is an Enterprise feature.

Choose Braintrust if product managers and engineers both review eval results and you want a polished UI more than a self-hosted tool.

Alternatives for RAG evaluation

Ragas

Ragas (Apache-2.0, 0.4.4) focuses on retrieval-augmented generation: context precision and recall, faithfulness, response relevancy, plus test-set generation from your documents. The GitHub repository moved from explodinggradients/ragas to vibrantlabsai/ragas, so update old links and CI references. Ragas is a metrics library rather than a test runner, so teams usually call it from pytest or from one of the platforms below. Our Ragas vs DeepEval breakdown covers when each one fits.

Alternatives that tie evals to production traces

Promptfoo runs before deployment. If you also want to score real traffic, an observability platform with built-in evals is a better center of gravity.

Langfuse

Langfuse is open source under MIT for everything outside its ee directories, which have their own license. You can self-host it. It provides tracing, prompt management, datasets, experiments and LLM-as-a-judge evaluators that score production traces automatically. The server is at v4.86.0 (November 24, 2026), and the Python SDK is at 5.2.0.

Arize Phoenix

Phoenix (22.0.1 on PyPI) offers OpenTelemetry-based tracing, datasets, experiments and an evals library. Note the license: it is the Elastic License 2.0, which is source-available, not OSI open source. You can self-host it, but you cannot offer it to third parties as a managed service.

LangSmith

LangSmith from LangChain offers datasets, offline and online evaluators, and a pytest integration. The Developer plan is free for one seat with 5k base traces a month, and Plus is $39 per seat per month. Self-hosting is Enterprise-only. It makes the most sense if you already build on LangChain or LangGraph.

Alternatives for red teaming

NVIDIA garak

garak (Apache-2.0, v0.17.1 released October 16, 2026) is an LLM vulnerability scanner with probes for prompt injection, jailbreaks, encoding attacks, data leakage and more. Detectors score the outputs. Recent versions use --target_type and --target_name; older blog posts show the deprecated --model_type flags.

python3 -m pip install -U garak
python3 -m garak --target_type openai --target_name gpt-6-luna --spec probes.encoding

Microsoft PyRIT

PyRIT, the Python Risk Identification Tool from the Microsoft AI Red Team, is MIT-licensed (1.2.1, November 18, 2026). It now ships a command-line scanner, a GUI and an extensible Python framework for adaptive multi-turn attacks with scorers. The GitHub home is microsoft/PyRIT; the old Azure/PyRIT repository is archived.

Choose garak for broad, automated probe coverage you can run in CI against a model endpoint. Choose PyRIT for multi-turn, application-level campaigns where an attacker model adapts to your system's replies. Both complement a threat model. Our guide to threat modeling LLM applications helps you decide which attacks matter for your app.

Which Promptfoo alternative should you use?

If you need... Use Why
PR-gating regression tests, Python codebase DeepEval pytest-native, broad metrics
PR-gating tests, TypeScript codebase, vendor neutrality not a blocker Stay on Promptfoo Still MIT and actively maintained
Reproducible research-grade evals, sandboxed agents, standard benchmarks Inspect AI Task/solver/scorer model, sandboxes, eval logs
RAG retrieval and faithfulness metrics Ragas (inside DeepEval or pytest) RAG-specific metrics and test-set generation
Scoring production traces, self-hosted Langfuse MIT core, evaluators on live traces
Collaborative eval review UI, budget available Braintrust or LangSmith Hosted experiments and datasets
Automated vulnerability scanning garak Large probe library, CLI
Multi-turn adversarial campaigns PyRIT Adaptive attacks, scanner plus framework

Most mature teams combine tools: a CI runner (Promptfoo, DeepEval or Inspect), a production platform (Langfuse, Phoenix, LangSmith or Braintrust), and a red-team scanner (garak or PyRIT) on a schedule. Whatever you pick, an LLM judge is only as good as its rubric. Our guide to building a reliable LLM-as-a-judge evaluator in Python covers calibration and bias checks. When two eval runs disagree, put the outputs side by side in a code difference checker to see exactly what changed.

Migrating off OpenAI Evals before November 30

If you still have eval definitions on the OpenAI platform, export them now. OpenAI's recommended path is a cookbook guide on moving from OpenAI Evals to Promptfoo. If you would rather not move to another OpenAI-owned tool, the same datasets work in DeepEval or Inspect: export your JSONL test items, map each item's input and reference-answer fields to test cases or Sample objects, and rebuild graders as metrics or scorers. String-check graders become includes() or icontains assertions, and score-model graders become G-Eval or model_graded_qa().

Frequently Asked Questions

Is Promptfoo still open source after the OpenAI acquisition?

Yes. The repository is MIT-licensed and actively maintained, and the founders said it will remain open source and keep supporting many providers and models. OpenAI's docs describe Promptfoo as part of OpenAI.

What is the best open-source alternative to Promptfoo?

For Python teams doing CI regression tests, DeepEval (Apache-2.0). For rigorous, logged evals with sandboxed agents, Inspect AI (MIT). For red teaming, garak (Apache-2.0) and PyRIT (MIT). For self-hosted production evals, Langfuse's MIT core.

What replaces OpenAI Evals after November 30, 2026?

OpenAI's deprecations page recommends migrating to Promptfoo. Vendor-neutral options include DeepEval, Inspect AI, Langfuse and Braintrust, all of which can run your exported datasets with equivalent string-match and model-graded checks.

Is DeepEval better than Promptfoo?

Neither is better in general. DeepEval fits Python teams that want evals as pytest tests and a large metric library. Promptfoo fits YAML-driven workflows, quick model comparisons and built-in red teaming, and it works well in TypeScript or polyglot repos.

Which Promptfoo alternative is best for red teaming?

garak for automated scanning with a broad probe library, and PyRIT for adaptive multi-turn attack campaigns. DeepEval users can add DeepTeam for red teaming inside the same Python ecosystem.

Bottom Line

Promptfoo is still a good tool, and the OpenAI acquisition has not changed its license. It has changed who controls its roadmap, and OpenAI's own Evals platform closes on November 30, 2026. If you want an alternative, choose by job: DeepEval or Inspect AI for CI regression tests, Ragas for RAG metrics, Langfuse, Phoenix, LangSmith or Braintrust for production evals, and garak or PyRIT for red teaming. Keep your test datasets in a neutral format such as JSONL so you can switch runners again without rewriting them.