Home/Compare/llm-self-defense vs AutoDefense

Comparison

llm-self-defense vs AutoDefense

Verdict

Pick llm-self-defense when license: llm-self-defense is BSD-3-Clause, AutoDefense is MIT; pick AutoDefense when license: AutoDefense is MIT, llm-self-defense is BSD-3-Clause.

Markdown twin · llm-self-defense alternatives · AutoDefense alternatives

GraphCanon updated today

llm-self-defense logo

llm-self-defense

poloclub/llm-self-defense

52pushed May 21, 2024
vs
AutoDefense logo

AutoDefense

XHMY/AutoDefense

68pushed Jan 15, 2026

Trust & integrity

Signalllm-self-defenseAutoDefense
Maintenance
Dormant (781d since push)
As of today · github_public_v1
Slowing (177d since push)
As of today · github_public_v1
Provenance
Not a fork · Organization account
As of today · github_public_v1
Not a fork · Personal account
As of today · github_public_v1
Security (OSV)
157 low (157 low)
As of today · osv@v1
No lockfile
As of today · none

Tagline

llm-self-defense
LLM Self Defense: By Self Examination, LLMs know they are being tricked
AutoDefense
AutoDefense: Multi-Agent LLM Defense against Jailbreak Attacks

Stars

llm-self-defense
52
AutoDefense
68

Forks

llm-self-defense
7
AutoDefense
20

Open issues

llm-self-defense
7
AutoDefense
1

Language

llm-self-defense
Python
AutoDefense
Python

Adopt for

llm-self-defense
-
AutoDefense
-

Persona

llm-self-defense
-
AutoDefense
-

Runtime

llm-self-defense
-
AutoDefense
-

License

llm-self-defense
BSD-3-Clause
AutoDefense
MIT

Last pushed

llm-self-defense
May 21, 2024
AutoDefense
Jan 15, 2026

Categories

llm-self-defense
Developer Tools, Inference & Serving, LLM Frameworks
AutoDefense
AI Agents, Inference & Serving, LLM Frameworks

Trust and health

Maintenance

llm-self-defense
Dormant (18%)
AutoDefense
Slowing (36%)

Days since push

llm-self-defense
781d
AutoDefense
177d

Open issues (now)

llm-self-defense
7
AutoDefense
1

Owner type

llm-self-defense
Organization
AutoDefense
User

Security scan

llm-self-defense
157 low (157 low)
AutoDefense
No lockfile

Full report

llm-self-defense
Trust report
AutoDefense
Trust report

Shared compatibility

  • Python · llm-self-defense: Python runtime · AutoDefense: Python runtime

Choose llm-self-defense if…

  • License: llm-self-defense is BSD-3-Clause, AutoDefense is MIT.
  • Also covers Developer Tools.

When NOT to use llm-self-defense

  • Last GitHub push was 782 days ago (dormant maintenance, May 21, 2024). Validate activity before betting a new project on llm-self-defense.
  • Developer Tools: A gateway is overkill when you're pinned to a single provider and model.
  • Inference & Serving: Self-hosting rarely beats a hosted API on cost until you have steady, high-volume traffic.
  • LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.

Choose AutoDefense if…

  • License: AutoDefense is MIT, llm-self-defense is BSD-3-Clause.
  • Also covers AI Agents.
  • More GitHub stars (68 vs 52) - visibility, not fit.

When NOT to use AutoDefense

  • Last GitHub push was 177 days ago (slowing maintenance, Jan 15, 2026). Validate activity before betting a new project on AutoDefense.
  • AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism.
  • Inference & Serving: Self-hosting rarely beats a hosted API on cost until you have steady, high-volume traffic.
  • LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.

Explore

Sources

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

GitHub stars on cards: llm-self-defense 52 · AutoDefense 68 (synced Jul 11, 2026).

Common questions

What is the difference between llm-self-defense and AutoDefense?
llm-self-defense: LLM Self Defense: By Self Examination, LLMs know they are being tricked. AutoDefense: AutoDefense: Multi-Agent LLM Defense against Jailbreak Attacks. See the comparison table for live GitHub stats and shared categories.
When should I choose llm-self-defense over AutoDefense?
Choose llm-self-defense over AutoDefense when License: llm-self-defense is BSD-3-Clause, AutoDefense is MIT; Also covers Developer Tools.
When should I choose AutoDefense over llm-self-defense?
Choose AutoDefense over llm-self-defense when License: AutoDefense is MIT, llm-self-defense is BSD-3-Clause; Also covers AI Agents; More GitHub stars (68 vs 52) - visibility, not fit.
When should I avoid llm-self-defense?
Last GitHub push was 782 days ago (dormant maintenance, May 21, 2024). Validate activity before betting a new project on llm-self-defense. Developer Tools: A gateway is overkill when you're pinned to a single provider and model. Inference & Serving: Self-hosting rarely beats a hosted API on cost until you have steady, high-volume traffic. LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.
When should I avoid AutoDefense?
Last GitHub push was 177 days ago (slowing maintenance, Jan 15, 2026). Validate activity before betting a new project on AutoDefense. AI Agents: Don't use an agent loop when a deterministic workflow would do; agents add latency, cost, and non-determinism. Inference & Serving: Self-hosting rarely beats a hosted API on cost until you have steady, high-volume traffic. LLM Frameworks: Avoid a framework for a single prompt-and-retrieve call; the abstraction can cost more than it saves.
Is llm-self-defense or AutoDefense more popular on GitHub?
AutoDefense has more GitHub stars (68 vs 52). Stars measure visibility, not whether either tool fits your constraints.
Are llm-self-defense and AutoDefense open source?
Yes - both are open-source projects on GitHub (llm-self-defense: BSD-3-Clause, AutoDefense: MIT).
Where can I find alternatives to llm-self-defense or AutoDefense?
GraphCanon lists graph-backed alternatives at llm-self-defense alternatives and AutoDefense alternatives (llm-self-defense markdown twin, AutoDefense 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, llm-self-defense or AutoDefense?
llm-self-defense: Dormant. AutoDefense: Slowing. 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 llm-self-defense and AutoDefense?
GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: llm-self-defense trust report; AutoDefense trust report.