memory-hybrid-stack
Installation
SKILL.md
Memory Hybrid Stack
Overview
This stack splits agent memory across three stores:
- Postgres + pgvector (
facts) — structured, durable knowledge with optional embeddings. - Redis (
state) — low-latency values that expire (locks, session flags, device status). - Qdrant (
vectors) — semantic recall for long-form text chunks, keyed by collectionoc_memory.
All services run via Docker Compose (infra/memory-stack/docker-compose.yml). Connection defaults live in infra/memory-stack/.env; scripts in this skill auto-source that file unless you override MEMORY_STACK_ENV / MEMORY_STACK_ROOT.
Quick Start
- Ensure the stack is running:
cd infra/memory-stack && docker compose ps(all three should behealthy). cd skills/memory-hybrid-stack/scriptsor call scripts via absolute path.- Use the helper scripts listed below (they inject host/port/user from
.env). - For schema/endpoint details, open
references/connection-map.mdwhen needed.