# Promptfoo vs Agent Guard

- Promptfoo: An open-source tool to test and red-team LLM applications for prompt injection, jailbreaks and data leaks.
- Agent Guard: Open-source TypeScript libraries that control which tools an AI agent may run, on which resources, and which actions need approval.

## Promptfoo stands out for
- Free and runs in CI.
- More than 150 attack plugins.

## 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
| | Promptfoo | Agent Guard |
|---|---|---|
| Price | Free: Free open source (MIT), up to 10k red-team probes/month; Enterprise and on-prem quoted. | 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 | Promptfoo | Agent Guard |
|---|---|---|
| App & code security | Basic | Not covered |
| AI & LLM security | Solid | Solid |

## Pros and cons
### Promptfoo
- Pro: Free and runs in CI.
- Pro: More than 150 attack plugins.
- Pro: Maps results to OWASP LLM Top 10.
- Con: Testing only; not a runtime filter.
- Con: Developer-oriented.

### 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/promptfoo-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
