Skip to main content

Overview

Assessments happen on traces, not review tasks. When a trace arrives, policies evaluate it and produce assessments. These assessments determine whether a workflow triggers and whether a review task is created.

Assessment Flow

Trace Created

Your system sends a trace to Velatir

Policy Evaluation

Each active policy examines the trace

Assessment Generated

Each policy produces an assessment with risk level, compliance, and recommendations

Workflow Triggered

Assessments are used by workflow triggers to determine what happens next

What Policies Evaluate

Policies examine trace data:
DataDescription
Function NameThe action being attempted
ArgumentsInput data for the action
MetadataAdditional context
SourceWhere the trace came from
LLM ExplanationIf provided, the AI’s reasoning

Assessment Output

Each policy produces:
FieldDescription
CompliantDoes the trace comply with this policy?
Risk LevelLow, Medium, High, or Critical
ConfidenceHow certain is the assessment (0-1)
ReasonExplanation of the assessment
RecommendationSuggested action
TagsCategorization labels

How Assessments Lead to Review Tasks

  1. Policies create assessments on the trace
  2. Workflow triggers check these assessments
  3. If a trigger matches, the workflow executes
  4. If the workflow has a human intervention node, a review task is created
  5. The review task links to the trace with all its assessments

Viewing Assessments

Assessments can be viewed:
  • On the trace - Each trace shows its policy assessments
  • On the review task - If created, shows the linked trace’s assessments
  • In the session - All traces and their assessments in context