Best AI security testing and guardrail tools for startups: test first, guard second
A startup whose product team ships an LLM feature and must show it was tested before release should test with promptfoo, garak or PyRIT before launch, and add NeMo Guardrails or Guardrails AI when the app needs runtime filtering. For a product team that wants checks on every pull request, start with promptfoo, an MIT-licensed CLI that runs locally from declarative configs and can run its checks in CI/CD pipelines. Its red team plugins and strategies are aligned with the OWASP LLM Top 10 and the NIST AI Risk Management Framework. promptfoo announced on March 9, 2026 that it agreed to be acquired by OpenAI, and its README says it remains open source and MIT licensed, so confirm those terms in writing before you standardize on it.
A security engineer who must script multi-turn attacks should look at PyRIT, an MIT-licensed Python framework with targets, prompt converters, scorers and multi-turn attacks such as Crescendo, TAP and Skeleton Key. Its memory layer keeps conversations, scores and results in SQLite or Azure SQL, which makes attack chains easier to replay for a finding. Use garak, an Apache-2.0 command-line scanner, for a broad sweep of known probes against an endpoint; it writes a JSONL report of every attempt and a hit log of attempts that found a weakness. Check the Python versions first: PyRIT supports Python 3.10 up to but not including 3.15 and its documentation recommends 3.13, while garak requires 3.11 or newer.
A team that needs a runtime guard should compare NeMo Guardrails and Guardrails AI, both Apache-2.0. NeMo Guardrails configures input, dialog, output, retrieval and execution rails in Colang and includes a server that exposes /v1/chat/completions. Guardrails AI runs input and output guards built from validators on Guardrails Hub and can run as a Flask REST service. Do not pick LLM Guard for new work: Protect AI archived its LLM Guard repository on July 9, 2026, and it no longer receives security fixes. This shortlist covers open-source options only, so check commercial hosted services separately against the same questions on test coverage, CI fit and where prompts and logs are stored.
Which AI security testing and guardrail tools fit each startup situation
This table matches six common startup situations to the tool that fits best, with the condition that makes each fit hold. Read the why column first, because the right choice depends on your delivery pipeline, your team's language skills and whether a tool is still maintained. The main takeaway is that testing tools (garak, PyRIT, promptfoo) and runtime guardrails (NeMo Guardrails, Guardrails AI) solve different problems, and LLM Guard should not be chosen for new work.
| Scenario | Best fit | Why |
|---|---|---|
| Product team wants checks in CI | promptfoo | Holds when you want declarative configs in CI. Check item: OpenAI ownership (announced March 9, 2026) against your vendor policy. |
| Security engineer scripts attacks in Python | PyRIT | Holds when you need multi-turn attacks scripted in code. Confirm your Python version and use microsoft/PyRIT, since Azure/PyRIT is archived. |
| Team wants a CLI scan of a model endpoint | garak | Holds when a REST or hosted endpoint needs a CLI scan and JSONL report. Confirm Python 3.11 or newer for the PyPI install. |
| Team must filter prompts and responses at runtime | NeMo Guardrails | Holds when you want input, dialog and output rails defined in Colang. Confirm latency and model dependencies in your own tests. |
| Team needs validated structured output | Guardrails AI | Holds when outputs must match Pydantic models and validators from Guardrails Hub. Confirm the validators you need are on the Hub. |
| Team still running LLM Guard | Replace with NeMo Guardrails or Guardrails AI | Holds for every LLM Guard deployment, since the archive on July 9, 2026 means no security fixes. |
Why testing tools and runtime guardrails answer different questions
Start by deciding which question you need answered first. garak, PyRIT and promptfoo send attacks at a model or application and score the results before a release, so they tell you whether your system breaks under known attack patterns. NeMo Guardrails and Guardrails AI answer a different question. They sit in the request path and check inputs and outputs while the product runs, so they decide what happens to a prompt or response in live traffic. Many startups eventually need one of each. The order depends on what is live today: a team about to ship its first LLM feature usually starts with testing, while a team with live users and sensitive data in prompts may need runtime checks sooner.
The testing tools also leave different evidence behind, and that affects what your team can review later. garak writes a JSONL report of every attempt and a hit log of the attempts that found a vulnerability, which suits a pipeline that archives scan output. PyRIT keeps conversations, scores and results in its memory layer, backed by SQLite or Azure SQL, so you need to decide where that database runs and who can read it, especially if test prompts contain customer data. Confirm these storage choices with your security team before the first scan, because test transcripts can carry the same sensitive content as production traffic.
On the runtime side, Guardrails AI runs input and output guards built from validators published on Guardrails Hub, so each validator becomes a dependency you must review, pin and monitor. Latency and model dependencies vary with setup: a validator that calls a separate model adds a network round trip, while a rule-based check adds far less. Do not take either figure from a vendor page or from this article. Measure both in your own environment, using your expected prompt lengths, traffic and hardware, and include the guardrail step in that measurement. Ask the team that will own the system which validators they will maintain after launch.
How AI security testing and guardrail tools compare on capability
This table compares six open-source tools on role, license, release, interface, CI/CD and runtime fit, reporting, maintainer and status. Read garak, PyRIT and promptfoo as pre-release testing tools and NeMo Guardrails, Guardrails AI and LLM Guard as runtime components, then check the Python or Node.js version before you commit. The main takeaway for a startup is that LLM Guard is archived, so it should not anchor a new build, and the remaining tools need a version check against your own environment.
| Tool | Role, license and latest release | Interface, CI/CD and runtime fit | Maintainer, reporting and status |
|---|---|---|---|
| garak | Apache-2.0, testing scanner. Latest release v0.17.1, October 16, 2026. | CLI installed from PyPI. Python 3.11 or newer. Runs as a command-line scan, so CI wiring is yours to build. | JSONL attempt report and hit log. Maintained by NVIDIA. Confirm current activity on its releases page. |
| PyRIT | MIT, testing framework for multi-turn attacks. Latest release v1.1.0, September 4, 2026. | Python 3.10 to below 3.15, with 3.13 recommended. Built as Python code, so CI means running Python jobs. | Memory in SQLite or Azure SQL records conversations and scores. Azure/PyRIT archived; development at microsoft/PyRIT. |
| promptfoo | MIT, CLI and library for evals and red teaming. Latest release 0.124.1, October 8, 2026. Testing role. | Node.js 22.22.0 or newer. Declarative configs run in CI/CD pipelines and run locally against your LLM. | OpenAI acquisition announced March 9, 2026. README states it remains MIT licensed and open source. Watch vendor direction. |
| NeMo Guardrails | Apache-2.0, runtime guardrail toolkit. Latest release v0.24.1, September 16, 2026. | Colang rails for input, dialog, output, retrieval and execution. Includes a /v1/chat/completions server. Confirm Python version. | Maintained under NVIDIA-NeMo. Confirm logging and audit output for your review. |
| Guardrails AI | Apache-2.0, runtime validators library. Latest release v0.11.0, August 14, 2026. | Python validators from Guardrails Hub, runnable as a Flask REST service via the OpenAI SDK. Confirm Python version. | Structured output from Pydantic models. Maintained under guardrails-ai; confirm release cadence before adoption. |
| LLM Guard (archived) | MIT, prompt and response scanner for runtime use. Archived July 9, 2026; last PyPI release 0.3.16 (May 19, 2025). | Python 3.10 or newer but below 3.13 for the last release. Input scanners include Prompt Injection and Secrets. | Built by Protect AI. No longer maintained, so no security fixes. |
What each AI security testing and guardrail tool does and where it stops
Each card names the license, the maintainer, the job the tool does well and the limit to plan around. The first three tools probe a system before release, while the last three check traffic at runtime, so many teams will weigh one tool from each group.
garak for broad vulnerability scans
garak is Apache-2.0 licensed and maintained in NVIDIA's GitHub organization. It is a command-line scanner that sends probes for prompt injection, jailbreaks, data leakage, hallucination, misinformation and toxicity, judges each response with detectors, and writes a JSONL report plus a hit log of successful attacks. Its limit is the detectors: they decide what counts as a failure, so confirm they match your own policy before treating a clean run as evidence. It requires Python 3.11 or newer.
- Latest release
- v0.17.1
PyRIT for scripted multi-turn attacks
PyRIT is MIT licensed and published by Microsoft. The original Azure repository is archived, and development continues under the microsoft organization, so point scripts and dependencies there. It is a Python framework of targets, prompt converters, scorers and multi-turn attacks such as Crescendo, TAP and Skeleton Key, with memory stored in SQLite or Azure SQL. Its limit is engineering time: you script every attack, so a startup needs an engineer who can write and maintain that logic. The documentation recommends Python 3.13.
- Latest release
- v1.1.0
promptfoo for evals in CI
promptfoo is MIT licensed. It had agreed to be acquired by OpenAI, an agreement announced on March 9, 2026, and its README states that promptfoo is part of OpenAI and remains open source and MIT licensed. It runs locally from declarative configs, runs checks in CI/CD pipelines, and generates adversarial inputs aligned with the OWASP LLM Top 10. Its limit is ownership: review how the OpenAI deal could affect your roadmap and provider support, and confirm which features your team depends on.
- Latest release
- 0.124.1
NeMo Guardrails for dialog rails
NeMo Guardrails is Apache-2.0 licensed and maintained by NVIDIA in its NVIDIA-NeMo GitHub organization. You configure input, dialog, output, retrieval and execution rails in the Colang language, and the included server exposes a /v1/chat/completions endpoint that OpenAI-style clients can call. Its limit is authoring effort: coverage is only as wide as the flows your team writes, tests and maintains, so budget time for Colang and for testing rails against your own traffic.
- Latest release
- v0.24.1
Guardrails AI for validated output
Guardrails AI is Apache-2.0 licensed and maintained in the guardrails-ai GitHub organization. It runs input and output guards built from validators published on Guardrails Hub, generates structured output that matches Pydantic models, and can run as a standalone Flask REST service that the OpenAI SDK can call. Its limit is validator choice: each validator checks one property, so your team must select, tune and review the validators against its own risks and the Hub entries it depends on.
- Latest release
- v0.11.0
LLM Guard after its archive
LLM Guard is MIT licensed and was built by Protect AI. The owner archived the repository on July 9, 2026, and the README states that the project and its Hugging Face models are no longer actively developed or maintained. It receives no security fixes, so a scanner such as Prompt Injection or Secrets will not get patches for newly found bypasses. If it already runs in your stack, plan a migration now and treat the last PyPI release, 0.3.16, as a short-term stopgap only.
LLM Guard repositoryHow a startup moves from pre-release tests to runtime guardrails
The path starts with one question: does the team ship an LLM feature yet? The next hand-off is the CI pipeline. Teams with CI that write Python can script multi-turn attacks with PyRIT, while teams that prefer declarative configs can run promptfoo on every build. Teams without CI that prefer a command-line scanner start with garak. Once pre-release tests are in place, check whether the running app needs input or output filtering. If it also needs validated structured output, Guardrails AI is the option to check; otherwise NeMo Guardrails fits. LLM Guard is archived and receives no security fixes, so it stays off the shortlist.
Decision path from testing before release to runtime guardrails, with archived LLM Guard flagged.
What AI security testing and guardrail tools cost a startup to run
Do garak, PyRIT and promptfoo cost anything to license?
The Apache-2.0 and MIT licenses on these tools carry no license fee, so budget for what runs around them. garak, NeMo Guardrails and Guardrails AI are Apache-2.0, while PyRIT and promptfoo are MIT. Recurring spend comes from model API calls, because probes send requests to your target and, where a tool uses them, judge models score the replies. Other drivers are hosting for the target and any scanner, CI compute for each pipeline run, and staff time to triage findings. These scale with probe count, run frequency and the model you test. Confirm the license file in each repository before adoption, and ask any partner to price each of these lines separately.
What does the promptfoo Community edition include for a startup?
The promptfoo Community edition is free and includes all LLM evaluation features, all model providers and integrations, and red teaming with 10k probes per month, with community support. For a startup, that means automated red teaming within a monthly probe budget before any paid tier is needed. The product is MIT licensed, and its README states that it is part of OpenAI and remains open source. Community support means you rely on public channels for answers, so plan internal ownership of configs and failing tests. Paid tiers and their limits can change, so confirm current terms on the promptfoo pricing page before you budget for growth in probe volume or team size.
What drives the effort to run these tools in CI?
Effort depends mainly on where the target runs, how long each CI run takes and which language runtime your team must maintain. Check these three things before you pick a tool:
- Target hosting: the endpoint under test must be reachable from the test runner, so a staging copy of your app or model gateway is often needed.
- CI runtime: each probe is a model call, so run time and token spend grow with probe count and with multi-turn attacks.
- Language setup: garak needs Python 3.11 or newer, PyRIT supports Python 3.10 up to but not including 3.15 with 3.13 recommended, and promptfoo needs Node.js 22.22.0 or newer.
Someone must also decide which attacks match your app's tools, data and prompts, and who reviews the results.
How long does a first AI security testing pilot take to finish?
No duration can be stated for a first pilot until the scope is written, so ask for a fixed scope with deliverables and timelines agreed in writing before work starts. Most of the variation comes from the number of targets, whether test accounts and staging environments already exist, how many model providers and tools the application uses, and how quickly your team can review findings. DeployOpen's engagements are usually fixed-scope, with scope, deliverables and timelines agreed in writing before work begins. Ask any partner which assumptions the timeline depends on, such as access to the target, sample data and named reviewers, and what happens if one of them slips. Compare written timelines across vendors using the same scope document.
Can a small team run these AI security testing tools without outside help?
Yes, a small team with an engineer comfortable with the command line and Python or Node can run garak, PyRIT and promptfoo alone. Each installs locally, and promptfoo's documentation says its evals run on your machine and talk directly with the LLM. The harder work is ongoing: writing probes that fit your app's tools and data, deciding which findings are exploitable, fixing prompts or tool permissions, and keeping pipelines current as releases change. Teams without a security background often need a second reviewer for triage. A consultant or implementation partner can cover those gaps, but your team should still own the configs and the fix list so the work continues after any engagement ends.
What would an implementation partner do for AI security testing tools?
A partner would plan the test scope, set up the tools in your own cloud accounts, data centers or air-gapped network, wire them into CI, write application-specific test cases, run the tests and deliver a findings report with fixes and a retest. DeployOpen works this way for open-source platforms and security testing, including AI systems and agents. For coding agents, workplace agents or MCP servers, its AI agent rollout security review covers prompt injection, tool and file permissions, data exposure, credential handling, and SSO and admin settings, with a findings report, fixes and a retest. DeployOpen does not issue audit reports or certifications. Ask any partner which tasks stay with your team after handover and who owns the probes.
What should a written quote for AI security testing include?
Ask for a quote built from a written scope that lists each item below:
- Targets: which applications, models, agents or endpoints are in scope, and the environment each one runs in.
- Tools and versions: which of garak, PyRIT, promptfoo or a guardrail library will be used, and the versions tested.
- Test coverage: which attack categories are included, how many probe runs are planned, and whether multi-turn attacks are covered.
- Model calls: who pays for test API usage, whether you, the partner or a vendor account.
- Deliverables: report format, fixes, retest and handover documents.
- Recurring items: whether ongoing runs, upgrades or continuous testing are a separate retainer.
- Assumptions: the access, test accounts and dates your team must provide.
Which costs recur after the first AI security test run?
Setup costs are mostly one-time: scoping, installing tools, wiring CI, writing the first probe set and producing the initial report. Recurring costs continue as long as the tests run: model API calls for each probe run, CI compute, hosting for targets and any scanner, and staff time to triage new findings. They grow with how often the pipeline fires, how many probes each run sends and how fast your models or prompts change, so a nightly full run costs more than a pull-request smoke test. If you use a partner, ask whether upgrades, continuous testing and retests are a retainer or part of the fixed scope. Ask for each recurring item to be listed with the party who pays for it.
How to choose and pilot a shortlist before committing
This sequence turns a shortlist into a decision you can defend. Each step fixes one thing, from the exact target under test to the license and maintenance record you can show on the decision date, so the tools you pick are tested against your own system and can be replaced without rework.
Name the target under test
Write down the exact model endpoint or application the tools will test, including the model name and version string, the system prompt, any tools or retrieval sources the app can call, and how the tests authenticate. Security and product leads sign the record together. The choice matters because garak can reach Hugging Face, OpenAI, AWS Bedrock, llama.cpp models and custom REST endpoints, and each tool configures its target differently. The step is done when the signed target record sits in the repository.
Assign one testing tool per role
Give each team one primary tool so every result has an owner. Security engineers take garak for broad probe scans from the command line, which needs Python 3.11 or newer, and PyRIT for scripted multi-turn attacks, which supports Python 3.10 up to but not including 3.15 and is documented on Python 3.13. Product engineers take promptfoo for regression evals in CI, which needs Node.js 22.22.0 or newer. The step is done when each role has a named owner and a pinned tool version recorded in the pilot scope.
Run a staging pilot under written scope
Run the chosen tools only against a staging copy of the target. Before the first run, write the scope: which probe or plugin families run, which test accounts and data are used, who can stop a run, and what counts as a finding that goes to escalation. garak writes a JSONL report of every attempt and a hit log of successful attempts, so archive the raw output with the scope. The step is done when the security lead has signed the scope and the raw reports are stored with their run dates.
Check reports and CI output for reproducibility
Open each tool's report and confirm that findings survive a rerun. garak's hit log lists the attempts that found a weakness, so a reviewer should reproduce a sample of them and mark any detector false positives. Then add a promptfoo config to a CI job against the staging target and seed a known weakness, such as a canary string placed in the system prompt, to confirm the job fails on it and passes once it is fixed. The step is done when the triage log records reproduced, false positive and accepted-risk items for each tool.
Test one runtime guard against known-bad prompts
Choose one maintained runtime guard, either NeMo Guardrails or Guardrails AI, and place it in front of the staging target. Write a prompt set from the findings in the previous step, then run it twice, once with the guard off and once with it on. Record which attacks were blocked, which got through, and which benign prompts were wrongly blocked. NeMo Guardrails includes a server with a /v1/chat/completions endpoint, so check whether your app can call it in that position before you start. The step is done when that table exists for the guard you chose.
Record licenses, maintenance and exit path
On the decision date, record each tool's license, latest release and maintenance status in one table. garak is Apache-2.0 licensed, and v0.17.1 was released on October 16, 2026. PyRIT is MIT licensed, and its original Azure repository is archived. promptfoo is MIT licensed and now part of OpenAI. Then write the exit path: pin versions, keep prompts and eval data in files you own, and name a replacement for each tool. If a tool is archived, as LLM Guard was on July 9, 2026, freeze its version, move the test assets and rerun the guard test on the replacement. The step is done when the table and exit path are signed.
Licenses, editions and the operating effort each tool adds
Every open-source option on this shortlist uses an OSI-approved license, so the license question for a startup is mostly about which terms your counsel will read. garak, NeMo Guardrails and Guardrails AI are Apache-2.0. PyRIT, promptfoo and LLM Guard are MIT. Check the license file in the exact repository you deploy, since NeMo Guardrails now lives at NVIDIA-NeMo/Guardrails. Editions matter mainly for promptfoo. Its pricing page lists a free Community edition with all LLM evaluation features, all model providers and integrations, and red teaming with 10k probes per month, with community support. Treat any paid promptfoo tier as outside the MIT license covered here and outside what this page verifies. Get its written terms and support commitments before you plan a feature around it.
Runtime and language versions set the first operating cost. garak installs from PyPI with pip and needs Python 3.11 or newer. PyRIT supports Python 3.10 up to but not including 3.15, and its documentation recommends Python 3.13. promptfoo needs Node.js 22.22.0 or newer and runs locally, so evals and red team runs go from your host straight to the model provider. PyRIT also records conversations, scores and results in a memory layer backed by SQLite or Azure SQL. Decide early whether a local SQLite file meets your audit needs or whether you need a managed Azure SQL instance, and name the owner of its backups and retention. Pin runtime versions in your CI image so an upgrade does not silently change scan results.
LLM Guard is the runtime option to check first. It was archived on July 9, 2026, so it receives no security fixes. Its last PyPI release is 0.3.16, from May 19, 2025, and it requires Python 3.10 or newer but below 3.13. Its README says the project and its Hugging Face models are no longer maintained. For NeMo Guardrails, confirm which models each Colang rail calls, where they are hosted, and whether its /v1/chat/completions server stays inside your network. Guardrails AI pulls validators from Guardrails Hub, so record the source and version of each one. Whoever runs these tools also needs time to write probes, tune detectors and triage hits from garak's hit log. That staff time is often the larger recurring cost. Ask any quote to separate setup, probe writing and ongoing triage.
How DeployOpen scopes a tool selection and pilot
DeployOpen scopes the selection and pilot of AI security testing and guardrail tools around your own model endpoints, release process and data handling rules. Each engagement is fixed-scope, with scope, deliverables and timelines agreed in writing before work starts. The pilot runs inside your cloud account, data center or air-gapped network, so your security and compliance teams review the same setup they will operate.
How we scope
- Written scope listing the model endpoints, applications and agents each tool will test
- Attack categories agreed up front, such as prompt injection, data leakage and jailbreaks
- Confirmed license terms, maintainer status and Python or Node.js runtime requirements for each candidate
How we build
- Self-hosted deployment of the shortlisted tools in your own cloud or data center
- Generator and target connections to your staging models, configured with your own credentials
- CI pipeline hooks so probes and evals run on each change to prompts or models
How we hand over
- Pilot report comparing tools on the written scope, with findings and reproduction steps
- Runbooks covering installation, configuration, scheduled runs and how to read each tool's reports
- Retest of fixes where findings call for one, with the handover showing what changed
How we support
- Retainer options for upgrades, version pinning and re-running the pilot tests
- Continuous testing on a retainer, so new models and prompt changes get the same probes
- Quotes follow from the written scope; ask what recurs, such as retainer fees and re-testing after upgrades

