head to head · open source
garak vs safelabs-eval
garak has 10,265 GitHub stars, 1,551 forks, 429 open issues and last shipped 2 days ago. safelabs-eval has 709 stars, 79 forks, 0 open issues and last shipped 26 days ago. garak leads on adoption by 1,348% (10,265 vs 709 stars). garak is written in Python under Apache-2.0; safelabs-eval is written in Python under Apache-2.0. garak has attracted 15% as many forks as stars, safelabs-eval 11%. 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.
← all 20902 open source comparisons
Side by side
| garak | safelabs-eval | |
|---|---|---|
| GitHub stars | ★ 10K | ★ 709 |
| License | Apache-2.0 | Apache-2.0 |
| Written in | Python | Python |
| Last push | 2026-11-30 | 2026-11-06 |
| Forks | ⑂ 1.6K | ⑂ 79 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick garak if
- You weight community size — 10K 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
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
About garak
garak, LLM vulnerability scanner Generative AI Red teaming & Assessment Kit garak checks if an LLM can be made to fail in a way we don't want. garak probes for hallucination, data leakage, prompt injection, misinformation, toxicity generation, jailbreaks, and many other weaknesses. If you know nmap or msf / Metasploit Framework, garak does somewhat similar things to them, but for LLMs. garak focuses on ways of making an LLM or dialog system fail. It combines static, dynamic, and adaptive probes to explore this. garak 's a free tool. We love developing it and are always interested in adding functionality to…
read the full garak overview →
About safelabs-eval
safelabs eval Open source red teaming and evaluation framework for AI agents — built around an OWASP inspired agent security taxonomy. AI agents built on LangChain, CrewAI, AutoGen, LlamaIndex, the OpenAI Agents SDK, Google ADK, Semantic Kernel, and custom frameworks can reach production without systematic adversarial safety testing. safelabs eval changes that. Point it at a supported HTTP agent endpoint — or wrap a Python callable — and it fires 300 curated adversarial prompts (30 per category) across all 10 ASI categories, scores every response with pattern based detectors, and produces a structured security…
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 10,265 GitHub stars and safelabs-eval has 709. 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 (10,265 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.