AegisLLM: Scaling Agentic Systems for Self-Reflective Defense in LLM Security
On the map: LLM agents and tool use → Agent threats, guardrails and governance
also in 1 more
Abstract (arXiv)
We introduce AegisLLM, a cooperative multi-agent defense against adversarial attacks and information leakage. In AegisLLM, a structured workflow of autonomous agents - orchestrator, deflector, responder, and evaluator - collaborate to ensure safe and compliant LLM outputs, while self-improving over time through prompt optimization. We show that scaling agentic reasoning system at test-time - both by incorporating additional agent roles and by leveraging automated prompt optimization (such as DSPy)- substantially enhances robustness without compromising model utility. This test-time defense enables real-time adaptability to evolving attacks, without requiring model retraining. Comprehensive evaluations across key threat scenarios, including unlearning and jailbreaking, demonstrate the effectiveness of AegisLLM. On the WMDP unlearning benchmark, AegisLLM achieves near-perfect unlearning with only 20 training examples and fewer than 300 LM calls. For jailbreaking benchmarks, we achieve 51% improvement compared to the base model on StrongReject, with false refusal rates of only 7.9% on PHTest compared to 18-55% for comparable methods. Our results highlight the advantages of adaptive, agentic reasoning over static defenses, establishing AegisLLM as a strong runtime alternative to traditional approaches based on model modifications. Code is available at https://github.com/zikuicai/aegisllm
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 43 of its 73 references that are in the map. First posted on arXiv 29 Apr 2025.
Builds on
43 of 73 references.
References · 43
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2024Scaling LLM Test-Time Compute Optimally can be More Effective than Scaling Model Parameterscited by 1,928
- 2024OpenAI o1 System Cardcited by 1,220
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2023DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelinescited by 803
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 702
- 2024TOFU: A Task of Fictitious Unlearning for LLMscited by 507
31 more
- 2024Jailbreaking Leading Safety-Aligned LLMs with Simple Adaptive Attackscited by 450
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 372
- 2024Automated Design of Agentic Systemscited by 360
- 2024Can LLMs Generate Novel Research Ideas? A Large-Scale Human Study with 100+ NLP Researcherscited by 348
- 2024Improving Alignment and Robustness with Circuit Breakerscited by 302
- 2024Deliberative Alignment: Reasoning Enables Safer Language Modelscited by 292
- 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
- 2023Challenges and Applications of Large Language Modelscited by 251
- 2024TextGrad: Automatic "Differentiation" via Textcited by 250
- 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 226
- 2024ShieldGemma: Generative AI Content Moderation Based on Gemmacited by 224
- 2024AI Agents That Mattercited by 199
- 2024Foundational Challenges in Assuring Alignment and Safety of Large Language Modelscited by 193
- 2025Constitutional Classifiers: Defending against Universal Jailbreaks across Thousands of Hours of Red Teamingcited by 172
- 2024Latent Adversarial Training Improves Robustness to Persistent Harmful Behaviors in LLMscited by 158
- 2023Tree-Structured Parzen Estimator: Understanding Its Algorithm Components and Their Roles for Better Empirical Performancecited by 143
- 2024Tamper-Resistant Safeguards for Open-Weight LLMscited by 132
- 2024How Alignment and Jailbreak Work: Explain LLM Safety through Intermediate Hidden Statescited by 92
- 2024Guardrail Baselines for Unlearning in LLMscited by 90
- 2025International AI Safety Reportcited by 64
- 2025Trading Inference-Time Compute for Adversarial Robustnesscited by 60
- 2024Against The Achilles' Heel: A Survey on Red Teaming for Generative Modelscited by 55
- 2024GenARM: Reward Guided Generation with Autoregressive Reward Model for Test-time Alignmentcited by 54
- 2023Managing extreme AI risks amid rapid progresscited by 48
- 2025Model Tampering Attacks Enable More Rigorous Evaluations of LLM Capabilitiescited by 36
- 2024Automatic Pseudo-Harmful Prompt Generation for Evaluating False Refusals in Large Language Modelscited by 35
- 2024Erasing Conceptual Knowledge from Language Modelscited by 34
- 2024From Theft to Bomb-Making: The Ripple Effect of Unlearning in Defending Against Jailbreak Attackscited by 29
- 2023Concrete Problems in AI Safety, Revisitedcited by 21
- 2024Rapid Response: Mitigating LLM Jailbreaks with a Few Examplescited by 15
- 2024Machine Unlearning Doesn't Do What You Think: Lessons for Generative AI Policy and Researchcited by 14
Built on by
Citing papers per year: 2025: 4; 2026: 5.
9 papers.
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agentscited by 28
- 2025PropensityBench: Evaluating Latent Safety Risks in Large Language Models via an Agentic Approachcited by 19
- 2025Murphys Laws of AI Alignment: Why the Gap Always Winscited by 4
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspectivecited by 1
- 2025A Real-Time, Self-Tuning Moderator Framework for Adversarial Prompt Detectioncited by 0
- 2026Trustworthy AI LLM Scalability Risk Index (LSRI): A Cybersecurity Framework Assessing Agentic-AI Security & Software Model Supply Chain Safety Boosting AI-Generated Malware Defense & Explainability Mitigating Emerging Risks of Generative AIcited by 0
- 2026AIT Academy: Cultivating the Complete Agent with a Confucian Three-Domain Curriculumcited by 0
- 2026A Self-Evolving Multi-Agent Framework Defense against LLM Jailbreak Attackscited by 0
- 2026Accurate but Not Humble: Evaluating Epistemic Humility in LLM Agents under Knowledge Conflictcited by 0
- 2026Accurate but Not Humble: Evaluating Epistemic Humility in LLM Agents under Knowledge Conflict8 Oct 2026
- 2026A Self-Evolving Multi-Agent Framework Defense against LLM Jailbreak Attacks26 Aug 2026
- 2026AIT Academy: Cultivating the Complete Agent with a Confucian Three-Domain Curriculum20 Apr 2026
- 2026AI Security in the Foundation Model Era: A Comprehensive Survey from a Unified Perspective25 Mar 2026
- 2026Trustworthy AI LLM Scalability Risk Index (LSRI): A Cybersecurity Framework Assessing Agentic-AI Security & Software Model Supply Chain Safety Boosting AI-Generated Malware Defense & Explainability Mitigating Emerging Risks of Generative AI22 Feb 2026
- 2025PropensityBench: Evaluating Latent Safety Risks in Large Language Models via an Agentic Approach24 Nov 2025
- 2025Murphys Laws of AI Alignment: Why the Gap Always Wins4 Sep 2025
- 2025A Real-Time, Self-Tuning Moderator Framework for Adversarial Prompt Detection10 Aug 2025
- 2025A Survey on Autonomy-Induced Security Risks in Large Model-Based Agents30 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2026Adaptive Adversaries: A Multi-Turn, Multi-LLM Benchmark for LLM Agent Security
- 2026ZERO-APT: A Closed-Loop Adversarial Framework for LLM-Driven Automated Penetration Testing under Intelligent Defense ↗
- 2026Assessing Automated Prompt Injection Attacks in Agentic Environments
- 2024AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents
- 2026Beyond Handcrafted Security: Towards Self-Evolving Defense for LLM Agents
- 2026SafeHarbor: Defining Precise Decision Boundaries via Hierarchical Memory-Augmented Guardrail for LLM Agent Safety
- 2026SHIELD: An Auto-Healing Agentic Defense Framework for LLM Resource Exhaustion Attacks
- 2026The Autonomy Tax: Defense Training Breaks LLM Agents