head to head · open source
garak vs pentest-ai-agents
garak has 9,308 GitHub stars, 1,294 forks, 429 open issues and last shipped 4 days ago. pentest-ai-agents has 2,248 stars, 429 forks, 1 open issues and last shipped 1 months ago. garak leads on adoption by 314% (9,308 vs 2,248 stars). garak is written in Python under Apache-2.0; pentest-ai-agents is written in Shell under MIT. garak has attracted 14% as many forks as stars, pentest-ai-agents 19%. garak was the more recently maintained of the two, and both are self-hostable with no licence fee.
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 | pentest-ai-agents | |
|---|---|---|
| GitHub stars | ★ 9.3K | ★ 2.2K |
| License | Apache-2.0 | MIT |
| Written in | Python | Shell |
| Last push | 2026-09-16 | 2026-08-16 |
| Forks | ⑂ 1.3K | ⑂ 429 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick garak if
- You weight community size — 9.3K 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 pentest-ai-agents if
- You want the pentest-ai-agents feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Shell
- You evaluated both and pentest-ai-agents fits your workflow better
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 pentest-ai-agents
pentest ai agents: 50 Claude Code subagents for authorized offensive security research. Lives in Claude Code ecosystem. Agents carry domain knowledge for recon, web, Active Directory, cloud, mobile, wireless, social engineering, payload crafting, reverse engineering, exploit chaining, detection engineering, forensics.
read the full pentest-ai-agents 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 pentest-ai-agents more popular?
garak has 9,308 GitHub stars and pentest-ai-agents has 2,248. garak has the larger community by that measure.
Are garak and pentest-ai-agents free?
Both are open source. garak is licensed under Apache-2.0 and pentest-ai-agents under MIT. Neither carries a licence fee.
What is the difference between garak and pentest-ai-agents?
garak is written in Python and pentest-ai-agents in Shell. 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 pentest-ai-agents?
Choose garak if you want the larger community (9,308 stars) or its Apache-2.0 licence terms. Choose pentest-ai-agents if its feature set, stack or MIT licence fits better. Both are self-hostable.