skills/skills.volces.com/memory-hybrid-stack

memory-hybrid-stack

Installation
SKILL.md

Memory Hybrid Stack

Overview

This stack splits agent memory across three stores:

  1. Postgres + pgvector (facts) — structured, durable knowledge with optional embeddings.
  2. Redis (state) — low-latency values that expire (locks, session flags, device status).
  3. Qdrant (vectors) — semantic recall for long-form text chunks, keyed by collection oc_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

  1. Ensure the stack is running: cd infra/memory-stack && docker compose ps (all three should be healthy).
  2. cd skills/memory-hybrid-stack/scripts or call scripts via absolute path.
  3. Use the helper scripts listed below (they inject host/port/user from .env).
  4. For schema/endpoint details, open references/connection-map.md when needed.
Installs
2
First Seen
Apr 23, 2026
memory-hybrid-stack from skills.volces.com