Upgrading garak to 0.16 and 0.17

garak 0.16 and 0.17 add technique and intent annotation, an initial IntentProbe and EU AI Act risk tags. This page explains what those changes mean for your scan configs, report pipelines and score comparisons, and how to upgrade without losing comparability.

On this page

Upgrading garak to 0.16 and 0.17 without breaking report pipelines

If your team runs garak scans, parses the JSONL reports and compares results across runs, the move to 0.16 and 0.17 is manageable if you pin your current version as a baseline, run the new release in staging against the same targets, and keep a rollback point for every pipeline stage. The upgrade is not a drop-in swap for report consumers, so treat it as a planned change with its own verification step rather than a package bump.

The reason to move now is the set of changes in these releases. garak v0.16.0 introduced technique and intent annotation and an initial IntentProbe as the first step toward context-aware scanning, while v0.17.0 added an EU AI Act mapping that tags probe results by the risk categories the Act calls out. Both change what a result carries, so a team that feeds reports into dashboards or compliance evidence needs to know which fields are new. The supported path is described in the release notes on NVIDIA/garak releases, which you should read for every version between your current release and the target before you change anything. The current 0.17 patch is 0.17.1, released 16 October 2026, so pin to that patch rather than the minor release.

Before the staging run, decide which consumers of the report will see new fields and which will see changed scores. Confirm in the release notes whether the JSONL entry format changed for the attempt and evaluation records, whether new tags appear in the scan output, and whether your parser fails on unknown keys. Record the baseline by running your current version against a fixed target and saving the JSONL report and garak.log together, so you can tell later whether a difference comes from the tool or from the model. Keep the garak version and the scan configuration file under version control with the report archive.

Run the upgraded version against the same configuration and target, then diff the two reports at the attempt level before comparing summary figures. Check that new tags do not collide with existing filters, that tag-based selections in your configuration still resolve to the intended probes, and that the EU AI Act tags appear where your evidence process expects them. Keep the old version installable in a separate environment until the comparison is signed off, because rollback is then a configuration change rather than a rebuild.

What garak 0.16 and 0.17 change for scans and reports

This table compares each change in the 0.16 to 0.17 line against its likely effect on scan configurations and report parsing, with the action a team should take before upgrading. Read it row by row against your current pipeline, and treat the impact column as a checklist of what to test rather than a confirmed list of output changes. The main takeaway is that technique and intent tags and the EU AI Act mapping add fields to results, so the first upgrade check is whether your parsers and comparisons tolerate new data.

ChangeImpactAction needed
v0.16.0: technique and intent annotationProbe results may carry technique and intent tags that were not present before, so report consumers may see new fields.Confirm the new tag fields in the v0.16.0 release notes, then check that your JSONL parser ignores or maps them.
v0.16.0: initial IntentProbeIntentProbe is the first step toward context-aware scanning, so it can add probe results that are not in older scan configs.Decide whether to include it in scans, and label its results separately when comparing against pre-0.16 runs.
v0.17.0: EU AI Act mappingProbe results are tagged by risk categories named in the EU AI Act, which can add a new grouping for compliance reporting.Confirm the exact tag values and their mapping in the v0.17.0 release notes before using them as compliance evidence.
v0.17.1: patch releaseThe patch follows v0.17.0 and is the version to use if you are moving to the 0.17 line, as it was released on 16 October 2026.Pin v0.17.1 in your environment and confirm in the release notes which fixes it includes before retesting baselines.
hit@k metricResults may use a hit@k style measure alongside failure rates, which can change how you read a run's summary.Confirm how hit@k is calculated and reported in the release notes, and avoid mixing it with failure rates in one trend line.
Python 3.14 supportRuntime support for Python 3.14 changes which interpreters your scan hosts can use, which matters for pinned images and CI runners.Confirm the supported interpreter list in the release notes and the PyPI package, and test the install on your target Python version.
Scan config and report fieldsNew tags and metrics can change config options and the fields a report contains, so older configs may run without the new features.Run the same config on the old and new versions, then diff the JSONL and digest outputs to find added or changed fields.

How technique and intent tags change scan configs

