Documentation

Memory

How agents remember and share context.

Memory

Memory in NebFlow allows agents to retain and share context across flow executions.

Memory Types

  • Short-term — Context within a single flow run
  • Long-term — Persistent knowledge across runs
  • Shared — Memory accessible to multiple agents

Configuration

memory:
  type: shared
  retention: 30d
  max_tokens: 10000

How it Works

  1. Each agent writes to its memory after processing
  2. Downstream agents can read from upstream memory
  3. Shared memory enables cross-flow knowledge transfer