garak vs PyRIT vs promptfoo: which fits your team
Choose promptfoo when the question is whether a release can ship, PyRIT when a red team needs scripted multi-turn attacks written in Python, and garak when you want a broad sweep of a model endpoint for known weakness classes. A team with all three on its shortlist will often run two of them, because each one answers a different question at a different point in the release cycle. promptfoo fits declarative test configs that run locally and in CI/CD pipelines, where a failing check can block a merge. PyRIT fits a red team that wants strategies such as Crescendo, TAP and Skeleton Key, with converters, scorers and a memory layer that stores conversations in SQLite or Azure SQL. garak fits a pre-release or scheduled scan that fires probes at a Hugging Face, OpenAI, AWS Bedrock or REST target and writes a JSONL report plus a hit log of successful attempts.
Check maintenance status before you standardize on any of them. The original Azure/PyRIT repository was archived on 27 March 2026 and is read-only, so any PyRIT version you pin should come from microsoft/PyRIT, where v1.1.0 was released on 4 September 2026. promptfoo, now part of OpenAI, is MIT licensed; OpenAI's agreement to acquire it was announced on 9 March 2026, and the project states it remains open source. Ask your team to confirm in writing how that ownership affects the provider coverage and release cadence you depend on, because the public statements do not cover those details. garak is Apache 2.0 licensed and developed in the NVIDIA GitHub organization, so confirm which release your pipeline pins, since v0.17.1 was published on 16 October 2026.
Which of garak vs PyRIT vs promptfoo fits each scenario
This table matches common team scenarios to the tool that fits best, along with the condition under which that fit holds. Read each row as a guide to the conditions that matter, since the right choice depends on whether you gate releases, script attacks or scan endpoints. The main takeaway is that promptfoo suits pipeline gates and shared review, garak suits broad probe scans of endpoints, and PyRIT suits engineers who write custom multi-turn attacks in Python.
| Scenario | Best fit | Why it fits and when it holds |
|---|---|---|
| Gating each release in CI | promptfoo | Declarative configs run checks in CI/CD pipelines. Holds when the team keeps test configs in version control. |
| Security engineer scripting multi-turn attacks | PyRIT | Targets, converters, scorers and Crescendo, TAP or Skeleton Key attacks in Python. Holds when engineers will write and review attack code. |
| Scanning a hosted or REST model endpoint for known weakness classes | garak | REST generator connects through a short YAML file and probes cover injection, leakage and jailbreaks. Holds when the endpoint returns plaintext or JSON. |
| Team that already writes Python tests | PyRIT | Installs with pip and is built in Python. Holds when the team runs Python 3.10 to below 3.15, with 3.13 recommended. |
| Team wanting a web UI for shared results | promptfoo | Self-hosted app serves a web UI and API, deployable with Docker or Helm. Holds when shared review is enough; team sharing and SSO need paid Enterprise. |
| Team needing vendor-backed support | promptfoo Enterprise, paid tier at custom pricing | Priority support with SLAs is in Enterprise. Community edition gets community support only. |
| Keeping a per-attempt audit record | garak | Writes a JSONL report of every attempt plus a hit log of attempts that found a weakness. Holds if assessors want raw records. |
How garak vs PyRIT vs promptfoo differ in architecture
The three tools differ most in what your team writes. garak ships most of its attack logic and asks you to configure the target and choose what to run. Its architecture has five plugin categories: probes generate attacks, detectors judge whether a model output shows a weakness, and generators connect to the target, including Hugging Face, OpenAI, AWS Bedrock, llama.cpp models, LiteLLM and any REST endpoint described in a short YAML file. Evaluators and harnesses complete the set. The default probewise harness runs each probe with its recommended detectors, and garak makes 10 generations per prompt by default. Your team writes the generator configuration and selects probes, while the probes and detectors come with the package. Plan to keep the JSONL report of every attempt and the hit log of successful attempts, since those are the records you will review.
PyRIT is a Python framework, so the attack logic lives in code your team writes and maintains. Its parts are targets (OpenAI, Azure, Anthropic, Google and Hugging Face models, custom HTTP or WebSocket endpoints, and web apps driven through Playwright), converters that transform prompts, scorers that evaluate responses with an LLM, Azure AI Content Safety or custom logic, and attacks for multi-turn strategies such as Crescendo, TAP and Skeleton Key. It also has memory, which records conversations, scores and results in SQLite or Azure SQL, and datasets covering content harms, psychosocial risks and data leakage. The components ship with the package, while your engineers write the orchestration script, choose the target and set scorer logic. The memory store decides where test transcripts end up, so choose its location before testing sensitive systems. The PyRIT documentation covers setup, and the package supports Python 3.10 up to but not including 3.15.
promptfoo is driven by declarative configuration. Your team writes a config file, typically YAML, that names the providers under test, the prompts and the assertions, then runs it from the CLI, from the Node.js library or as a CI/CD step. Red team plugins and strategies ship with the tool and are aligned with the OWASP LLM Top 10 and the NIST AI Risk Management Framework, so most authoring work is adding targets and selecting plugins. The tool requires Node.js 22.22.0 or newer. For a shared deployment, the self-hosted app is an Express server that serves the web UI and API, deployable with Docker, Docker Compose or Kubernetes with Helm. Confirm with the vendor whether your team needs that server at all if it only runs pipeline checks, since the CLI runs locally and talks directly to the model.
How garak, PyRIT and promptfoo compare on license, attacks and CI fit
This table sets garak, PyRIT and promptfoo side by side on license, maintainer, latest release, install route, target coverage, multi-turn attacks, scoring, report output and CI fit. Where a cell says to confirm, check the vendor documentation or run a trial in your own environment before you decide. The main takeaway: promptfoo's documentation names CI/CD pipelines directly, while garak and PyRIT run as a command-line tool and a Python framework that your pipeline calls.
| Capability | garak | PyRIT | promptfoo |
|---|---|---|---|
| License | Apache 2.0 | MIT | MIT. The project states it remains open source and MIT licensed after joining OpenAI. |
| Maintainer or owner | NVIDIA, developed in the NVIDIA GitHub organization. | Microsoft. Development continues at microsoft/PyRIT after the Azure/PyRIT repository was archived on March 27, 2026. | promptfoo, now part of OpenAI after an acquisition announced on March 9, 2026. |
| Latest release and date | v0.17.1, released October 16, 2026. | v1.1.0, released September 4, 2026 (v1.0.0 on July 24, 2026). | 0.124.1, published October 8, 2026 on npm and GitHub. |
| Language and install route | Python 3.11 or newer. Install from PyPI with pip. Developed on Linux and macOS. | Python package installed with pip. PyPI supports Python 3.10 to below 3.15; docs recommend 3.13. | Node.js 22.22.0 or newer. Install from npm. Also usable as a library. |
| Target coverage | Hugging Face Hub, Replicate, OpenAI API, AWS Bedrock, LiteLLM, llama.cpp gguf models and REST endpoints via YAML. | OpenAI, Azure, Anthropic, Google, Hugging Face, custom HTTP or WebSocket endpoints and Playwright-driven web apps. | Model providers across its integrations, plus OWASP LLM Top 10 and NIST AI RMF aligned red team plugins. Confirm support for your model. |
| Multi-turn attacks | garak uses static, dynamic and adaptive probes. Confirm which probes run multi-turn exchanges in its documentation. | Multi-turn strategies including Crescendo, TAP and Skeleton Key. | Confirm in the promptfoo red teaming documentation which strategies run multi-turn exchanges. |
| Scoring method | Detectors judge each output. Default runs 10 generations per prompt; a probe fails when any attempt is undesirable. | Scorers judge responses using an LLM, Azure AI Content Safety or custom logic. | Confirm the assertion and grading options in the red teaming docs for the plugins you choose. |
| Report output | JSONL report of every attempt, plus a hit log of attempts that found a vulnerability. | Memory layer records conversations, scores and results in SQLite or Azure SQL. | Confirm CLI export formats in the documentation. A self-hosted server adds a web UI and API. |
| CI fit | Command-line scanner that a pipeline job can call. Confirm exit codes and how to gate a build on the JSONL output. | Python framework that a pipeline job can run. Confirm the setup, secrets and storage your runners need. | Runs checks in CI/CD pipelines from declarative configs. Evals run on the machine that executes them. |
Where test traffic and results live on your side
Start with the data path, because it decides who holds prompts and findings. promptfoo's documentation states that it runs completely locally: evals run on your machine and talk directly with the LLM. A CLI job on a CI runner therefore sends its test prompts from that runner to the provider or endpoint you configure. If your team needs a shared view, the self-hosted promptfoo app is an Express server that serves the web UI and API, and it can be deployed with Docker, Docker Compose or Kubernetes with Helm. Place it inside the same network boundary as your other internal tools, then confirm in writing where its results are stored, who can read them and how they are backed up. The promptfoo introduction is the natural starting point for that check.
PyRIT records every conversation, score and result in its memory layer, and the PyRIT documentation says that memory is kept in SQLite or Azure SQL. A SQLite store is a file on the machine that runs the script, so its location, file permissions, retention and backup become your responsibility, and anyone who copies the file also copies the attack transcripts. Azure SQL moves that store into a database your Azure administrators control, which changes who can read it and which encryption and backup settings apply. Confirm how the backend is selected in your PyRIT version and whether full conversation text is written to memory, because that answer sets how long the store must be protected. Make this decision before the first run, with your data classification in hand. The PyRIT documentation is the place to check the memory settings for version 1.1.0.
garak writes a JSONL report of every attempt and a hit log of attempts that found a vulnerability, and both land wherever your run is configured to write them on the host or runner. Confirm whether these files contain full prompts and model outputs in your version, and treat them as sensitive until you know. Set the output path on purpose, move the files to a restricted store and keep them out of shared CI workspaces. Generators also set the data path: garak can target Hugging Face, OpenAI, AWS Bedrock, llama.cpp models or a REST endpoint described in a short YAML file, so each generator is a separate data flow to review. Whichever tool you pick, prompts still reach the model or endpoint under test. Ask each provider where it processes data and under which agreement, and record those answers beside your test configuration. The garak user guide covers the run options.
What each license covers and what is paid
garak is licensed under Apache-2.0 and is developed in NVIDIA's GitHub organization, where v0.17.1 was published on October 16, 2026. You can run, modify and redistribute it inside your own environment without a license fee, subject to the Apache-2.0 conditions. The recurring cost is the engineering time and model usage behind each scan. No paid edition of garak is documented here, so confirm commercial options directly with NVIDIA before assuming there is no vendor contract to buy.
- Apache-2.0 conditions: The license permits commercial use, modification and redistribution, with notice and attribution duties that your legal team should confirm for internal builds and any shared images.
- Maintainer: NVIDIA's GitHub organization hosts the project, so release timing follows that project's public release cadence.
- Paid tier: No paid edition is documented. If procurement needs a contract, ask NVIDIA whether commercial support or a hosted option exists.
- Cost drivers: Scan cost grows with the number of generations per prompt (10 by default) and with the metered price of each target model you call.
- One-time and recurring: Setting up generators and REST endpoint YAML is one-time work. Model usage and staff time to rerun scans recur.
Before you budget, check the garak releases page for the version you plan to pin, and confirm with legal which Apache-2.0 obligations apply to how you package the tool.
PyRIT is MIT licensed, so the framework itself carries no license fee. The original Azure/PyRIT repository was archived on March 27, 2026 and is read-only. Development continues at microsoft/PyRIT, where v1.0.0 was published on July 24, 2026 and v1.1.0 on September 4, 2026. Your cost is the engineering effort to run the framework and the model calls its attack and scoring components make against your targets.
- MIT terms: The license is permissive and requires that copyright and license notices travel with the copies you distribute.
- Archived origin: Any pipeline or internal fork that still points at the Azure/PyRIT path needs to move to microsoft/PyRIT, because the archived repository receives no further changes.
- Release line: v1.0.0 and v1.1.0 are the versions to evaluate first. Check the releases page for later tags before you pin one.
- Azure-hosted service: The Azure service built on PyRIT is a separate offering with its own pricing and data terms. Ask Microsoft directly if you are weighing it against the open-source framework.
- Recurring costs: Attack and scorer model calls recur with each run, as does storage for the memory layer, which records conversations, scores and results in SQLite or Azure SQL.
Before you adopt it, confirm your team's Python version against the PyRIT releases page and the PyPI package requirements, since the package supports Python 3.10 up to but not including 3.15 and the documentation recommends 3.13.
promptfoo is MIT licensed. OpenAI announced on March 9, 2026 that promptfoo had agreed to be acquired, and the project states that it remains open source and MIT licensed. Spending falls into two paid editions, Enterprise and On-Premise, both priced from a written scope. The Community edition is free and covers evaluation and red teaming, with community support.
- Community edition: Free, with all LLM evaluation features, all model providers and integrations, and red teaming with 10k probes per month. Support comes from the community.
- Enterprise: Custom pricing for team sharing, teams-based access control and SSO, custom roles, continuous monitoring, a centralized guardrail dashboard, remediation recommendations and priority support with SLAs.
- On-Premise: Enterprise functionality on your own infrastructure, with complete data isolation and a dedicated deployment engineer. That engineer's time is a cost to confirm in the quote.
- Ownership change: The project states it stays open source under OpenAI ownership, so review license and support terms again at each renewal.
- Quote scope: A quote follows from written scope. Request the number of users and teams, deployment location, support and SLA terms, deployment engineer time, upgrade and backup responsibilities, and renewal and price-change terms.
Before comparing totals, ask for these items in writing from the promptfoo pricing page contacts, since a seat-based quote and a deployment-based quote can include different work.
How to choose between the three tools in order
The path starts with whether the test must gate a release in CI. A yes sends Python teams to the scope question and Node teams to a question about shared results and SSO. promptfoo Community is the free, local option for teams that do not need shared results or SSO. promptfoo Enterprise or On-Premise adds team sharing, SSO and an on-premises deployment. The scope question separates a broad probe scan of a model endpoint, which leads to garak, from scripted multi-turn attacks, which lead to PyRIT. Before relying on a branch, confirm how garak's JSONL report and hit log fit your pipeline gate, and confirm current edition features with promptfoo.
Decision path from a CI release gate to garak, PyRIT or promptfoo editions.
What drives the running cost of each tool
Five cost drivers decide what these tools cost to run, and they split into the work your team does and the spending you pay for. garak, PyRIT and promptfoo Community carry no license fee, so the bill comes from model calls, engineering hours, runner time and hosting. Promptfoo Enterprise adds a quote on top, and most drivers grow with how often you test and how many systems you cover.
Model calls for target and judge
Each probe sends attack prompts to the system under test, and scoring can add calls to a judge model. garak makes 10 generations per prompt by default, so broad scans multiply quickly. PyRIT scorers can call an LLM, and multi-turn attacks like Crescendo send several requests per objective. Promptfoo calls your configured providers directly, so the charges land on your own accounts. Nothing here is one-time, and both sides are usually metered per token, so measure tokens in a pilot run. Ask which judge model each tool uses by default and whether a cheaper model can score.
Engineering time for probes and configs
Building the first probes and configs is a one-time effort, and keeping them aligned with model, prompt and endpoint changes recurs. garak needs a YAML file for each REST target, plus chosen probes and detectors. PyRIT needs Python code for targets, converters and attack flows. Promptfoo needs declarative configs and red team plugins mapped to your use case. Cost rises with the number of targets and with how often the application changes, and falls when one config serves several systems. Before a quote, ask who writes each suite and who maintains it.
CI runner time for scans
Each run consumes runner minutes, so this cost recurs with pipeline frequency, while wiring the job is one-time work. Promptfoo can run checks in CI/CD pipelines and gate a build. Runners need Python 3.11 or newer for garak and Node.js 22.22.0 or newer for promptfoo. garak writes a JSONL report and hit log, and PyRIT keeps results in its memory layer, so artifact storage and retention add to the bill. Ask which suites run per commit, which run nightly and how long results are kept.
Hosting the self-hosted promptfoo server
The self-hosted promptfoo app is an Express server for the web UI and API, deployable with Docker, Docker Compose or Kubernetes with Helm. Standing it up is a one-time task, while compute, patching, backups and upgrades recur for as long as it runs. garak and PyRIT need no shared server, so this line applies only to the promptfoo server. On-Premise moves the Enterprise functionality into your infrastructure with a dedicated deployment engineer, which changes who runs it. Ask who patches and restores the server, and which operations the On-Premise quote covers.
Promptfoo Enterprise subscription
Community is free and covers evaluation, all model providers and red teaming with 10k probes per month, with community support. Enterprise adds team sharing, SSO, teams-based access control, continuous monitoring, a centralized guardrail dashboard and priority support with SLAs, all at custom pricing. On-Premise runs that functionality on your infrastructure with complete data isolation and a dedicated deployment engineer. The subscription recurs, so ask for the recurring price in writing, the renewal terms, the SLA terms and whether onboarding is billed separately.
Promptfoo pricingWhat implementing garak, PyRIT or promptfoo involves
Setup differs most in runtime requirements and in how much your image has to change before the first scan runs. garak on PyPI installs with pip and requires Python 3.11 or newer. Its README describes development on Linux and macOS, so a Windows build agent needs its own test before anyone commits to it. PyRIT also installs with pip. It supports Python 3.10 up to but not including 3.15, and its documentation recommends Python 3.13, so pinning one interpreter version in your image is the simplest path. promptfoo requires Node.js 22.22.0 or newer, so a pipeline that is otherwise Python-only still needs a Node runtime added to the job image.
The installs take little time. The work that stays with your team is the same for all three tools: writing target configs that point at your model endpoint, choosing which attack categories are in scope, and agreeing pass or fail thresholds before the first run. garak marks a probe FAIL when any of its default 10 generations per prompt produces undesirable output, so the decision is whether one failure blocks a release or whether the failure rate has to cross a line you set. promptfoo expresses targets and checks in declarative configs, while PyRIT expresses them as Python code built from its targets, converters and scorers. Name one owner who can explain each threshold to a security reviewer, and record the reasoning in the repository next to the config.
Handover is where the scanner becomes part of your delivery process. promptfoo has documented setups for GitHub Actions, GitLab and Jenkins, so the handover should include the pipeline file, the secrets the job reads, and the config that defines a failed build. garak writes a JSONL report of every attempt plus a hit log, and PyRIT's documentation describes a memory layer that stores conversations and scores in SQLite or Azure SQL. Ask your partner to document where each output lands, who can read it, and how long it is kept. Confirm with your security team whether stored prompts and model responses count as sensitive data in your environment.
What does a garak vs PyRIT vs promptfoo rollout need from our team
How much effort does it take to run garak, PyRIT or promptfoo?
The first run is quick for one engineer, but the ongoing effort depends on how many targets you test and how often you test them. garak is installed from PyPI with pip and requires Python 3.11 or newer. PyRIT installs with pip, supports Python 3.10 up to but not including 3.15, and its documentation recommends Python 3.13. promptfoo runs from declarative configs and requires Node.js 22.22.0 or newer. The recurring effort comes from maintaining target definitions and credentials, keeping tool versions current, reviewing failed checks and triaging findings. Before estimating, inventory the endpoints, model providers and data types in scope, because each one adds configuration and review work.
Can our team run these tools without outside help?
Often yes, for a single application, if one or two engineers already write Python or Node and own the CI system. Outside help tends to matter as scope grows: several model providers, custom REST or WebSocket targets, web apps driven through a browser, multi-turn attacks that need tuning, or evidence a compliance reviewer will accept. garak can reach almost any endpoint that returns plaintext or JSON, described in a short YAML file. PyRIT's multi-turn strategies, such as Crescendo, TAP and Skeleton Key, need an engineer who can read scorer output and adjust it. Check who reviews false positives, who owns the results store and who keeps the pipeline running after the first release. DeployOpen plans, implements, integrates and documents self-hosted platforms in your own infrastructure. Most engagements are fixed-scope, and a quote follows from the written scope.
What skills do garak, PyRIT and promptfoo require from engineers?
The main skill is the language of the tool: Python for garak and PyRIT, Node.js for promptfoo. Beyond that, the work needs familiarity with the model APIs under test, basic YAML or JSON configuration, and the CI/CD syntax of whichever runner you use. For garak, engineers should understand probes, detectors and generators, because a report is only as useful as the detector judging each attempt. PyRIT work asks for comfort with its targets, converters, scorers and memory layer, which records conversations and results in SQLite or Azure SQL. promptfoo work asks for writing test cases and assertions in its declarative config and wiring the CLI into a pipeline. Security engineers also need to judge findings, since none of the three tools decides what risk your application can accept. Confirm which of these skills exist in your team before choosing a tool.
What determines how long a first CI pipeline gate takes to set up?
The time depends more on the path from a commit to a pass or fail decision than on the install step. The main drivers are how many targets the gate calls, how the team stores model credentials in the CI runner, whether the gate runs on every pull request or only before release, and where results go. promptfoo can run checks in CI/CD pipelines, so confirm in its documentation how a failed check sets the build exit code on your runner. garak writes JSONL reports and a hit log, so a garak gate needs an extra step that reads those files and decides pass or fail. Each new provider, network allowlist or approval step adds work. Run a dry gate against one non-production endpoint first, and write down the pass or fail threshold before wiring it into a release path.
What does promptfoo Enterprise add, and how is its pricing quoted?
Promptfoo Enterprise adds team sharing, access control by team, SSO, custom roles and permissions, continuous monitoring, a centralized guardrail dashboard, remediation recommendations and priority support with SLAs. Its pricing is custom, so there is no public list price to compare against. Ask promptfoo for a written quote that states the deployment model, whether vendor-run or On-Premise, the number of users and projects, the support terms and the SLA wording. promptfoo On-Premise runs the Enterprise functionality on your infrastructure with complete data isolation and a dedicated deployment engineer, which changes both the cost and who operates the service. The free Community edition includes all LLM evaluation features, all model providers and red teaming with 10k probes per month. Compare what your team needs from the paid tier against that allowance, and check the promptfoo pricing page before budgeting.
What happens to our project if a tool is archived or changes owner?
The license sets what you can keep using, and the maintainer decides what fixes you receive. Two of the three tools have already had ownership or repository changes. The original Azure/PyRIT repository was archived on 27 March 2026 and is read-only, and development continues at microsoft/PyRIT, so update your dependencies and import paths to the active repository. promptfoo announced on 9 March 2026 that it had agreed to be acquired by OpenAI, and its founders state it will remain open source and MIT licensed. garak is developed in NVIDIA's GitHub organization under Apache 2.0. An archived project receives no new releases, so security fixes stop arriving. Ask for a written plan covering version pinning, a tested upgrade path, who maintains any internal fork and how to roll back if an upstream change breaks your gate.
What recurring costs come with running garak or promptfoo tests?
The recurring costs are mostly the model calls your tests generate, plus the engineer time needed to keep the pipeline running. garak makes 10 generations per prompt by default, so each probe multiplies calls against the target, and paid model APIs bill per call. promptfoo Community includes red teaming with 10k probes per month, and Enterprise is custom priced. Costs rise with more targets, more probes, more frequent runs and longer multi-turn attacks in PyRIT. They fall when gates run only on changed components and deeper scans run on a schedule. Ask any vendor or implementation partner for a quote that separates one-time setup from monthly run costs, names who pays each model provider, and states what happens when a test budget runs out. Provider charges come from your own account, so check their current rate terms.
How DeployOpen helps choose and run these tools
DeployOpen plans, implements, integrates, hardens and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks, and runs security testing for AI systems and agents. For garak, PyRIT and promptfoo, we start from your target applications, data handling rules and CI setup, then help you decide which tool fits each test. Most engagements are fixed-scope.
How we scope
- The written scope lists the target applications, model endpoints and tools (garak, PyRIT or promptfoo) in each test.
- We confirm each tool's license and editions, since promptfoo's free Community and paid Enterprise tiers differ.
- Ongoing support, upgrades and continuous testing can be added as a retainer.
How we build
- Install garak (Python 3.11 or newer), PyRIT (Python 3.13 recommended) and promptfoo (Node.js 22.22.0 or newer) on your hosts.
- Connect garak and PyRIT to your model endpoints, and wire promptfoo into your CI/CD pipeline.
- Set up API key storage and choose PyRIT's memory backend, SQLite or Azure SQL.
How we hand over
- Runbooks cover each tool's commands, configs, report formats and the garak JSONL report and hit log.
- Deliverables are set out in the written scope, so you know exactly what you receive at handover.
- Test evidence is documented so your compliance team can review how tests ran and where results are kept.
How we support
- Ongoing support can cover upgrades to newer garak, PyRIT or promptfoo releases in your environment.
- Track maintenance changes: the original Azure/PyRIT repository is archived, so development follows microsoft/PyRIT.
- Continuous testing as a retainer can rerun your attack suites after model or prompt changes.

