Back to articles

PrismGuard Turns Agent Safety Decisions into Structured Risk Signals

3 min read

Introduction

Tool-using agents rarely act in a single step. They may browse, inspect results, and call additional tools, all while earlier user instructions remain relevant. As a conversation grows, a monitor that relies on the full transcript can lose those constraints through truncation; a generative monitor can also be slow and tie its output to one fixed interpretation of when to block. PrismGuard, the framework described in this paper, takes a different approach: separate the record of what has happened from the evaluation of what should happen next.

How the framework works

A State Tracker incrementally summarizes confirmed history into two distinct fields, neither of which contains a safety verdict:

  • Task Intent captures the user's goals and stated restrictions.
  • Execution Environment records action progress and observations tagged with their sources.

Arguments for a pending tool call remain literal rather than being folded into the summary. This preserves the action under review while keeping user intent, observed context, and a safety decision from being collapsed into one representation.

A question-conditioned Signal Guard then reads the tracked state, the pending call, and typed safety questions. In one forward pass, it scores all legal answer options in parallel, without decoding output tokens. Deterministic rules combine the resulting signals and make the blocking decision. Operators can therefore tune how strict the policy is, or append questions for a new domain, without retraining the guard.

What the reported results show

Across four offline action-safety benchmarks, the paper reports a peak F1 of 91.02%. On multi-step STAC attacks, PrismGuard improves on baselines by as much as 10.60 F1 points. Generative state compression lowers false-positive rates on every benchmark compared with fixed truncation, with a maximum reduction of 22.95 percentage points. On unseen contextual privacy risks in PrivacyLens, adding three questions to a frozen TS-Bench Guard produces 75.13% F1 at a 10.73% false-positive rate.

The broader design point is that an agent monitor need not produce one monolithic verdict directly. Separating context management, signal assessment, and policy rules may help preserve important history while giving deployers a clearer way to set risk tolerance. Adding questions without retraining also offers a practical route for adapting the checks to a new risk area.

These findings should be read within their stated scope: the reported evaluations are offline benchmarks, not evidence of performance in every production setting. In deployment, teams would still need to test whether summaries retain critical restrictions, whether their questions cover the risks they face, and how rule settings affect the balance between blocking and allowing actions. PrismGuard is best understood as a modular architecture for runtime protection, not as a claim that safety policy design can be eliminated.

Hugging Face Daily Papers

Comments

Checking sign-in status...

Loading comments...

Related articles