Damian Galarza uses a Slack assistant’s reply check to explain decision models and the application rules around them. This Mastra-sponsored walkthrough runs about fourteen minutes. Its measured Metis example uses OpenAI’s Decisions API, with Jev shown as another provider.

0:00–6:58 · Give the model a bounded judgment

  • Metis needs to distinguish follow-up requests from thanks and conversation between teammates.
  • A Boolean question returns a probability that code can compare with a named cutoff.
  • Choice and Score questions handle categories and ordered rubrics; several questions can share a request.
  • Exact permissions, amounts and other deterministic rules belong in code.
  • Typed output fixes the answer’s shape. Decision correctness still needs separate tests.

6:58–10:52 · Tune the threshold, then test every input change

  • Galarza reports 16 labeled cases, with 6 replies and 10 non-replies, drawn from Slack conversations.
  • His companion article specifies that these cases came from one thread, limiting their coverage.
  • He reports 15 correct decisions out of 16 at 0.45, with identical scores across three runs.
  • The same examples were used to choose the cutoff; this is development-set performance, not a held-out accuracy estimate.
  • Renaming an input field reportedly moved a non-reply case from 0.39 to 0.86.
  • Adding “including about Metis” to the negative criterion reportedly reduced the result to 13 out of 16; both changes were reverted.

All these measurements are Galarza’s OpenAI results, not reproduced Jev measurements. His suggested refund workflow uses illustrative cutoffs; they need a separate evaluation before use.

11:02–12:56 · Define refusal and outage behavior explicitly

  • Metis checks in a background job and stays quiet if the check fails; the message remains context for a later mention.
  • A higher-stakes workflow can use separate act, review and safe-default bands.
  • Mastra’s classifier processor places the policy before the agent’s main model call.
  • Its strict error strategy aborts; warn allows the message through and logs the failure.
  • Audit the outcome and timing while keeping sensitive message bodies out of logs and traces.

12:56 · Re-evaluate when switching providers

  • Galarza shows Jev and a self-hosted Kev endpoint as alternatives behind the classifier interface.
  • A shared request shape preserves the surrounding code; each model’s scores need a fresh threshold evaluation.
  • He notes that Cloudflare’s hosted Clef route needs additional integration rather than the same one-line change.

“A rule with one right answer shouldn’t depend on a probability.” — 6:45

Caveat: the complete transcript and companion implementation article were read. No model calls or evaluation results were independently reproduced.