arXiv cs.AI→ original

NEXUS: рантайм-контроль безопасности для LLM-агентов с инструментами — F1 0.949

Вышел препринт NEXUS — монитор безопасности для LLM-агентов, которые вызывают инструменты и совершают реальные действия. На каждый шаг агента он выбирает одно из четырёх решений: разрешить, заблокировать, запросить подтверждение или потребовать доработки. На синтетическом бенчмарке из 128 сценариев NEXUS даёт F1 0,949 и обходит подход на голых правилах на 27,3 пункта по точности выбора вмешательства. Медианная задержка — 0,205 мс, меньше 0,1% к обычному циклу агента.

AI-processed from arXiv cs.AI; edited by Hamidun News
NEXUS: рантайм-контроль безопасности для LLM-агентов с инструментами — F1 0.949
Source: arXiv cs.AI. Collage: Hamidun News.
◐ Listen to article

In July 2026, arXiv published a preprint titled NEXUS (Neural EXecution Utility and Safety) — a runtime safety monitor for LLM agents that use tools. NEXUS intercepts every action an agent takes and chooses one of four responses: allow, block, request confirmation, or request revision; on a synthetic benchmark of 128 scenarios it achieves an F1 of 0.949 at a median latency of 0.205 ms.

How the monitor works

NEXUS combines three control mechanisms and issues a graduated response based on them. According to the arXiv preprint, these include deterministic safety rules, argument inspection at the level of individual parameters, and a calibrated logistic regression that computes a risk score for escalation.

It is precisely this risk score that allows the system to move beyond a binary "allowed/not allowed" decision toward a four-tier intervention policy. Instead of simply blocking a suspicious call, the monitor can ask the agent for confirmation or send the action back for rephrasing.

  • Four policy actions: allow, block, request confirmation, request revision
  • Three mechanisms: deterministic rules + argument inspection + logistic regression risk score
  • F1 = 0.949 on a synthetic benchmark of 128 scenarios
  • Accuracy of the 4-class intervention choice — 0.6406
  • Median latency 0.205 ms, less than 0.1% overhead

How much more accurate is this than rules alone

NEXUS beats a rules-only approach by 27.3 percentage points in intervention-choice accuracy on the synthetic benchmark. There, its 4-class accuracy comes to 0.6406, versus a noticeably lower result for rule-only.

The model was also tested on external datasets. On R-Judge, NEXUS delivers an F1 of 0.861 versus 0.849 for rule-only; on AgentHarm it performs on par with rules (the authors attribute this to limitations of the threat model); and on a test of indirect prompt injections (IPI) it achieves 0% successful attacks while allowing 99% of legitimate actions.

What the stress test showed

On the "rule-blind" NEXUS-Stress benchmark, the monitor scores an F1 of 0.881 — and the authors themselves emphasize that fine-grained intervention routing remains the hardest task. This scenario is deliberately stripped of reliance on predefined rules, in order to test the generalization ability of the risk score.

Separately, the authors emphasize the cost of the control layer. According to the preprint, median latency is 0.205 ms, and overhead is less than 0.1% of a typical agent cycle.

"NEXUS adds under 0.1% overhead to typical agent loops" — from the

abstract of the arXiv preprint.

The code, benchmarks, and calibrated risk scorer have been released publicly, making it possible to reproduce the results and embed the monitor into one's own agentic systems.

What this means

As AI agents move from text responses to real-world actions — API calls, purchases, file operations — the cost of an error grows. NEXUS shows that runtime control can be made both accurate and nearly free in terms of latency, and the open publication of the code and benchmarks gives the industry a common reference point for comparing such monitors.

Frequently Asked Questions

What is NEXUS?

NEXUS (Neural EXecution Utility and Safety) is a safety monitor for LLM agents that use tools. It applies a formal intervention policy and, for every action the agent takes, chooses one of four decisions: allow, block, request confirmation, or request revision.

How much does NEXUS slow down an agent?

According to the preprint, median latency is 0.205 ms, and overhead is less than 0.1% of a typical agent work cycle. In other words, the control layer has virtually no effect on speed.

Can NEXUS be used in one's own projects?

Yes. The authors have released the code, benchmarks, and calibrated risk scorer publicly, so the results can be reproduced and the monitor can be embedded into one's own agentic pipelines.

ZK
Hamidun News
AI news without noise. Daily editorial selection from 50+ sources. A product by Zhemal Khamidun, Head of AI at Alpina Digital.

Need AI working inside your business — not just in your newsfeed?

I build production AI for companies — custom CRM, internal tools, autonomous agents, workflow automation. Owned by you, shaped to your process, no per-seat tax. Built by Zhemal Khamidun, CPO of AlpinaGPT (AI platform, 6,000+ users).

What do you think?
Loading comments…