Abstract
AprielGuard is a novel 8B parameter safeguard model developed by ServiceNow’s SLAM Lab. It addresses the growing need for robust safety in Agentic AI systems by unifying safety risk detection and adversarial attack mitigation into a single framework. By incorporating structured reasoning traces, AprielGuard achieves state-of-the-art performance across diverse benchmarks, particularly in complex, multi-step agentic workflows where traditional guardrails often fail.
Introduction
As AI transitions from static chatbots to autonomous agents capable of tool use and multi-step planning, the security landscape becomes increasingly complex. Traditional moderation systems often treat safety risks (e.g., toxicity, hate speech) and adversarial threats (e.g., prompt injections, jailbreaks) as disjoint problems. This fragmentation leads to increased latency and a failure to detect sophisticated "needle-in-a-haystack" attacks within long contexts or complex agentic trajectories. AprielGuard aims to bridge this gap with a unified, reasoning-aware framework designed for the modern AI ecosystem.
Methodology
The development of AprielGuard involved several key innovations aimed at improving detection accuracy and interpretability.
Unified Taxonomy and Training
The researchers integrated 16 safety risk categories (based on the SALAD-Bench framework) with a comprehensive adversarial attack taxonomy. This unified approach allows the model to handle multiple threat vectors in a single pass. AprielGuard is a fine-tuned 8B variant of the Apriel-1.5-15B-Thinker model, trained on a massive synthetic dataset of over 300,000 samples. This dataset covers standalone prompts, multi-turn conversations, and complex agentic workflows involving tool calls.
Structured Reasoning Traces
A core feature of AprielGuard is its use of structured reasoning. Instead of providing a simple binary verdict, the model generates "thinking" steps within <reasoning> tags. This Chain-of-Thought process helps the model better categorize complex or ambiguous prompts and provides human-readable justifications for its decisions.
Evaluation and Results
AprielGuard was evaluated against a wide range of public safety and adversarial benchmarks, as well as a new internal benchmark specifically designed for Agentic AI workflows.
Performance Comparison
The model consistently achieved the best trade-off between precision and recall, with F1-scores ranging from 0.80 to 0.93. Notably, in agentic scenarios, AprielGuard achieved an F1 of 0.87 on safety risks and 0.96 on adversarial attacks. As shown in the capability comparison below, AprielGuard is the only model among its peers to support both agentic jailbreak detection and detailed explanations.
Key Insights
- Agentic Advantage: By modeling agentic trajectories, the guardrail can identify malicious intent that might appear benign in isolated turns.
- Efficiency: Unifying safety and adversarial detection reduces deployment complexity and latency.
- Robustness: The model maintains high performance even at context lengths up to 32,000 tokens, making it ideal for RAG systems.
Conclusion
AprielGuard represents a significant advancement in LLM safety. By leveraging structured reasoning and a unified threat taxonomy, it provides a robust defense for the next generation of autonomous AI agents. Future research will focus on extending these capabilities to multimodal inputs and staying ahead of evolving adaptive adversarial strategies.
Summary updated