head to head · open source

garak vs safelabs-eval

garak has 9,530 GitHub stars, 1,360 forks, 429 open issues and last shipped 2 days ago. safelabs-eval has 570 stars, 27 forks, 0 open issues and last shipped 3 days ago. garak leads on adoption by 1,572% (9,530 vs 570 stars). garak is written in Python under Apache-2.0; safelabs-eval is written in Python under Apache-2.0. garak has attracted 14% as many forks as stars, safelabs-eval 5%. garak was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (llm-security), so they are genuine substitutes rather than adjacent tools.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

garak ★ 9.5K safelabs-eval ★ 570 category AI & Machine Learning

← all 20902 open source comparisons

Side by side

garak safelabs-eval
GitHub stars ★ 9.5K ★ 570
License Apache-2.0 Apache-2.0
Written in Python Python
Last push 2026-10-10 2026-10-09
Forks ⑂ 1.4K ⑂ 27
Self-hosting Yes Yes
Data ownership Your server Your server

pick garak if

  • You weight community size — 9.5K stars and counting
  • You want the Apache-2.0 license terms
  • Your stack matches Python
  • You value the larger contributor base for long-term maintenance

full garak profile →

pick safelabs-eval if

  • You want the safelabs-eval feature set and don't need the biggest community
  • You prefer the Apache-2.0 license terms
  • Your stack matches Python
  • You evaluated both and safelabs-eval fits your workflow better

full safelabs-eval profile →

About garak

garak is a free, Apache 2.0 command line vulnerability scanner for large language models that probes generative AI systems for hallucination, data leakage, prompt injection, misinformation, toxicity generation, and jailbreaks, and it is aimed at security engineers, red teamers, and AI developers who need to test the models they ship.

read the full garak overview →

About safelabs-eval

safelabs eval is an open source red teaming and evaluation framework for AI agent builders who need to test whether their agents resist adversarial prompts before production.

read the full safelabs-eval overview →

More in AI & Machine Learning

Related comparisons

More AI Security & Privacy projects

Compare either of these against the rest of the AI Security & Privacy field.

Frequently asked questions

Is garak or safelabs-eval more popular?

garak has 9,530 GitHub stars and safelabs-eval has 570. garak has the larger community by that measure.

Are garak and safelabs-eval free?

Both are open source. garak is licensed under Apache-2.0 and safelabs-eval under Apache-2.0. Neither carries a licence fee.

What is the difference between garak and safelabs-eval?

garak is written in Python and safelabs-eval in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, garak or safelabs-eval?

Choose garak if you want the larger community (9,530 stars) or its Apache-2.0 licence terms. Choose safelabs-eval if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.