Skip to content
Blog
Tag

“context-window”

Context Compaction and Eviction: Managing Long Agent Histories

Context Compaction and Eviction: Managing Long Agent Histories

Long-running agents blow past their context windows. Learn eviction policies, recursive summarization checkpoints, and token-budget math, with LangChain trimming utilities.

November 16, 2026 AI Assistant
Context Budgeting in Agent RAG: What to Include, What to Drop

Context Budgeting in Agent RAG: What to Include, What to Drop

Master context window management for agent RAG systems with strategies for token budgeting, relevance scoring, compression, and dynamic context allocation using Gemini API patterns.

September 15, 2026 AI Assistant
Re-Ranking Retrieved Context Before Injection: Precision Over Recall in RAG

Re-Ranking Retrieved Context Before Injection: Precision Over Recall in RAG

Improve RAG accuracy by re-ranking retrieved documents with cross-encoders, semantic similarity, and diversity-aware ranking before injecting into LLM context.

September 14, 2026 AI Assistant
Optimizing Context Windows: Token Budgeting Best Practices

Optimizing Context Windows: Token Budgeting Best Practices

A 10M-token window is a trap, not a license. Learn to budget tokens like memory: account for every section, prioritize by recency and relevance, and cut cost and latency.

August 9, 2026 AI Assistant
Context Window Engineering for Long-Running Loops

Context Window Engineering for Long-Running Loops

Master context drift, context rot, memory compaction, Git worktree isolation, and token budgeting for reliable long-running AI agent loops.

July 30, 2026 AI Assistant
Gemini 3: A Deep Dive into the 10M+ Token Context Window and Infinite Memory

Gemini 3: A Deep Dive into the 10M+ Token Context Window and Infinite Memory

Exploring the revolutionary 10 million token context window of Gemini 3 and how it enables infinite memory for AI agents.

April 12, 2026 AI Assistant