# garak vs Agent Guard

- garak: NVIDIA's free, open-source scanner that probes large language models for prompt injection, data leakage, jailbreaks and other weaknesses.
- Agent Guard: Open-source TypeScript libraries that control which tools an AI agent may run, on which resources, and which actions need approval.

## garak stands out for
- Free and maintained by NVIDIA.
- Large library of attack probes.

## Choose Agent Guard if…
- You prefer a European vendor

Stands out for:
- Free and open source (Apache-2.0).
- Puts every agent tool call behind explicit permissions and approvals.

## Quick facts
| | garak | Agent Guard |
|---|---|---|
| Price | Free: Free open source (Apache-2.0). | Free: Free open source (Apache-2.0). |
| Headquarters | USA / open source | Poland / EU |
| Free tier | Yes | Yes |
| Open source | Yes | Yes |
| Can be run for you | No | No |

## Coverage
| Building block | garak | Agent Guard |
|---|---|---|
| AI & LLM security | Solid | Solid |

## Pros and cons
### garak
- Pro: Free and maintained by NVIDIA.
- Pro: Large library of attack probes.
- Pro: Works with many model providers and self-hosted models.
- Con: Command-line tool for technical users.
- Con: Tests models; does not protect them in production.

### Agent Guard
- Pro: Free and open source (Apache-2.0).
- Pro: Puts every agent tool call behind explicit permissions and approvals.
- Pro: Works with MCP integrations and custom agent tools.
- Con: For developers: you integrate it into your own agent application.
- Con: Controls tool calls; pair it with model testing and runtime filtering.

Full comparison: https://securitystackcompare.com/en/compare/garak-vs-agent-guard

---
Security Stack Compare scores declared capabilities (0–3 per building block, assuming each feature works as described). Published by Shielda, which is also listed. Methodology: https://securitystackcompare.com/en/about