If your scan configs select probes by tag, a new release can change what runs without any edit on your side. garak 0.16.0 added technique and intent annotation to its plugins, so probes now carry labels describing the attack technique they use and the intent they test for. Any config that filters probes by a tag, or by a broad family name that now overlaps with new tags, should be reviewed before the first scan on the new version. The release notes describe the annotation as new metadata, so the risk is in selection logic rather than in the probes themselves.

The same release introduced an initial IntentProbe as the first step toward context-aware scanning, meaning probes that take the application's intended purpose into account rather than sending only generic attacks. Treat it as an early capability. Check the release notes for its current scope and parameters in your installed version before relying on it as a control. Confirm the exact class and option names with garak --list_probes or the user guide at docs.garak.ai rather than copying them from older configs.

Before upgrading, list every tag and probe selector in your configs, run the selection on both the old and new version with the same flags, and diff the resolved probe lists. Any probe that appears only on the new side will add runtime, and any probe that disappears from the old side will drop coverage silently. Record the resolved list alongside each report so that a later score change can be traced to a change in what was tested. Verify tag names against the version you have installed, since labels can be renamed between releases.

Which report pipeline parts to check first

A garak upgrade touches more than the scanner itself. The components below are the ones most likely to break or drift when you move to 0.16 or 0.17, and each one can fail quietly, so check them in a staging run before pointing production jobs at the new version.

JSONL report parsers

Every run writes a JSONL file with one line per attempt and its evaluation. Parsers that assume a fixed set of keys, or that count lines as attempts, can break when new annotation fields appear or when entry shapes change. Run one known scan on both versions, diff the record structure, and confirm your parser still reads every line. A failure looks like a parser that exits cleanly but reports zero or fewer results for the same probes.

garak release notes

The garak.log file

The debugging log continues across runs, so a file written by an older version sits alongside entries from the new one. Scripts that tail or grep this file for specific messages may stop matching after a version change. Rotate or archive the log before the first upgraded run, and confirm that alert rules watching for error lines still fire on a deliberately failing test endpoint.

Saved scan config files

Config files pinned to a previous release may reference probe names, tags or options that behave differently in 0.16 and 0.17. Because 0.16 introduced technique and intent annotation and an initial IntentProbe, a config that selects probes by broad pattern can now pull in additional probes. Compare the probe list each config resolves to before and after the upgrade, and keep the old config under version control so you can reproduce the previous baseline.

Dashboards reading EU AI Act tags

Since garak v0.17.0 added an EU AI Act mapping that tags probe results by the risk categories the Act calls out, any dashboard or script grouping results by category may show new buckets or empty groups. Check that charts handle untagged results, that new tag values do not fall into an unlabeled catch-all, and that any compliance evidence export still maps to the categories your reviewers expect.

Consumers of hit@k and new metrics

New or changed metrics such as hit@k can be read as pass or fail rates by downstream code that assumes the older fields. A consumer that averages a new metric with the failure rate, or that alerts on any nonzero value, will report misleading trends. Confirm the definition in the release notes, decide which field drives your thresholds, and backfill a comparison run so the trend line does not start with an artificial break.

The Python runtime

The PyPI package requires Python 3.11 or newer, so hosts running older interpreters will fail at install or import time. Scheduled jobs and CI runners often pin an older image that was never updated. Check the Python version on every runner and worker that executes garak, install into a clean virtual environment, and confirm the installed version string before scheduling any rescan.

garak on PyPI

How the upgrade moves from baseline to promoted release

The upgrade starts by recording the current garak version and a baseline scan from your existing environment. The target release is installed in a separate environment, and the same scan configuration runs there so the JSONL output and tags can be compared. At the decision point, the team checks whether each difference comes from the tool or from the model. A comparison that cannot be explained returns the team to the baseline. An explained result moves the config into scheduled scans, and the prior environment stays available as a rollback point.

Upgrade phases from baseline scan through comparison to promotion, with a return path on failed comparison.

Preparing your garak upgrade before you change anything

Upgrading garak changes the tool, and sometimes the numbers it produces, so the work starts with a record of what you run today. The four steps below capture the installed version, the past results, the customizations and a safe place to test before any production scan uses the new release.

