Langflow
Long-term memory components for Langflow
Two components: Recallic Recall returns what this user said before that answers the query, Recallic Save stores their message. Both work as agent tools.
pip install langflow-recallic
Setup
# 1. On the Recallic server: a key that acts for each user
python -m backend.tools.keys create --user my-langflow-app --role service
# 2. In the same environment as Langflow
pip install langflow-recallic # Langflow finds the components on its own
# 3. In a flow: Recallic Recall (Query, User ID, URL, API key)
# -> Memories (text, or a no-record note) / Memory Data (empty when nothing answers)
# Recallic Save stores the user's message. Turn on Tool Mode to give either to an Agent.- Recallic Recall returns the memories, or a no-record note when nothing answers, so the model is not handed near-misses.
- Installs as a Langflow extension, or paste a single component file into Langflow's custom component editor.
- Each user's memories stay apart (User ID per run; one service key serves everyone).
- Tested with lfx 1.13 against a live Recallic server.
Settings
User ID- Default
- empty
- What it does
- whose memory; needed with a service key
Agent ID- Default
- langflow
- What it does
- Recallic agent id
Mode- Default
- server default
- What it does
- cautious, balanced or helpful
Max Memories- Default
- 5
- What it does
- memories returned per lookup
| Option | Default | What it does |
|---|---|---|
User ID | empty | whose memory; needed with a service key |
Agent ID | langflow | Recallic agent id |
Mode | server default | cautious, balanced or helpful |
Max Memories | 5 | memories returned per lookup |
Needs a running Recallic server: set one up with Docker, or deploy it to your own Render account in one click. Nothing goes through us; your data stays on your server.