ethz-spylab/agentdojo

A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.

75
/ 100
Verified

Provides modular benchmarking for prompt injection attacks across multiple task suites with configurable defenses (tool filtering, input sanitization) and attack strategies (tool knowledge, context awareness). Built as a Python package with pluggable LLM backends and a results registry for standardized evaluation and comparison of agent robustness against adversarial inputs.

471 stars and 15,222 monthly downloads. Available on PyPI.

Maintenance 13 / 25
Adoption 20 / 25
Maturity 18 / 25
Community 24 / 25

How are scores calculated?

Stars

471

Forks

118

Language

Python

License

MIT

Last pushed

Mar 12, 2026

Monthly downloads

15,222

Commits (30d)

0

Dependencies

14

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/ethz-spylab/agentdojo"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.