Record the installed version

Capture the exact version you run now, for example by running pip show garak and saving the output, then export your environment with pip freeze into a file kept with your scan records. Keep a copy of the current virtual environment or a pinned requirements file so you can return to the prior release in minutes. Confirm with your security or records team which backup retention and storage rules apply to these files, since your policy may require more than a local copy.

Latest release noted
0.17.1
garak releases

Archive reports and logs with configs

Each garak run writes a JSONL report of every attempt and its evaluation, and garak.log continues across runs. Copy these files into a dated archive together with the exact config files and command lines that produced them, because a later comparison is only meaningful if you can show which settings generated each report. Move the archive to read-only storage so a future run cannot overwrite it, and confirm the retention period your organization requires.

garak user guide

Inventory local customizations

List every custom probe, detector, generator and REST endpoint YAML file your team has added or edited. Note the path of each file, the garak version it was written against and whose code owns it. Custom plugins are the most likely point of breakage after an upgrade, so this list tells you which items need a compatibility check and which can be left alone.

garak README

Build a matching test environment

Set up a separate environment that reaches the same target model or endpoint your production scans use, with the same credentials scope and network path. Run the current version there first to create a baseline, then install the new release alongside it. Avoid testing against a different model build, since a changed target would make any score movement impossible to attribute to the tool.

Upgrade sequence for a garak upgrade to 0.17

This sequence moves an existing garak installation to 0.17 while keeping a known-good version and a fixed scan config available for comparison. It produces a before and after report pair, a field-level diff and a recorded rollback point before any scheduled job changes.

  1. Pin the current version

    Record the garak version your pipelines run today, along with the Python version, the output of pip freeze for the garak environment and the exact generator and probe settings in use. Store these in version control or your change record. The step is done when someone other than the author can rebuild the current environment from the recorded pins. If a later step fails, this record is what you reinstall from.

  2. Run a baseline scan with a fixed config

    Run your standard scan against the target endpoint using a saved config file, with the same probes, generations and detectors your scheduled job uses. Keep the JSONL report and the garak.log file from this run, labeled with the old version number. The step is done when the report file is complete and the run ends without errors in garak.log. Because the target model may change between runs, record the endpoint's model identifier alongside the report.

  3. Create a new environment and install 0.17

    Create a separate virtual environment, not the one used by the current job, and install the target release from PyPI with pip install garak==0.17.1. Keep the current environment untouched so that switching back is a path change in the scheduler rather than a reinstall. The step is done when garak --version in the new environment reports 0.17.1 and the existing environment still reports the old version.

  4. Confirm the Python version

    Check that the interpreter in the new environment meets the minimum stated for the PyPI package, which is Python 3.11 or newer, and confirm which Python your scheduler or CI runner actually calls. Python 3.14 support is part of the 0.16 and 0.17 line, so confirm that your interpreter is a version your team has tested before you rely on it. The step is done when the interpreter version is written into the change record. If it fails, install a supported interpreter in the new environment only and leave the old one in place.

  5. Run the same config on 0.17

    Run the saved config from the baseline step, unchanged, in the new environment against the same endpoint, and capture the new JSONL report and garak.log under a label that names 0.17.1. Do not edit the config to match new defaults during this run, so that any difference comes from garak rather than from your settings. The step is done when the run completes and both reports are stored side by side. If the run fails, keep the failure log and roll back by pointing jobs at the old environment.

  6. Compare fields and tags

    Diff the two JSONL reports for changes in field names, entry structure and any new technique or intent annotations, and check whether downstream parsers still read every field they use. Then compare failure rates per probe, separating probes that are new in 0.17 from probes present in both runs. Any change in a shared probe should be traced to a cause before it is treated as a result. The step is done when a written list of structural differences exists and every score change on a shared probe has an explanation or an open question.

  7. Promote the change in scheduled jobs

    Update the scheduler or CI job to call the 0.17.1 environment, changing one job at a time and starting with a non-production target if you have one. Keep the new and old results in separate storage paths so that trend dashboards do not mix versions without a marker. The step is done when the first scheduled run on 0.17.1 finishes and its report passes the parser checks used in the comparison step.

  8. Record the rollback point

    Write down the environment path, the pinned version, the config file hash and the date of the switch, and keep the old environment installed until a full scheduled cycle has passed without parser or score issues. The rollback procedure is to point the scheduler back to the recorded environment and rerun the last baseline config. The step is done when the rollback note is stored with the change record and someone has confirmed the rollback path works.

