Skip to content

Jev Block

The Jev Block runs structured evaluations with TypeSafe (System One). Instead of free text, it answers a set of typed questions (Choice, Score, or Noul, which is true / false) about a piece of state, and stores each answer as a session variable that the rest of the graph can use.

Use it for classification and judgement steps where you need a predictable, typed result: for example classify the intent, score the urgency, or is this request in scope?

Pick the role first: you can’t connect a Jev Block until it has one.

Role Behaves like How it connects
Agent A master agent Sits on the main path and connects like a master agent
Subagent A child agent used as a tool Connects to one master agent at a time, or to a Tools block or an Agent-role Jev

Subagent rules: a Jev subagent can’t connect to another Jev subagent, to Start or End, to a child agent, or to a registry agent card.

Setting What it is
Name Name of the block, for example classify_intent
Confidence threshold Default 0.7. Answers below this confidence are flagged with needs_review.
Purpose of this Jev tool Subagent only. Tells the parent agent how to use this evaluation (up to 400 characters).

State is what TypeSafe evaluates. Choose a State mode:

State mode Where the state comes from Default for
LLM The calling LLM / parent agent passes it at runtime Subagent
User Fixed text you enter in State text (required in this mode) —
Variables The session variables you pick with Pick from session variables (at least one) Agent

Add at least one question with Add. Each question has:

  • Id: unique, letters, digits, _ and - only. The answer is stored under this name.
  • Type: Choice, Score, or Noul (true / false).
  • Instructions: what to evaluate (text, or a JSON object or array).
  • Criteria: depends on the type.
Type Criteria Example
Choice A map of 2–255 options, each with a description {"billing": "Payment or invoice questions", "technical": "Errors or bugs"}
Score An ordered list of 2–10 levels ["low", "medium", "high"]
Noul (true / false) Optional descriptions for true and false {"true": "The request is in scope", "false": "Out of scope"}

The panel shows a validation error until the block is complete (for example “Jev requires at least one question” or “Choice requires 2–255 options”).

Each answer is stored as a session variable named after the question Id, with nested fields you can read as <id>.<field>:

Type Fields
Choice choice, confidence
Score score and/or level, confidence
Noul noul, confidence

When an answer’s confidence is below the Confidence threshold, it also gets needs_review: true.

  1. Add the block Drag Jev Block from the palette onto the canvas and select Subagent.

  2. Connect it Connect it to your master agent and write the Purpose: “Classify the customer’s request before answering.”

  3. Add a question Id intent, type Choice, criteria {"billing": "...", "technical": "...", "other": "..."}.

  4. Use the answer In the master agent’s prompt, refer to intent.choice, or label the outgoing edges by intent.