Skip to content

Evaluator

An Evaluator is a versioned Function that grades an output against a rubric and returns a verdict.

Properties

PropertyTypeRequiredDescription
rubrictextrequiredWhat it grades against. An agent never varies its own Evaluators. Never randomized.
integrationIntegrationThe Integration whose outside run returns the verdict, such as a CI job; empty when the platform runs it.
requiredbooleanTrue when Change.merge refuses until this Evaluator passes on the Change’s head. Never randomized.
Inherited from Function: 12 properties
PropertyTypeRequiredDescription
kindstringrequiredOne of code, generative, agentic, or human.
versionstringThe Version an Action runs, kept with the Action.
cascadestring[]Kinds tried in order when one declines, such as code, then a Human.
instructionstextFor a generative or agentic Function, what it does and how.
modelstringFor a generative or agentic Function, the model it runs on.
toolslist of VerbFor an agentic Function, the Verbs it may call; Permissions and Limits apply to each.
maxStepsintegerFor an agentic Function, the most steps one Action may take.
budgetmoneyThe most one Action may spend; the Mandate’s Limits apply as well.
roleRoleFor a human Function, the Role its Tasks go to.
formjsonFor a human Function, the form; generated from the Verb’s inputs and outputs when absent.
slastringFor a human Function, how long a Task may wait, as an ISO 8601 duration.
escalateToRoleFor a human Function, the Role a Task moves to when the service level passes.

Object

JSON
{
  "$id": "https://api.sb/ledgerlark.com/evaluators/evaluator_1",
  "$type": "Evaluator",
  "kind": "code",
  "version": "Example version",
  "cascade": [
    "Example cascade"
  ],
  "instructions": "Example instructions",
  "model": "Example model",
  "tools": [
    "verb_1"
  ],
  "maxSteps": 1,
  "budget": {
    "amount": 400,
    "currency": "USD"
  },
  "role": "role_1",
  "form": {},
  "sla": "PT4H",
  "escalateTo": "role_1",
  "rubric": "Example rubric",
  "integration": "integration_1",
  "required": true
}

Relationships

Verbs

  1. createCreates an Evaluator.
    POST /{namespace}/evaluatorsdoEvaluator.created
  2. getReturns one Evaluator by id.
    GET /{namespace}/evaluators/{id}readNo Event
  3. listReturns Evaluators, newest first, one page at a time.
    GET /{namespace}/evaluatorsreadNo Event
  4. updateChanges the given properties of an Evaluator.
    PATCH /{namespace}/evaluators/{id}doEvaluator.updated
  5. deleteDeletes an Evaluator; its history is kept.
    DELETE /{namespace}/evaluators/{id}doEvaluator.deleted

Permissions

Which Access level may call each Verb. One-way Verbs wait their delay window.

Operationowneradminmemberviewer
Evaluator.createYesYesYesNo
Evaluator.getYesYesYesYes
Evaluator.listYesYesYesYes
Evaluator.updateYesYesYesNo
Evaluator.deleteYesYesYesNo

Call it

Text
Add an evaluator to PatentPad.

Example

An Evaluator grades each support answer against a rubric of accuracy, tone, and policy, and returns pass or fail with the reason.