head to head · open source

AI-Infra-Guard vs api-relay-audit

AI-Infra-Guard has 6,471 GitHub stars, 599 forks, 35 open issues and last shipped today. api-relay-audit has 839 stars, 81 forks, 26 open issues and last shipped 4 days ago. AI-Infra-Guard leads on adoption by 671% (6,471 vs 839 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 9% as many forks as stars, api-relay-audit 10%. 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.

AI-Infra-Guard ★ 6.5K api-relay-audit ★ 839 category AI & Machine Learning

← all 20902 open source comparisons

Side by side

AI-Infra-Guard api-relay-audit
GitHub stars ★ 6.5K ★ 839
License Apache-2.0 AGPL-3.0
Written in Python Python
Last push 2026-09-20 2026-09-16
Forks ⑂ 599 ⑂ 81
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

full AI-Infra-Guard profile →

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

full api-relay-audit profile →

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 api-relay-audit

API Relay Audit is an independent, local security audit tool for AI API relays, mirrors, gateways, and LLM proxies. It is written in Python, released under the AGPL 3.0 license, and lives in the AI security and privacy ecosystem alongside the OpenAI compatible and Anthropic compatible proxy tooling it is designed to examine. The project is informed by the paper Your Agent Is Mine , Anthropic's September 10, 2026 threat intelligence report on fraudulent Claude resellers, and a September 11 disclosure by co author Chaofan Shou regarding router data containing user credentials. It ships both as a standalone script a…

read the full api-relay-audit overview →

More in AI & Machine Learning

OpenClaw ★ 390K Hermes Agent ★ 247K Ollama ★ 181K Dify ★ 157K Open WebUI ★ 153K langchain ★ 147K

Related comparisons

strix vs ai-infra-guard strix vs shannon strix vs skillspector strix vs ifixai strix vs codex-security strix vs garak strix vs giskard-oss strix vs agentic-bug-hunter openclaw vs hermes-agent openclaw vs opencode openclaw vs n8n openclaw vs open-webui openclaw vs comfyui openclaw vs odysseus openclaw vs lobechat openclaw vs anythingllm openclaw vs ollama ollama vs llama-cpp ollama vs vllm ollama vs odysseus ollama vs gpt4all ollama vs llama-index ollama vs localai open-webui vs gpt4all

More AI Security & Privacy projects

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

AI-Infra-Guard vs strix AI-Infra-Guard vs shannon AI-Infra-Guard vs SkillSpector AI-Infra-Guard vs iFixAi AI-Infra-Guard vs codex-security AI-Infra-Guard vs garak AI-Infra-Guard vs giskard-oss AI-Infra-Guard vs Agentic-Bug-Hunter AI-Infra-Guard vs nono AI-Infra-Guard vs CyberStrike AI-Infra-Guard vs AiSOC AI-Infra-Guard vs pentest-ai-agents

Frequently asked questions

Is AI-Infra-Guard or api-relay-audit more popular?

AI-Infra-Guard has 6,471 GitHub stars and api-relay-audit has 839. 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 (6,471 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.