#prompt-caching
Architecting a Zero-Cloud Agent Memory Lab: vLLM, pgvector, and a Context Budget That Never Blows Up
Dec 16, 2024
How I built a local lab for agent memory: compaction with a PI controller, a conflict sentinel in pgvector, Ollama vs vLLM benchmarks, and the quantization maths that frees VRAM for 32k context.
The Dark Art of Context Truncation & Dynamic Prompt Compaction in Production RAG
Jul 22, 2024
Truncation, packing, and query-conditioned compaction when production RAG outgrows the context window.