Testing and rolling back by how garak runs

On a workstation, garak is usually installed into a Python environment and run by hand against one model or endpoint. Upgrading here is mostly a matter of keeping the old environment available until you have compared one known run under both versions. Record the exact garak version, the Python version and the generator configuration before you change anything, so you can reproduce the baseline later.

  • Freeze the prior environment: keep the old virtual environment or note the pinned version so you can reinstall it exactly.
  • Re-run one baseline scan: use the same probes, generations and config file under the old and new versions, then compare the JSONL reports line by line.
  • Check the report fields: confirm that any scripts reading eval or digest entries still parse the new output.
  • Watch for new probes and tags: added probes or intent tags can add rows that look like regressions when they are simply new coverage.
  • Roll back by reinstalling the pin: reinstall the prior version into a clean environment and rerun the baseline to confirm it matches the saved report.

Before you rely on the new version, confirm that your baseline output matches the earlier report except for the changes you expected from the release notes.

What makes a garak upgrade take longer

This table lists the drivers that change how much work a garak upgrade to 0.16 or 0.17 creates for your team. Read each row as a question to answer about your own setup before estimating effort, since the same version change is light for a single saved config and heavy for a fleet of pipelines and archived history. Most of the extra work comes from custom plugins, report parsers and the need to explain shifted scores.

DriverWhy it adds effortHow to reduce it
Custom probes, detectors and generatorsLocal plugins written against earlier internals may need changes, and each one must be rerun to confirm it still loads and scores the same way.Inventory every local plugin before upgrading, pin the current version in a test environment, and rerun a fixed prompt set against both versions.
Saved configs and scan jobsConfigs that select probes by name or tag may pick up new 0.16 or 0.17 probes, and new intent or technique tags can change what a broad selection runs.Keep configs in version control, list the probes each config resolves to under both versions, and pin explicit probe selections for baseline scans.
Pipelines that parse reportsAny parser that reads the JSONL report or digest fields built for earlier releases must accept the 0.16 annotations and the 0.17 EU AI Act tags without breaking.Write parsers to ignore unknown keys, add a schema check to CI, and run one archived report through the parser before the first live scan.
Archived JSONL historyOld reports stay useful only if new scans can be compared with them, so scores from different versions may need a documented bridge rather than direct comparison.Record the garak version in every report's metadata, store the old and new runs side by side for one rerun, and mark the version boundary in trend dashboards.
Number of target endpointsEach endpoint may need its own rerun to confirm the upgrade did not change results for that model, system prompt or guardrail setup.Start with one representative endpoint, then expand. Keep generator configuration files identical across endpoints so differences come from the target.
Need to explain score movementStakeholders who track a metric will ask whether a change is a real model regression, a new probe, or a tool change, and the answer requires a side-by-side comparison.Run the same probe set on both versions against the same target and separate new probes from changed detectors in the write-up before the scores go to a review.
IntentProbe and context-aware scanningAdopting the intent-based approach from 0.16 changes which prompts run and how results are grouped, so it is a scan design decision, not only a version bump.Keep the first upgrade on existing probe selections, then add intent-based scans as a separate, documented baseline.

Questions teams ask before a garak upgrade

How much effort does a garak upgrade to 0.17 take?

The effort depends on how much your pipeline depends on garak's output and configuration, not on the install command itself. The main drivers are the number of scan configs you maintain, whether your tooling parses the JSONL report or HTML digest directly, whether you run custom plugins, and how many probe families your scans include. The one-time work is reading the release notes, updating parsers and configs, and rerunning baseline scans. The recurring work is keeping configs current as new probes and intent tags arrive in later releases. The garak releases page lists what changed in each version. Ask any partner for a quote built from a written inventory of your pipeline, not from a generic estimate.

