Taster open-sourced: natural language rules intercept AI agent tool calls
Understand this story
Rinkesh2010rpp has open-sourced Taster, a Python library that uses natural language rules to judge whether an action oversteps bounds before an AI agent executes a tool call, and screens for prompt injection before results are returned to the model. The author says that on October 31, 2026, running 18 test cases with the Jev judge all met expectations: 9 dangerous actions were blocked and 9 normal operations were allowed; another agent screened 1,092 tool results over 26 days with a median latency of 0.24 seconds, catching two injected attack pages with no false positives. These are all test results self-reported by the author. Requirements: when depending on LangChain 1.x, Python 3.11+ is required; the Taster core and the Claude Code hook can run on 3.10+; when the judge times out, the call is allowed by default.
AI overview based on source reports · Updated 7 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIShow HN: Taster – Plain-English rules your AI agent can't forget or ignore
Taster is a Python library that sits between an AI agent and its tools, checking each tool call against plain-English rules in a constitution before it runs and screening tool results for prompt injection before the agent reads them. It ships with Constitution and Injection checks plus custom Check definitions, starts in shadow mode, and was tested on 18 live cases (9 blocked, 9 allowed) plus 1,092 tool results from a production agent over 26 days. The author notes detection is probabilistic, the judge's resistance is untested on real models, and false-positive rates on real traffic are not yet measured.
Activity for this story
- Current comparable activity
- 8
- Peak comparable activity
- 10Nov 18 03:00
- Change in the past 24 hours
- –
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.