JANUS: Foreseeing Latent Risk for Long-Horizon Agent Safety

· Source: Computation and Language · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Cybersecurity & Data Privacy · Depth: Expert, quick

Summary

The Janus framework, introduced on 2026-07-22, addresses long-horizon agent safety by anticipating delayed operational risks in tool-using agents before they act. This foresight-oriented approach trains specialized "guards" using multi-agent simulation to synthesize diverse agent trajectories. Janus employs a shared policy with two coupled tasks: an anticipation task that forecasts safety-relevant futures and an adjudication task that determines safety based on both observed partial trajectories and these anticipated futures. These tasks are jointly optimized using CoAA-RL, which rewards forecasts for their utility in downstream safety judgment. The resulting guard model, named Vanguard, effectively blocks unsafe actions prior to execution. Across four agent-safety benchmarks, Vanguard demonstrated a 15.9 percentage point improvement in average protection and a 5.1 percentage point increase in benign task completion compared to baseline guards.

Key takeaway

For AI Security Engineers developing safety protocols for long-horizon, tool-using agents, you should integrate foresight mechanisms that anticipate delayed risks rather than solely reacting to immediate actions. Implementing a framework like Janus, which uses multi-agent simulation and jointly optimized anticipation and adjudication tasks, can significantly improve protection against operational failures. This approach allows your systems to proactively block unsafe actions, enhancing both safety and benign task completion.

Key insights

Agent safety can be significantly enhanced by foreseeing latent risks from partial trajectories before actions are executed.

Principles

Method

Train a shared policy with coupled anticipation and adjudication tasks, optimized via CoAA-RL, to forecast safety-relevant futures and decide safety from observed prefixes.

In practice

Topics

Best for: CTO, VP of Engineering/Data, Director of AI/ML, AI Scientist, AI Security Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Computation and Language.