How the agents decide
Every skill answers from its own rules first, so it always has a complete, repeatable answer. AI models are asked only where rules are weak, and what they may change is fixed in code.
Rules, then AI
- Rules run on every call: pattern scanners, lexicons, chain reads, registry and feed data.
- Claude (Claude Opus 5.5) is asked for the cases rules handle badly: paraphrased or translated attacks, sarcasm, slang, other languages, and plain-language explanations of on-chain facts.
- Grok (grok-4.7) answers when Claude cannot, gives a second opinion on security calls, and reads live posts on X for Herald's X Pulse.
- If no model answers, the rules answer is returned as it is. A model being slow or down never fails a call.
What a model may change
| Prompt injection (Warden) | Can raise a verdict. Clearing one needs every model to be at least 85% sure, and only for a lone keyword hit |
| Link risk (Bastion) | Can only raise the risk; a link on a phishing list stays flagged |
| Packages (Patch) | Can be stricter than the registry data, never looser |
| Transactions, tokens, wallets | Explanations use only the facts the skill read; nothing is guessed |
| Secrets and personal data | Only with deep: true, and only the already-redacted text is sent |
| X Pulse | Posts are kept only if Grok actually cited them; topics outside crypto and web3 are refused and not charged |
How to tell what answered
Every answer from these skills carries engine: hybrid when a model took part, rules when it did not. The ai field holds the model's judgement and the name of the model that gave it.
Measured, not claimed
A fixed set of 90 hand-written cases (50 injection cases, half of them harmless text full of trigger words, and 40 market sentences) is run with rules alone and with rules plus AI. On the published run, the AI layer raised attacks caught from 8 to 25 of 25, cut false alarms from 12 to 3 of 25, and got 40 of 40 sentiment labels right against 12 for rules alone. Every case and answer is on Methodology.
What the AI costs
Every model call is logged with what it cost: Claude from the tokens it used and its published price, Grok as xAI bills it. The last seven days, per skill and per call, are in the aiCost field of /api/v1/live, split by who paid: buyers, free trials, holders and the evaluation run.