The strongest open-source alternatives to promptfoo for building AI agents — evals & testing ranked by GitHub traction, each with a head-to-head.
Short answer: the closest alternative to promptfoo is DeepEval (★ 17k), the most-starred evals & testing; Ragas are also strong.
✓ Live data verified
promptfoo (★ 24k) is Test-driven prompt and agent development — evals, red-teaming, and side-by-side model comparison from the CLI. If it is not the right fit, these 2 evals & testing cover the same ground — DeepEval is the most-starred option below. Or browse the best evals & testing and promptfoo's own page.
Pytest-like framework for unit-testing LLM outputs with metrics for hallucination, relevancy, and bias. Best for LLM unit tests.
Evaluation toolkit for RAG pipelines — faithfulness, answer relevancy, and context metrics without ground truth. Best for RAG evaluation.
DeepEval (★ 17k) is the most-starred evals & testing alternative to promptfoo. Pytest-like framework for unit-testing LLM outputs with metrics for hallucination, relevancy, and bias.
The strongest evals & testing alternatives to promptfoo are DeepEval, Ragas — each with a head-to-head comparison.
Yes — the alternatives listed are open source and free to self-host; you bring your own model keys.
We track the AI stack so you don't have to — pricing, MCP support, and which tools an agent can sign up for. Free.