Skip to main content

Path 1: Store & Recall Memory in 2 Steps

Initialize your client with your live API key, store unstructured conversation facts, and perform multi-signal hybrid recall (dense vector + BM25 trigram fused with RRF_K=30).
TypeScript / Node.js — Minimal Companion Loop

Path 2: Strict Multi-Tenant Namespace Isolation

For SaaS applications with multi-tenant architectures, pass the X-Namespace-Prefix header on every request to guarantee zero scope leakage across client organizations.
cURL — Namespace Scoping

Path 3: Local Ollama & Air-Gapped Fallback

When running in privacy-sensitive or edge environments, use the BYOK routing engine or run local containers with pgvector and Ollama embeddings.