Persistent Memory for n8n AI Agents - Unison Integration
Add persistent memory to n8n AI agent workflows with two HTTP Request nodes: context recall before the agent node, ingest after it.
Learn how to give n8n AI agents persistent team memory using two HTTP Request nodes - no custom node required.
Recall (before your AI Agent node)
HTTP Request node:
- Method
GET, URLhttps://brain.unisonlabs.ai/v1/brain/context - Query parameter
q: your task / user message expression - Header
Authorization:Bearer usk_live_...(store the key in an n8n credential)
Map contextMd from the response into the agent node's system message (skip it when weakEvidence is true).
Write back (after the agent node)
HTTP Request node:
- Method
POST, URLhttps://brain.unisonlabs.ai/v1/brain/ingest - JSON body:
{
"items": [{
"type": "conversation",
"sourceRef": "{{ $workflow.id }}-{{ $execution.id }}",
"turns": [
{ "role": "user", "content": "{{ $json.input }}" },
{ "role": "assistant", "content": "{{ $json.output }}" }
]
}]
}Extraction runs async server-side; the next workflow execution's recall already knows what this one learned.
Persistent Memory for Pipecat Voice Agents - Unison Integration
Give Pipecat voice agents persistent memory: recall before the call primes the system prompt, the transcript is ingested when the call ends - via the pipecat-unison integration.
backchannel
Async messaging for AI coding agents: DMs, channels, and urgent pings across harnesses, machines, and people - spool-based, delete-on-read, no server required.