Skip to content

Buffer Memory (Persistent)

Persistent Buffer Memory stores conversation history between workflow runs. Connect it to an Agent when follow-up questions need earlier messages for context, including after the page or service is restarted.

  • Category: Memory
  • Purpose: Stores conversation history in the database so it survives page reloads
  • Inputs: None (configured through fields)
  • Outputs: memory - Memory instance for agents
  • Configuration:
  • Memory Key: Internal name of the memory. Default memory — do not change
  • Input Key: Key under which the user message is stored. Default input — do not change
  • Output Key: Key under which the assistant reply is stored. Default output — do not change
  • Return Messages: Default on. Returns history as separate message objects, which is the format chat models expect
  • Memory Limit: 1–100, default 5. Number of past messages to recall. This is the field you will actually tune. Every recalled message is sent with each request, so higher values raise cost and latency
  • Session Mode: automatic (system manages the session id) or manuel (you supply it). Default automatic
  • Session ID: Identifies the conversation. Filled automatically in automatic mode