Dev.to AI 🤖 Ai 👁 0 📖 4 min read

Why We Built a Manipulation Checker That Never Sees Your Message

Rules instead of a model for the free check, a fixed severity ladder for scores, and what the tool deliberately won't tell you. The messages people want checked are some of the most private things they own: texts from a

Rules instead of a model for the free check, a fixed severity ladder for scores, and what the tool deliberately won't tell you.

The messages people want checked are some of the most private things they own: texts from a partner, an ex, a parent, a co-parent. Someone pastes a line like "That never happened. You're remembering it wrong," and wants to know one thing: is this a pattern, or am I overreacting?

When we built GreyRock AI, we started from that privacy problem rather than from a model. This post explains the design choices and their trade-offs.

The constraint: the free check runs in the browser

Most text-analysis tools send your message to a server and run it through a large language model. That works, but it means a stranger's server now holds a message someone was nervous to show their closest friend.

We wanted the free check to work without the message ever leaving the device. That ruled out calling a hosted model, and it made a large model in the browser impractical for a fast, free check on a phone.

So the free check uses defined pattern rules that run in the browser:

Each pattern has a written definition and example phrasings.
A message is matched against those definitions, from exact and close matches down to weighted keyword matches.
The result names the closest pattern, explains what that pattern usually does in a conversation, and suggests a neutral question the person could ask.
Screenshots are read on the device with a self-hosted OCR library, so images aren't uploaded either.

What we record is a count, not content: which pattern family matched, how the match was made, roughly how long the message was. Never the text.

The trade-off

Rules are less flexible than a model. They miss sarcasm, inside jokes, and unusual phrasings. In our own data, a large share of free checks still end with "no specific pattern matched", and we treat that as the honest answer rather than forcing a label onto every message.

What rules give in return:

Consistency. The same message gets the same result every time. General chatbots tend to follow how a question is framed ("is my partner gaslighting me?" leans toward yes), and their answers vary between runs.
Explainability. Every result can show which pattern it matched and why.
Privacy by construction, not by policy.

Scores come from a ladder, not an impression

For signed-in analyses and long conversation histories, processing does happen on our servers, using a language model together with the same pattern rules. Even there, the score isn't the model's opinion.

Each pattern sits on a fixed severity level, from everyday dismissiveness up to explicit threats:

Level Range Examples
1 9.0–10 Explicit threats, coercion
2 7.0–8.9 Denying what was said, questioning your memory
3 5.5–6.9. Reversing blame, withdrawal pressure
4 4.0–5.4 Guilt over past favors, global criticism
5 2.5–3.9 Reframing your reaction, non-apologies, comparisons

A score is set by the most serious pattern that appears often enough to count. In long conversations that means at least 10 matches and at least 2 per 1,000 messages, so one bad day doesn't define a relationship. The score is then adjusted for frequency and for whether the pattern is rising over time. Every result shows a line, "How this score was set", with the reason.

Pattern counts in long histories come from the deterministic rules too, so the timeline a person sees isn't something a model invented.

Naming the move, not the person

The tool never says "your partner is a narcissist". It says which move appears in the words: denying what happened, turning your reaction into the problem, using past favors as leverage. That's a deliberate product rule:

A move can be named and discussed ("that turned the conversation to my tone"). A label about the person usually starts a new fight.
Text can't establish intent or diagnose anyone.
It applies whoever wrote the message, so people can check their own texts too.

Practice, not just detection

Naming a pattern is often where the replaying stops, but the next question is "what do I say back?" So each result leads to a short practice conversation: three turns against a simulated person who stays within that one pattern and never escalates into threats or abuse. It's rehearsal, not a prediction of what the real person will say.

What it can't tell you

It can't know anyone's intentions.
One message isn't proof. Patterns that repeat matter more.
It can miss sarcasm, context and anything outside the text.
It isn't therapy, a diagnosis or legal advice, and it can be wrong.

If a conversation includes threats or you feel unsafe, your safety comes before any reply. Contact local emergency services or a domestic violence support line.

Try it or read more

Free check (runs on your device): GreyRock AI.
Full methodology: GreyRock AI
Practice a conversation: GreyRock AI

We'd welcome feedback from people working on on-device NLP, explainable classification, or tools for people in difficult relationships.

GreyRock AI is built by Should I Studios LLC.

📰 Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.