Skip to main content

Remember something

Stepremembermemory

Saves a short note to remember in later runs and conversations. Keep to durable facts and preferences, never secrets. The same note saved twice is kept once.

At a glance​

PropertyValue
Step nameremember
ResourceClusterStep (lumen.ai/v1alpha1)
Palette group, categorymemory, -
Credits0 credits each time it succeeds
Side effectsno
Installation must providenothing

Inputs​

PropertyValue
Needsnothing
Producesfields
Works onitem one document at a time

Needs and Produces are data types (file, text, fields, email). The editor offers a step only where what it needs is already on the path. See Documents and data.

Outputs​

A later node references an output as {nodeId.field} in text, or nodeId.field in a condition.

OutputType
memoryIdstring
memoryUpdatedboolean

Settings​

Set under config: on the flow node. Text settings may contain {nodeId.field} placeholders.

SettingTypeDefaultDescription
textrequiredstring-Text is the note: a fact, a preference or an outcome worth keeping, short and plain, up to 2 KiB.minLength 1; maxLength 2048
tagslist of string-Tags are labels the note can also be found by, lower-cased: up to 8.maxItems 8

The full JSON Schema of these settings: remember.schema.json.

Use it in a flow​

A node that runs remember goes under spec.nodes of a Flow. Give it any id, and list the next node ids in next.

flow.yaml
apiVersion: lumen.ai/v1alpha1
kind: Flow
metadata:
name: remember-example
namespace: tenant-acme
spec:
displayName: "Remember something"
triggers:
- id: start
ref: {name: manual-run}
next: [assistant]
nodes:
- id: assistant
stepRef: {name: chat-agent}
config:
instructions: Use the remember tool when the request needs it.
tools: [remember]