AgentDoG: A Diagnostic Guardrail Framework for AI Agent Safety and Security
Authors: name: Dongrui Liu, name: Qihan Ren, name: Chen Qian, name: Shuai Shao, name: Yuejin Xie, name: Yu Li, name: Zhonghao Yang, name: Haoyu Luo, name: Peng Wang, name: Qingyu Liu, name: Binxin Hu, name: Ling Tang, name: Jilin Mei, name: Dadi Guo, name: Leitao Yuan, name: Junyao Yang, name: Guanxu Chen, name: Qihao Lin, name: Yi Yu, name: Bo Zhang, name: Jiaxuan Guo, name: Jie Zhang, name: Wenqi Shao, name: Huiqi Deng, name: Zhiheng Xi, name: Wenjie Wang, name: Wenxuan Wang, name: Wen Shen, name: Zhikai Chen, name: Haoyu Xie, name: Jialing Tao, name: Juntao Dai, name: Jiaming Ji, name: Zhongjie Ba, name: Linfeng Zhang, name: Yong Liu, name: Quanshi Zhang, name: Lei Zhu, name: Zhihua Wei, name: Hui Xue, name: Chaochao Lu, name: Jing Shao, name: Xia Hu
Organization: AI45Research

The rise of AI agents introduces complex safety and security challenges arising from autonomous tool use and environmental interactions. Current guardrail models lack agentic risk awareness and transparency in risk diagnosis. To introduce an agentic guardrail that covers complex and numerous risky behaviors, we first propose a unified three-dimensional taxonomy that orthogonally categorizes agentic risks by their source (where), failure mode (how), and consequence (what). Guided by this structured and hierarchical taxonomy, we introduce a new fine-grained agentic safety benchmark (ATBench) and a Diagnostic Guardrail framework for agent safety and security (AgentDoG). AgentDoG provides fine-grained and contextual monitoring across agent trajectories. More Crucially, AgentDoG can diagnose the root causes of unsafe actions and seemingly safe but unreasonable actions, offering provenance and transparency beyond binary labels to facilitate effective agent alignment. AgentDoG variants are available in three sizes (4B, 7B, and 8B parameters) across Qwen and Llama model families. Extensive experimental results demonstrate that AgentDoG achieves state-of-the-art performance in agentic safety moderation in diverse and complex interactive scenarios. All models and datasets are openly released.