head to head · open source
AI-Infra-Guard vs api-relay-audit
AI-Infra-Guard has 7,373 GitHub stars, 733 forks, 35 open issues and last shipped 2 days ago. api-relay-audit has 905 stars, 83 forks, 26 open issues and last shipped 9 days ago. AI-Infra-Guard leads on adoption by 715% (7,373 vs 905 stars). AI-Infra-Guard is written in Python under Apache-2.0; api-relay-audit is written in Python under AGPL-3.0. AI-Infra-Guard has attracted 10% as many forks as stars, api-relay-audit 9%. AI-Infra-Guard was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 2 topic tags (ai-security, 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
| AI-Infra-Guard | api-relay-audit | |
|---|---|---|
| GitHub stars | ★ 7.4K | ★ 905 |
| License | Apache-2.0 | AGPL-3.0 |
| Written in | Python | Python |
| Last push | 2026-11-03 | 2026-10-27 |
| Forks | ⑂ 733 | ⑂ 83 |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick AI-Infra-Guard if
- You weight community size — 7.4K 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 api-relay-audit if
- You want the api-relay-audit feature set and don't need the biggest community
- You prefer the AGPL-3.0 license terms
- Your stack matches Python
- You evaluated both and api-relay-audit fits your workflow better
About AI-Infra-Guard
📖 Documentation 🌐 🇨🇳 中文 · 🇯🇵 日本語 · 🇪🇸 Español · 🇩🇪 Deutsch · 🇫🇷 Français · 🇰🇷 한국어 · 🇧🇷 Português · 🇷🇺 Русский 🚀 AI Red Teaming Platform by Tencent Zhuque Lab A.I.G (AI Infra Guard) integrates capabilities such as ClawScan(OpenClaw Security Scan), Agent Scan,AI infra vulnerability scan, MCP Server & Agent Skills scan, and Jailbreak Evaluation, aiming to provide users with the most comprehensive, intelligent, and user friendly solution for AI security risk self examination. We are committed to making A.I.G(AI Infra Guard) the industry leading AI red teaming platform. More stars help this project…
read the full AI-Infra-Guard overview →
About api-relay-audit
API Relay Audit Local security audit for AI API relays and LLM proxies. DSH Plugin Your Agent Is Mine: what you can test locally Your Agent Is Mine documents malicious API relays injecting payloads and exfiltrating credentials. Anthropic's September 10, 2026 report describes fraudulent Claude resellers swapping models and harvesting credentials through their client tooling. In his September 11 disclosure, co author Chaofan Shou reports buying router data containing users' credentials. API Relay Audit is an independent, local security audit tool for AI API relays and LLM proxies, informed by the paper. The…
read the full api-relay-audit 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 api-relay-audit more popular?
AI-Infra-Guard has 7,373 GitHub stars and api-relay-audit has 905. AI-Infra-Guard has the larger community by that measure.
Are AI-Infra-Guard and api-relay-audit free?
Both are open source. AI-Infra-Guard is licensed under Apache-2.0 and api-relay-audit under AGPL-3.0. Neither carries a licence fee.
What is the difference between AI-Infra-Guard and api-relay-audit?
AI-Infra-Guard is written in Python and api-relay-audit 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 api-relay-audit?
Choose AI-Infra-Guard if you want the larger community (7,373 stars) or its Apache-2.0 licence terms. Choose api-relay-audit if its feature set, stack or AGPL-3.0 licence fits better. Both are self-hostable.