Integration

Long-term memory for Node-RED flows

Node-RED is the visual flow editor for IoT, automation, and AI plumbing, with one node per HTTP call, MQTT topic, or device. Without durable memory, every flow that touches an LLM resets between messages. `@lumetra/node-red-contrib-engram-memory` adds two function-style nodes (`engram store`, `engram query`) plus an encrypted `engram-config` credentials node, so any flow can drag-and-drop memory in.

Install

Three steps: sign up for an Engram API key, paste a BYOK LLM-provider key on /models, then drop the snippet below into Node-RED.

Three steps to memory in your agent

  1. Sign up. Free, no card. You'll land on a Getting Started page that walks the next two steps.
  2. Add your LLM key. Engram is BYOK. Paste an OpenAI / Anthropic / Groq / Together / Fireworks key and we'll route every extraction and query call through your provider. You pay your provider directly. We never see your inference.
  3. Paste the snippet below into your agent and restart it. Use Authorization: Bearer <api-key>with the API key from your portal.

@lumetra/node-red-contrib-engram-memory: two function-style nodes

Adds engram store and engram query palette nodes plus an encrypted engram-config credentials node, so any flow can drag-and-drop memory in. Per-message bucket override via msg.bucket.

  1. In the Node-RED editor: Manage Palette → Install @lumetra/node-red-contrib-engram-memory. (Or CLI: npm install @lumetra/node-red-contrib-engram-memory from inside ~/.node-red, then restart Node-RED.)
  2. Drag an engram store or engram query node onto a flow. Click the pencil next to the Engram field to create an engram-config credential, paste your key, and save:
  3. engram-config credential
    API key:  <api-key>
    Base URL: https://api.lumetra.io   (override for self-hosted Engram)
  4. Wire it into any flow: [inject] → [engram store, bucket=notes] → [debug], or [mqtt in] → [engram query] → [function]. The credential is stored encrypted at rest using Node-RED's project credential-secret.

What you can do once memory's wired in

  • [inject] → [engram store, bucket=notes] → [debug]: capture sensor readings or webhook payloads as durable memories
  • [mqtt in] → [engram query] → [function]: ask a natural-language question against your bucket inside a flow
  • Per-message bucket override via `msg.bucket` so one flow can fan out into per-user buckets
  • Wire Engram alongside your existing Home Assistant, Telegram, or HTTP-in nodes with no code — just nodes

FAQ

How do I install it?

Editor: **Manage Palette → Install → `@lumetra/node-red-contrib-engram-memory`**. CLI: `npm install @lumetra/node-red-contrib-engram-memory` from inside your Node-RED user directory (default `~/.node-red`), then restart. The nodes appear under the **Engram** category in the palette.

Where does my API key go?

Into the `engram-config` credentials node, where Node-RED stores it encrypted at rest using the project's credential-secret. Drop an `engram store` or `engram query` node, click the pencil next to the **Engram** field, paste the `eng_live_...` key, save once, and every flow in the project reuses the same credential.

Can I point this at self-hosted Engram?

Yes. The `engram-config` node has a **Base URL** field; set it to your endpoint (e.g. `https://engram.internal.example.com`) and both nodes route through that host. Defaults to `https://api.lumetra.io`.

Ship durable memory in Node-RED today

Free tier: 10K memories and 50K retrievals per month. No credit card. Same Engram backend powers all 41 integrations, so memories you write from one client are immediately queryable from the rest.