Repository navigation
Releases
Releases · rinkesh2010rpp/taster-ai
v0.4.0: any decision model, cloud or local
Taster 0.4.0: any decision model, cloud or local
New
DecisionDetector: judge with any decision model that speaks the Decisions / System One API. That covers Jev (still the default), the other decision models on OpenRouter (Liquid d1, Perplexity Decider, Microsoft Decision, Gemini Decision and more; list them withGET https://openrouter.ai/api/v1/models?output_modalities=decisions), or a self-hosted server such as Kev, so nothing leaves your machine.DecisionDetector() # Jev DecisionDetector(model="liquid/d1.2") # another decision model DecisionDetector(model="kev-latest", url="http://127.0.0.1:8009/v1/systemone", max_chars=24_000) # local
- Config files:
judge: decisionwithmodel,url,breaks_atandquestion(judge: jevstill works). The Claude Code hook can use a local, keyless decision model. question="noul"for yes/no-only models, andbreaks_atto set your own cut-off on the probability of "breaks".
Safer
- Your OpenRouter key is only ever sent to OpenRouter. A self-hosted server gets a key only when you pass one with
api_key=. - A model's refusal to answer is an error verdict, never a pass.
Breaking
JevDetectoris renamedDecisionDetector, with the same options. To upgrade, replaceJevDetector(withDecisionDetector(.- Logs name the model (
typesafe/jev-1.13) instead ofjev. Update anything that filters logs by detector name.
Docs
The guide covers keeping everything on your own machine and using a self-hosted server with a key. The reference lists every decision-model option.
Full changes: v0.3.0...v0.4.0
v0.3.0: first release on PyPI
First release on PyPI:
pip install taster-ai
Taster checks every tool call your AI agent makes against your rules, written in plain English, before it runs, and screens what comes back for prompt injection before the agent reads it.
What's in it
- Constitution: your rules, one plain sentence each, checked against every tool call before it runs. A call that breaks a rule doesn't run.
- Injection: every tool result screened for prompt injection before the model sees it. Unsure results are wrapped as untrusted; attacks are withheld.
- Your own checks: any boundary you can say in a sentence, with its own scope and standard.
- Shadow mode first: it logs what it would block and changes nothing until you switch it on.
- Never breaks your agent: if the judge is down or slow, the work goes on.
- Fits your stack: one middleware for LangChain or deepagents; Jev, your own LLM or your own judge.
- Claude Code (experimental): check Claude Code's own tool calls through a hook, with no API key. Run
taster init claude-code, thentaster report. - Agent skills that let a coding agent set Taster up for you.
Tested
18 of 18 live cases came out as expected (9 blocked, 9 let through), and it screened 1,092 tool results in production over 26 days (median 0.24 s per check). Details in the README.
Still alpha
Read the Limits before you enforce anything.