How long does it take to move garak to version 0.17?

The package install is quick. Most of the elapsed time goes into validation: installing in a test environment, running existing configs, comparing report output, and rerunning baseline scans against the same target. The total depends on scan volume, endpoint rate limits, and how many pipelines consume the output. Check the Python requirement first, since the garak package on PyPI requires Python 3.11 or newer. Confirm the exact version pin and test window with your team or partner before scheduling, and build time in for a second full rescan if the first comparison raises questions about score movement.

What does a garak upgrade need from our internal team?

The upgrade needs three kinds of people. A pipeline owner should know every consumer of garak output, including dashboards, scripts and any compliance evidence folder. An engineer should have access to the target model or application endpoint, the scan host, and the configuration files. A reviewer with authority to judge whether a score change is a genuine regression should be named before the baseline reruns start. If scan results feed compliance evidence, bring in the person who owns that evidence so they can confirm the new fields and tags do not break the records they keep.

Can our team upgrade garak to 0.17 on its own?

Often yes, if the scan setup is small, the team is comfortable with Python packaging, and the output is read by one tool. It becomes harder when reports feed several systems, when custom probes or generators are in use, or when results support audit evidence and must be explained to reviewers. In those cases, a fixed-scope engagement can cover the inventory, the pipeline changes, the baseline comparison and the documentation. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so you can decide which parts your team keeps and which parts to hand over.

Will old garak reports still compare with new ones?

Not automatically. Release 0.16.0 introduced technique and intent annotation and an initial IntentProbe, and release 0.17.0 added an EU AI Act mapping that tags results by risk category. New fields and tags can break parsers that expect a fixed structure, and new or changed probes mean the same model can score differently. Keep the old baseline, and run the old and new versions side by side against the same target and the same config. Read the garak releases page for the exact changes in each version before you decide which comparisons are valid.

Should we upgrade garak through intermediate releases?

Read the release notes for every version between your current release and the target, in order. Changes stack, and a score shift or parser failure is easier to explain when you know which release introduced it. Stepping through releases costs more time, but it lets you isolate whether a change came from a new probe, a detector fix, or a report format update. Jumping straight to the latest version saves time on installation but makes attribution harder. Garak 0.17.1 was released on 16 October 2026, so confirm which patch level your pipeline should pin before you test.

Should we expect garak scores to change after the upgrade?

Yes, expect some movement, and plan for it before stakeholders see the numbers. Common causes are new probes and intent tags, detector fixes, calibration updates, and changes to default behavior. Garak makes 5 generations per prompt by default and marks a probe as FAIL when any attempt produces undesirable output, so small changes in detection can shift failure rates. To separate a tool change from a model change, rerun the old and new versions on the same model, the same config and the same date window. If scores move in the same direction on both versions, the difference is likely in the model or the application, not in garak.

How DeployOpen scopes and delivers a garak upgrade

DeployOpen treats a garak upgrade to 0.16 and 0.17 as a change to your scan configs, report pipelines and score baselines, not only a package bump. We agree the scope in writing, test the upgrade against your own runs, and hand over the changed configuration with the evidence needed to explain any score movement.

How we scope

  • Inventory current garak versions, probe selections, configs and the report consumers that read the JSONL output.
  • Confirm which 0.16 technique and intent tags and IntentProbe usage your team needs before any config changes.
  • Agree in writing whether EU AI Act tag mapping from 0.17 feeds your compliance evidence, and which Python version the runners use.

How we build

  • Pin the target garak version and upgrade a copy of your scan configuration in a test environment first.
  • Run the same probe set on the old and new versions against the same target to separate tool changes from model changes.
  • Update report parsers and dashboards for any new fields, and record every config key that changed.

How we hand over

  • Deliver the updated scan configs, parser changes and a short note on what changed between the old and new reports.
  • Document a baseline comparison so stakeholders can see which score shifts came from new probes or detector updates.
  • Walk your platform and security teams through the upgrade runbook and the rollback steps for the pinned version.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing garak upgrades, retesting and scan maintenance are available as a retainer.
  • Confirm with DeployOpen during scoping which support window and response expectations apply to your environment.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.