AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detection

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Luo, Weidi, Dai, Shenghong, Liu, Xiaogeng, Banerjee, Suman, Sun, Huan, Chen, Muhao, Xiao, Chaowei
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866915156997439488
author Luo, Weidi
Dai, Shenghong
Liu, Xiaogeng
Banerjee, Suman
Sun, Huan
Chen, Muhao
Xiao, Chaowei
author_facet Luo, Weidi
Dai, Shenghong
Liu, Xiaogeng
Banerjee, Suman
Sun, Huan
Chen, Muhao
Xiao, Chaowei
contents The rapid advancements in Large Language Models (LLMs) have enabled their deployment as autonomous agents for handling complex tasks in dynamic environments. These LLMs demonstrate strong problem-solving capabilities and adaptability to multifaceted scenarios. However, their use as agents also introduces significant risks, including task-specific risks, which are identified by the agent administrator based on the specific task requirements and constraints, and systemic risks, which stem from vulnerabilities in their design or interactions, potentially compromising confidentiality, integrity, or availability (CIA) of information and triggering security risks. Existing defense agencies fail to adaptively and effectively mitigate these risks. In this paper, we propose AGrail, a lifelong agent guardrail to enhance LLM agent safety, which features adaptive safety check generation, effective safety check optimization, and tool compatibility and flexibility. Extensive experiments demonstrate that AGrail not only achieves strong performance against task-specific and system risks but also exhibits transferability across different LLM agents' tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2502_11448
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detection
Luo, Weidi
Dai, Shenghong
Liu, Xiaogeng
Banerjee, Suman
Sun, Huan
Chen, Muhao
Xiao, Chaowei
Artificial Intelligence
The rapid advancements in Large Language Models (LLMs) have enabled their deployment as autonomous agents for handling complex tasks in dynamic environments. These LLMs demonstrate strong problem-solving capabilities and adaptability to multifaceted scenarios. However, their use as agents also introduces significant risks, including task-specific risks, which are identified by the agent administrator based on the specific task requirements and constraints, and systemic risks, which stem from vulnerabilities in their design or interactions, potentially compromising confidentiality, integrity, or availability (CIA) of information and triggering security risks. Existing defense agencies fail to adaptively and effectively mitigate these risks. In this paper, we propose AGrail, a lifelong agent guardrail to enhance LLM agent safety, which features adaptive safety check generation, effective safety check optimization, and tool compatibility and flexibility. Extensive experiments demonstrate that AGrail not only achieves strong performance against task-specific and system risks but also exhibits transferability across different LLM agents' tasks.
title AGrail: A Lifelong Agent Guardrail with Effective and Adaptive Safety Detection
topic Artificial Intelligence
url https://arxiv.org/abs/2502.11448