Home/Compare/agentdojo vs baseline-defenses

Comparison

agentdojo vs baseline-defenses

Verdict

Pick agentdojo if agentDojo serves as a benchmarking environment to evaluate security attacks, like prompt injection, and defenses for Large Language Model (LLM) agents; pick baseline-defenses if a toolkit for evaluating defenses against adversarial attacks on aligned language models, focusing on perplexity filter and paraphrase defense strategies.

Markdown twin · agentdojo alternatives · baseline-defenses alternatives

GraphCanon updated 2w

agentdojo logo

agentdojo

ethz-spylab/agentdojo

716pushed Jun 2, 2026
vs
baseline-defenses logo

baseline-defenses

neelsjain/baseline-defenses

34pushed Oct 26, 2023

Trust & integrity

Signalagentdojobaseline-defenses
Maintenance
Steady (63d since push)
As of 2w · github_public_v1
Dormant (1013d since push)
As of 2w · github_public_v1
Provenance
Not a fork · Organization account
As of 2w · github_public_v1
Not a fork · Personal account
As of 2w · github_public_v1
OSV dependency advisories
No lockfile (source not queried)
As of 1mo · osv@v1
No lockfile (source not queried)
As of 1mo · osv@v1
deps.dev advisories
Not queried
deps.dev@v1
Not queried
deps.dev@v1
OpenSSF Scorecard
Not queried
openssf-scorecard@v1
Not queried
openssf-scorecard@v1

Tagline

agentdojo
A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents
baseline-defenses
Research code for evaluating defenses against adversarial attacks on aligned language models

Stars

agentdojo
716
baseline-defenses
34

Forks

agentdojo
188
baseline-defenses
1

Open issues

agentdojo
41
baseline-defenses
0

Language

agentdojo
Python
baseline-defenses
Python

Adopt for

agentdojo
AgentDojo serves as a benchmarking environment to evaluate security attacks, like prompt injection, and defenses for Large Language Model (LLM) agents.
baseline-defenses
A toolkit for evaluating defenses against adversarial attacks on aligned language models, focusing on perplexity filter and paraphrase defense strategies.

Persona

agentdojo
-
baseline-defenses
-

Runtime

agentdojo
-
baseline-defenses
-

License

agentdojo
MIT
baseline-defenses
-

Last pushed

agentdojo
Jun 2, 2026
baseline-defenses
Oct 26, 2023

Categories

agentdojo
AI Agents, Evaluation & Observability
baseline-defenses
Evaluation & Observability

Trust and health

Maintenance

agentdojo
Steady (60%)
baseline-defenses
Dormant (18%)

Days since push

agentdojo
63d
baseline-defenses
1013d

Open issues (now)

agentdojo
41
baseline-defenses
0

Owner type

agentdojo
Organization
baseline-defenses
User

Full report

agentdojo
Trust report
baseline-defenses
Trust report

Choose agentdojo if…

  • Pricing: Open-source under the MIT License. Some advanced features might require additional libraries or APIs..
  • Requirements: Min 8 GB RAM.
  • Tags unique to agentdojo: benchmark, large language models, prompt-injection, security.
  • Also covers AI Agents.
  • AgentDojo serves as a benchmarking environment to evaluate security attacks, like prompt injection, and defenses for Large Language Model (LLM) agents.

When NOT to use agentdojo

  • AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism.
  • Evaluation & Observability: Defer heavyweight eval infra only until you have real traffic - never skip it once users depend on answers.

Choose baseline-defenses if…

  • Tags unique to baseline-defenses: adversarial-attacks, defense strategies, paraphrase defense, perplexity filter.
  • - When you need to evaluate the effectiveness of baseline defenses such as the perplexity filter or paraphrase defense in protecting aligned language models from adversarial attacks.
  • Leaner open-issue backlog (0).

When NOT to use baseline-defenses

  • - Do not use if you require comprehensive coverage of all possible defensive measures. This tool specifically lacks detailed code for retokenization defenses involving BPE-dropout.
  • - If your scenario demands more advanced or specialized defense mechanisms beyond the scope of baseline strategies, this repository will fall short on delivering those.

Explore

Sources

Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.

GitHub stars on cards: agentdojo 716 · baseline-defenses 34 (synced Aug 5, 2026).

Common questions

What is the difference between agentdojo and baseline-defenses?
agentdojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents. baseline-defenses: Research code for evaluating defenses against adversarial attacks on aligned language models. See the comparison table for live GitHub stats and shared categories.
When should I choose agentdojo over baseline-defenses?
Choose agentdojo over baseline-defenses when Pricing: Open-source under the MIT License. Some advanced features might require additional libraries or APIs.; Requirements: Min 8 GB RAM; Tags unique to agentdojo: benchmark, large language models, prompt-injection, security; Also covers AI Agents; AgentDojo serves as a benchmarking environment to evaluate security attacks, like prompt injection, and defenses for Large Language Model (LLM) agents.
When should I choose baseline-defenses over agentdojo?
Choose baseline-defenses over agentdojo when Tags unique to baseline-defenses: adversarial-attacks, defense strategies, paraphrase defense, perplexity filter; - When you need to evaluate the effectiveness of baseline defenses such as the perplexity filter or paraphrase defense in protecting aligned language models from adversarial attacks; Leaner open-issue backlog (0).
When should I avoid agentdojo?
AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism. Evaluation & Observability: Defer heavyweight eval infra only until you have real traffic - never skip it once users depend on answers.
When should I avoid baseline-defenses?
- Do not use if you require comprehensive coverage of all possible defensive measures. This tool specifically lacks detailed code for retokenization defenses involving BPE-dropout. - If your scenario demands more advanced or specialized defense mechanisms beyond the scope of baseline strategies, this repository will fall short on delivering those.
Is agentdojo or baseline-defenses more popular on GitHub?
agentdojo has more GitHub stars (716 vs 34). Stars measure visibility, not whether either tool fits your constraints.
Are agentdojo and baseline-defenses open source?
Yes - both are open-source projects on GitHub.
Where can I find alternatives to agentdojo or baseline-defenses?
GraphCanon lists graph-backed alternatives at agentdojo alternatives and baseline-defenses alternatives (agentdojo markdown twin, baseline-defenses markdown twin), ranked by typed relationship edges rather than popularity votes.
Is there a machine-readable version of this comparison?
Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
Which is better maintained, agentdojo or baseline-defenses?
agentdojo: Steady. baseline-defenses: Dormant. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
Where are the full trust reports for agentdojo and baseline-defenses?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: agentdojo trust report; baseline-defenses trust report.

Was this helpful?

Anonymous feedback helps us improve pages and translations.