atlas

Research map / Multi-agent systems and games / LLM agents

GuardAgent: Safeguard LLM Agents via Knowledge-Enabled Reasoning

ICML 2025 · Multi-agent systems and games › LLM agents · approach: Agent safety and attack benchmarks

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes GuardAgent, an LLM agent that safeguards other LLM agents by planning from safety guard requests and generating/executing guardrail code with retrieved demonstrations, plus two new benchmarks (EICU-AC, Mind2Web-SC).

Problem

Existing LLM guardrails only moderate textual harm and cannot enforce diverse, agent-specific safety or access-control requests on LLM agents' actions.

Approach

A guardrail agent does knowledge-enabled task planning from safety guard requests and memory demonstrations, then translates the plan into executable guardrail code calling a extendable toolbox of functions, so enforcement is deterministic and non-invasive to the target agent.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use GuardAgent instead of Model-Guarding-AgentGPT-4 guardrail on EHRAgent · EICU-ACLPA: 97.5 -> 98.7Helped
use GuardAgent instead of Model-Guarding-AgentGPT-4 guardrail on SeeAct · Mind2Web-SCLPA: 82.5 -> 90.0Helped
use GuardAgent instead of Hardcoded Safety RulesGPT-4 guardrail on EHRAgent · EICU-ACFRA: 3.2 -> 100Helped
remove toolbox and memory (ablation)GuardAgent with GPT-4 · EICU-ACLPA: 98.7 -> 90.8Hurt
remove toolbox and memory (ablation)GuardAgent with GPT-4 · EICU-ACER before debugging: 100 -> 90.8Hurt
retrieve least-similar instead of most-similar demonstrations (ablation)GuardAgent with GPT-4 · EICU-ACLPA: 98.7 -> 98.1Hurt
retrieve least-similar instead of most-similar demonstrations (ablation)GuardAgent with GPT-4 · Mind2Web-SCLPA: 90.0 -> 84.0Hurt
replace structured access-permission format with natural language (ablation)GuardAgent without code-generation instructions · EICU-ACcode-based guardrail generation rate: 68% -> 62%Hurt
remove instructions related to code-based guardrails (ablation)GuardAgent with GPT-4 · EICU-ACcode-based guardrail generation rate: 68.0%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: EICU Mind2Web

Benchmarks: EICU-AC Mind2Web-SC CSQA

Metrics: label prediction accuracy label prediction precision label prediction recall explanation accuracy final response accuracy

Baselines: Model-Guarding-Agent LlamaGuard Hardcoded Safety Rules

Builds on: EHRAgent SeeAct Mind2Web LlamaGuard chain-of-thought

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy