
12/23/2025 · Min Yin
What this post added
This post elaborates on context engineering strategies to combat context rot in AI agents. It details Just-in-Time (JIT) retrieval and pre-retrieval using vector search, highlighting Milvus as a key component for the latter. The post introduces a hybrid approach combining both JIT and vector retrieval, explaining how Milvus's features like vector search with scalar filtering and incremental updates support this architecture. It provides guidance on choosing the right approach based on knowledge stability and task predictability, and discusses scenarios where context windows might still be insufficient.