Urgent.News

What's breaking now, across thousands of outlets.

AI

OpenRouter's Armor Vets Agent Tool Calls. In Claude Code Mode It Only Flags Them

Book: System Design Pocket Guide: Fundamentals Also by me: Thinking in Go (2-book series) — Complete Guide to Go Programming + Hexagonal Architecture in Go My project: Hermes IDE | GitHub — an IDE for developers who ship with Claude Code and other AI coding tools Me: xgabriel.com | GitHub Your agent decides to delete a folder you never mentioned. Somewhere between the model and your shell,…

OpenRouter launched Armor in beta to act as a safety classifier between AI models and applications. The tool checks every tool call against user-defined rules written in plain English before execution. When a call is flagged, the model is informed of the rule it violated and the call is not executed. In Claude Code mode, Armor flags the tool_use but keeps it in the response, marking it instead of stopping it.

This allows the application to decide whether to halt the call based on the flagged verdict. The safety classifier uses a decision model called TypeSafe's Jev, which evaluates the call against the provided rules and returns a probability indicating whether it matches each rule. Jev is designed to provide more precise results than traditional regex-based filtering methods.

There are three types of rules: hard_deny, soft_deny, and allow. Hard_deny rules block the call without exceptions, soft_deny rules block the call unless an allow rule matches or the user explicitly requests the operation, and allow rules define exceptions to soft_deny rules. Each rule has an id, optional name, instructions, and optional threshold values, with default values of 0.6 for deny rules and 0.7 for allow rules.

OpenRouter offers an audit mode, allowing developers to test and tune their rules using real traffic before enforcing them. In audit mode, Armor scores every call but does not block them, enabling developers to monitor and adjust their rules as needed.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

The UK Shows How AI Could Affect Jobs

The UK is at the sharp end of transformations in the age of AI because finance, one of the industries most exposed to disruption, is also one of the UK’s biggest employers and most important exports.

AI drafted the impact list. I still own the audit answer.

The change that looked small Last month, a change request landed on my queue for a heat-treat subcontractor who had moved two of their furnace zones to a different EMS provider.

  • AI impact analysis missed shared sterilization load configurations
  • AI impact analysis missed previously changed cleaning process
  • Human review required for AI-suggested changes with audit trail

More from Monday 19 October →