Open-source decision gateway
gutcheck answers typed questions about text (pick one, rate it, yes or no) with a small classifier in milliseconds, and tells your code whether each answer is safe to act on.
$ docker run -p 8080:8080 -v gutcheck-data:/data gutcheckType your own text. This calls the real model on a live gutcheck server.
Paste any text. The real prompt-guard@2 pack, running on the fine-tuned checkpoint, says whether it is an injection or a jailbreak.
Run it to see the model's answer.
The first request after the server has been idle can take a few seconds.
Every result here is a live call to POST /v1/decide on a public gutcheck server (amtics298--gutcheck-demo-web.us-east.modal.run). Inputs are capped at 2,000 characters and rate limited. Your text is never stored; the server logs only scores, verdicts, timing and the labels you give, under a random session id.
Seconds of latency, real cost per call, and a free-text answer you have to parse and hope about.
Fast and cheap, but the probabilities are uncalibrated and nothing says when to distrust them.
Small-model speed, calibrated probabilities, a verdict per answer and a loop that improves from feedback.
Every answer comes back as act, review or escalate, so your code knows what to do with it.
Temperature scaling turns raw scores into probabilities that mean what they say.
Versioned YAML question sets with pinned datasets, published evals and a CI regression gate.
Send corrections to /v1/feedback and gutcheck recalibrates from your real traffic.
One command trains a Laya checkpoint on a pack. The free Kaggle T4 notebook is included.
Speaks the /v1/systemone protocol, so existing Laya and Jev clients only change a base URL.
Prometheus metrics, a decision log in SQLite and a built-in dashboard.
Apache 2.0, runs on your hardware. CPU is fine, a small GPU is faster.
The bundled prompt-guard pack, before and after fine-tuning, on test rows the model never saw.
higher is better
prompt-guard.injectionprompt-guard.jailbreakMeasured on held-out test splits the model never saw: deepset/prompt-injections (116 rows) and jackhhao/jailbreak-classification (400 rows). Source: the committed EVAL.md. Bars for calibration error are scaled for visibility.