promptfoo

    promptfoo/promptfoo

    Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI. Compare performance of GPT, Claude, Gemini, DeepSeek, and more. Simple declarative configs with command line and CI/CD integration. Used by OpenAI and Anthropic.

    26.8K stars
    2.6K forks
    26.8K GitHub watchers
    Updated Nov 5, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest 10 days ago, with 390 contributors on GitHub.

    The biggest single-day gain in the last year, +2,049 stars on Mar 13, coincided with release 0.121.2.

    Use Cases & Benefits

    • Provides a developer-friendly tool to test, evaluate, and secure prompts, agents, and retrieval-augmented generation (RAG) applications using LLMs.
    • Enables local, private, and automated testing with flexible support for multiple LLM APIs and seamless CI/CD integration.
    • Use for automated evaluation and comparison of different large language models like GPT, Claude, and Gemini to optimize prompt performance.
    • Use for red teaming and vulnerability scanning to identify security risks and compliance issues in AI applications before deployment.
    • Use for integrating prompt and model testing into CI/CD pipelines to enforce quality and security checks during development workflows.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    promptfoo is a developer-friendly local tool for testing LLM applications. Stop the trial-and-error approach - start shipping secure, reliable AI apps.

    See Getting Started (evals) or Red Teaming (vulnerability scanning) for more.

    Excerpt from the promptfoo/promptfoo README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Oct 24: +44

    +2,815 stars over 90 days across 8 snapshot days; best day +44 on Oct 24.

    Forks

    2.6K+485

    Open issues

    917+427

    Compared with peers in DevOps

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    promptfoo/promptfoo compared with DevOps repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    milind-soni/OpenMausBot19.7K+8.4K45today
    DuarteSantos8/openGym20.6K+1.7K606 days ago
    elie222/rakazo7.7K+9495830 days ago
    superplanehq/superplane9.4K+9075912 days ago
    AstrBotDevs/AstrBot46.5K+870659 days ago
    promptfoo/promptfoo26.8K—6410 days ago
    Category median19.7K+94959—

    Discover Repositories

    Search across tracked repositories by name or description