Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.medera.info/llms.txt

Use this file to discover all available pages before exploring further.

The Agentic Framework distinguishes per-execution context from persistent memory.

ExecutionContext (per-execution)

Owned by WorkflowExecutor for the duration of a single execution. Holds:
FieldNotes
inputValuesFrozen — provided at execution start
stateValuesMutable — initialized from state_variables + defaults
outputValuesSet on end node
nodeOutputsMap of nodeId → output
executionTrace[]Append-only audit log of node starts / completes / errors
currentNodeIdCurrent node
statuspending / running / completed / failed / paused
startedAt, completedAtISO timestamps
Resolution is via resolveVariable(expression): e.g. {{nodes.intake_1.output.transcript}}.

Memory (persistent)

Persistent agent memory is stored under the tenant scope. Memory survives across executions and contexts and is read by agents that bundle the Memory Expert (see /agentic/experts/memory).
ScopeLifetime
threadUntil context ends
patientUntil patient deletion
tenantIndefinite (subject to HIPAA 6-year retention)