mlsanityData to 7 Oct 2026

Swiss Cheese Model for AI Safety: A Taxonomy and Reference Architecture for Multi-Layered Guardrails of Foundation Model Based Agents

arXiv 2408.02205 ↗First posted 5 Aug 2024cs.SE cs.AIcited by 13

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

Foundation Model (FM)-based agents are revolutionizing application development across various domains. However, their rapidly growing capabilities and autonomy have raised significant concerns about AI safety. Researchers are exploring better ways to design guardrails to ensure that the runtime behavior of FM-based agents remains within specific boundaries. Nevertheless, designing effective runtime guardrails is challenging due to the agents' autonomous and non-deterministic behavior. The involvement of multiple pipeline stages and agent artifacts, such as goals, plans, tools, at runtime further complicates these issues. Addressing these challenges at runtime requires multi-layered guardrails that operate effectively at various levels of the agent architecture. Therefore, in this paper, based on the results of a systematic literature review, we present a comprehensive taxonomy of runtime guardrails for FM-based agents to identify the key quality attributes for guardrails and design dimensions. Inspired by the Swiss Cheese Model, we also propose a reference architecture for designing multi-layered runtime guardrails for FM-based agents, which includes three dimensions: quality attributes, pipelines, and artifacts. The proposed taxonomy and reference architecture provide concrete and robust guidance for researchers and practitioners to build AI-safety-by-design from a software architecture perspective.

Key facts. Cited by 13 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 40 of its 69 references that are in the map. First posted on arXiv 5 Aug 2024.

Builds on

40 of 69 references.

Closest ancestors · 2

Same direction, newest first

  1. 2024AgentPoison: Red-teaming LLM Agents via Poisoning Memory or Knowledge Bases17 Jul
  2. 2024GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoning13 Jun

Other references · 38

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  3. 2023A Survey on Large Language Model based Autonomous Agentscited by 2,203
  4. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  5. 2023A Survey on Evaluation of Large Language Modelscited by 1,227
  6. 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
  7. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 533
  8. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
  9. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
  10. 2023A Survey of Hallucination in Large Foundation Modelscited by 365
  11. 2023A Comprehensive Survey on Pretrained Foundation Models: A History from BERT to ChatGPTcited by 364
  12. 2023NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Railscited by 347
26 more
  1. 2023Certifying LLM Safety against Adversarial Promptingcited by 248
  2. 2024Assessing the Brittleness of Safety Alignment via Pruning and Low-Rank Modificationscited by 220
  3. 2022Talking About Large Language Modelscited by 174
  4. 2023Sociotechnical Safety Evaluation of Generative AI Systemscited by 154
  5. 2023Auditing large language models: a three-layered approachcited by 135
  6. 2023Frontier AI Regulation: Managing Emerging Risks to Public Safetycited by 95
  7. 2024Towards Guaranteed Safe AI: A Framework for Ensuring Robust and Reliable AI Systemscited by 94
  8. 2023CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classescited by 71
  9. 2017On Formalizing Fairness in Prediction with Machine Learningcited by 65
  10. 2024RigorLLM: Resilient Guardrails for Large Language Models against Undesired Contentcited by 65
  11. 2024Building Guardrails for Large Language Modelscited by 61
  12. 2024Risks of AI Scientists: Prioritizing Safeguarding Over Autonomycited by 49
  13. 2024PRP: Propagating Universal Perturbations to Attack Large Language Model Guard-Railscited by 49
  14. 2024ShieldLM: Empowering LLMs as Aligned, Customizable and Explainable Safety Detectorscited by 48
  15. 2024Current state of LLM Risks and AI Guardrailscited by 44
  16. 2024The Ethics of Interaction: Mitigating Security Threats in LLMscited by 30
  17. 2024How (un)ethical are instruction-centric responses of LLMs? Unveiling the vulnerabilities of safety guardrails to harmful queriescited by 26
  18. 2020Model Assertions for Monitoring and Improving ML Modelscited by 22
  19. 2024A Causal Explainable Guardrails for Large Language Modelscited by 18
  20. 2023Towards Responsible Generative AI: A Reference Architecture for Designing Foundation Model based Agentscited by 13
  21. 2024LLMGuard: Guarding Against Unsafe LLM Behaviorcited by 10
  22. 2024Segment Anything Model Can Not Segment Anything: Assessing AI Foundation Model's Generalizability in Permafrost Mappingcited by 9
  23. 2023Silent Guardian: Protecting Text from Malicious Exploitation by Large Language Modelscited by 8
  24. 2023A Taxonomy of Foundation Model based Systems through the Lens of Software Architecturecited by 6
  25. 2023Adding guardrails to advanced chatbotscited by 5
  26. 2023GuardRails: Automated Suggestions for Clarifying Ambiguous Purpose Statementscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 4; 2025: 3; 2026: 6.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025LlamaFirewall: An open source guardrail system for building secure AI agents
  2. 2026AgentDoG: A Diagnostic Guardrail Framework for AI Agent Safety and Security
  3. 2026DreamGuard: Efficient Runtime Guardrail for LLM Agents via Risk-Aware World Model
  4. 2026SafeAgent: A Runtime Protection Architecture for Agentic Systems
  5. 2025AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detection
  6. 2025ShieldAgent: Shielding Agents via Verifiable Safety Policy Reasoning
  7. 2024A Taxonomy of Architecture Options for Foundation Model-based Agents: Analysis and Decision Model
  8. 2025Building a Foundational Guardrail for General Agentic Systems via Synthetic Data