Skip to content
System One

CodeAlive-AI/mastra-jev-moderation

A single-file input moderation plugin for Mastra agents, running on Jev.

CodeAlive-AI/mastra-jev-moderation on GitHub

Stars
3
Forks
1
Language
TypeScript
License
MIT
Last push
18 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

// Jev System One API
// ---------------------------------------------------------------------------

export const JEV_ENDPOINT = "https://api.typesafe.ai/v1/systemone";
export const JEV_MODEL = "jev-latest";

/**
 * A yes/no question. The API calls this type `noul`; its answer is a number,
 * P(true). `criteria` describes what counts as `true` and as `false`.
 */
export interface JevBooleanQuestion {
  type: "noul";
  instructions: string;
  criteria: { true: string; false: string };
}

View in jev-moderation.ts

Open on GitHub

More like this

Use cases this is tagged with