Promptfoo runs your prompts against test cases across models, catching regressions before they reach production, and includes red-teaming checks.
| Category | LLM / RAG framework |
| Type | Prompt testing |
| License | MIT |
| Runs locally | Yes |
| Built with | TypeScript |
| Skill level | Beginner |
| Best for | teams shipping prompts to production |
Other open-source llm / rag framework tools worth comparing:
LangChainCompose chains, tools and agents
LlamaIndexThe data framework for RAG
HaystackProduction pipelines for search and RAG
DSPyProgram — not prompt — language models
txtaiAll-in-one embeddings database
RAGFlowDeep-document-understanding RAG
Semantic KernelMicrosoft's enterprise agent framework
GraphRAGRAG that builds a knowledge graph first
LiteLLMOne API for 100+ LLM providers
InstructorReliable structured outputs from LLMs
OutlinesGuarantee valid JSON and grammars
GuidanceInterleave control and generation
LLMWareEnterprise RAG with small specialised models
FlashRankUltra-light reranking for better RAG
Sentence TransformersThe standard way to make embeddings
RagasMeasure whether your RAG is any good
LangfuseSee what your LLM app actually did
PhoenixTrace, evaluate and debug LLM appsPromptfoo is free and open-source (MIT license), so you can use, self-host and modify it at no cost.
Yes. Promptfoo is designed to run on your own machine or server, keeping your data private.
Popular open-source alternatives include LangChain, LlamaIndex, Haystack. See the comparisons above to choose.
Browse the full directory of open-source AI tools, models and projects — updated daily.
Browse all tools →