Skip to content

Core Concepts

This page explains the mental model to carry into the rest of the docs.

TIP

Prefer learning by code? Start with Your First Step and come back later.

Verist in one sentence

Verist is a deterministic workflow kernel for AI systems: replay, recompute, and diffs for decisions.

The big idea

Most AI workflows are hard to trust because you can't reproduce decisions or understand what changed after a model upgrade. Verist fixes that by being strict about:

DisciplineWhy it matters
Explicit inputsNo hidden dependencies
Explicit artifactsStore what the model saw and returned
Explicit state changesSteps return outputs, nothing else mutates state

That discipline makes replay and diff possible.

Core objects

Step

A deterministic function that takes input + context and returns:

FieldDescription
outputPartial state update
eventsAudit records
commandsWhat should happen next (optional)

A step is the only place where "work" happens.

What a step is NOT: task runner, scheduler, database writer, internal retry mechanism.

Workflow

A named set of steps plus a version. It doesn't run on its own – your runner does.

What a workflow is NOT: orchestrator, self-executing runtime, required for single-step usage.

State

State lives in your database. Not in memory. Not in a hidden framework cache.

LayerSource
computedDerived from step outputs
overlayHuman overrides
effective{ ...computed, ...overlay }

Overlay always wins so human decisions survive recomputation.

Artifacts

Captured inputs/outputs from non-deterministic calls (LLMs, external APIs, file reads). Stored and hashed.

Artifacts make replay and recompute possible. They are not logs – they are required for exact replay.

Replay vs recompute

ReplayRecompute
UsesStored artifactsFresh adapters
Answers"What happened?""What would change?"

Common mistakes

  • Confusing replay with recompute
  • Expecting workflows to "run themselves"
  • Treating artifacts as logs instead of inputs/outputs

Why the kernel is strict

Verist refuses to be "helpful" in ways that hide state or control flow. That's the only way to make AI decisions reviewable later.

If you want speed and autonomy, an agent framework might fit better. If you want correctness under scrutiny, Verist is built for you.

LLM context: llms.txt · llms-full.txt
Released under the Apache 2.0 License.