agentic-gate: open-source layer blocks LLM agents' bad tool calls, 150→0 in benchmark

Nice_Current_8581 · reddit · 2026-10-25

Developer released agentic-gate (TS + Python, MIT), a validation layer sitting between the model and your tools to catch hallucinated arguments like nonexistent order IDs, negative amounts, or vague dates.

How it works

Benchmark

Using a scripted model (measuring the gate, not any specific LLM) across refund, payment transfer, and DB query scenarios: 150 bad calls got through without the gate, 0 with it; model turns dropped from 150 to 12. Scripts in benchmarks/ are reproducible.

The README notes it only checks argument shape and doesn't replace permissions or review of risky actions. Install via npm i agentic-gate / pip install agentic-gate.

Original post →

More from coding & agent

coding & agent channel →