head to head · open source
AI-Infra-Guard vs pentest-ai
AI-Infra-Guard has 6,471 GitHub stars, 599 forks, 35 open issues and last shipped today. pentest-ai has 1,685 stars, 314 forks, 2 open issues and last shipped 7 days ago. AI-Infra-Guard leads on adoption by 284% (6,471 vs 1,685 stars). AI-Infra-Guard is written in Python under Apache-2.0; pentest-ai is written in Python under MIT. AI-Infra-Guard has attracted 9% as many forks as stars, pentest-ai 19%. AI-Infra-Guard was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 1 topic tag (ai-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
| AI-Infra-Guard | pentest-ai | |
|---|---|---|
| GitHub stars | ★ 6.5K | ★ 1.7K |
| License | Apache-2.0 | MIT |
| Written in | Python | Python |
| Last push | 2026-09-20 | 2026-09-13 |
| Forks | ⑂ 599 | ⑂ 314 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick AI-Infra-Guard if
- You weight community size — 6.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
pick pentest-ai if
- You want the pentest-ai feature set and don't need the biggest community
- You prefer the MIT license terms
- Your stack matches Python
- You evaluated both and pentest-ai fits your workflow better
About AI-Infra-Guard
AI Infra Guard (A.I.G) is a full stack AI red teaming platform from Tencent Zhuque Lab that scans agents, MCP servers, agent skills and AI infrastructure for security risk and evaluates large language models against jailbreak attacks, built for security engineers and AI platform teams that need to self examine their own AI deployments.
read the full AI-Infra-Guard overview →
About pentest-ai
Pentest AI is an open source Python project that connects an AI client or model to a penetration testing workflow. It belongs to the AI security and application security ecosystem, and it is distributed under the MIT license. The project is published as ptai on PyPI and can be used through MCP, the CLI, or CI.
read the full pentest-ai 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 AI-Infra-Guard or pentest-ai more popular?
AI-Infra-Guard has 6,471 GitHub stars and pentest-ai has 1,685. AI-Infra-Guard has the larger community by that measure.
Are AI-Infra-Guard and pentest-ai free?
Both are open source. AI-Infra-Guard is licensed under Apache-2.0 and pentest-ai under MIT. Neither carries a licence fee.
What is the difference between AI-Infra-Guard and pentest-ai?
AI-Infra-Guard is written in Python and pentest-ai 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, AI-Infra-Guard or pentest-ai?
Choose AI-Infra-Guard if you want the larger community (6,471 stars) or its Apache-2.0 licence terms. Choose pentest-ai if its feature set, stack or MIT licence fits better. Both are self-hostable.