LibreAI / AI Agents / garak
// agents · NVIDIA/garak

garak

Scan your LLM for vulnerabilities before attackers do.

★ 9.5k stars⑂ 1.3k forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

garak is an open-source ai agents project by NVIDIA (NVIDIA/garak on GitHub). It has 9,497 GitHub stars and 1,349 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 7 October 2026.

Repository
NVIDIA/garak
GitHub stars
9,497
Forks
1,349
License
Apache-2.0
Last updated on GitHub
7 October 2026
Category
AI Agents
Listing
Full install guide
// how it works

How it works

  1. Define what you want

    Write down the job you will use the project for before touching any code.

  2. Clone the repository

    Download the source and read the README's setup section first.

  3. Install dependencies

    Run the install steps and add any required API keys or config.

  4. Run the quickstart

    Follow the example in the docs to confirm everything works.

// features

Why people love it

LLM vulnerability scanning

Probes models for known weakness classes.

NVIDIA-backed

Maintained under NVIDIA's organization.

Security focus

Built for pre-deployment adversarial testing.

Python tooling

Scriptable and extensible in Python.

Apache-2.0

Permissive licensing.

Active community

Discord plus 1,300+ forks.

Advertisement
// run it

Run it yourself

  1. Step 1 — Install

    Install garak from PyPI.

    pip install -U garak
  2. Step 2 — Pick a target

    Choose the model or endpoint you want to probe.

    # local model or API endpoint — see docs
  3. Step 3 — Run a scan

    Launch a probe run per the documentation.

    garak --help
    # see docs for scan commands
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains garak?

It is maintained under NVIDIA at NVIDIA/garak, with 1,349 forks.

Is garak free to use?

Yes. It is released under the Apache-2.0 license, which permits commercial use, modification, and redistribution. Read the LICENSE file for the exact terms.

Do I need a paid API to use it?

Scanning itself is local; you need access to the target model, via API or a local deployment.

How does it compare to other red-teaming tools?

Compare on probe coverage and reporting for the model types you ship.

How do I get started?

Install the package and follow the docs to run your first scan against a test model.

// keep exploring

Similar tools

AI Agents

modelscan

Scan AI models for serialization attacks before you load them.

★ 781 starsApache-2.0
View guide →
AI Agents

vigil-llm

Detect prompt injections and jailbreaks before they hit your LLM.

★ 504 starsApache-2.0
View guide →
AI Agents

career-ops

Open-source AI job search agent and job finder: scan job boards, score each job 1-5 against your CV before you apply, tailor an ATS-friendly resume and cover…

★ 73.4k starsMIT
View guide →
AI Agents

macos-harness

A minimal harness that lets an LLM fully control a Mac.

★ 902 starsMIT
View guide →
AI Agents

deepeval

Unit tests for LLMs — evaluate before you ship.

★ 18.7k starsApache-2.0
View guide →
AI Agents

browser-harness

A self-healing harness that connects an LLM directly to your real browser

★ 18.4k starsMIT
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if garak is not the right fit.

Get garak

Free and open — grab the source, star the repo, and start creating.