Skip to content
Made with Jev

GitHub · by CodeAlive

mastra-jev-moderation

Input moderation for Mastra agents in one file.

Preview of mastra-jev-moderation, from its source

CodeAlive’s custom Mastra processor moderates each turn with one Jev request. The built-in processor parses a verdict from text and can fail open on hostile input. Jev returns a typed answer, so that failure cannot happen. They report a median of about 0.4 seconds.

Open the source

More like this