1. Set up llama.cpp with Qwen3 Embedding 4B and Qwen3 Reranker 4B. 2. Use PostgreSQL with pgvector for vector storage. 3. Configure GBrain to index Markdown files via MCP. 4. On memory request, GBrain retrieves candidates via embedding, then reranks.
Running local embedding and reranker models (Qwen3) with GBrain provides a practical memory system for LLMs, improving retrieval accuracy over plain Markdown.