← All tags

#prompt-caching

Architecting a Zero-Cloud Agent Memory Lab: vLLM, pgvector, and a Context Budget That Never Blows Up

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

Truncation, packing, and query-conditioned compaction when production RAG outgrows the context window.