Skip to content

Context Builder & Orchestration

Assembling the right context before the model runs — context compilers, budgets, KV-cache, and MCP federation.

16 articles

Sep 8, 2026·32 min read

Cursor Memory Bank: What Actually Loads

The canonical Cursor Memory Bank ships fifty five rule files. Exactly one of them is guaranteed to reach a session, and it tells the agent where to write, not what to read. Checked against the repository, the vendor's own pages and the forum threads where it fails.

Sep 4, 2026·11 min read

Memory Coherence in MCP: What Happens When Two Clients Write

MCP defines no ordering, conflict detection or merge semantics for memory. Coherence is a property each server chooses, and shipped servers choose differently.

Aug 25, 2026·18 min read

AGENTS.md: What Supported Actually Means, Tool by Tool

The format has no required fields and one sentence about precedence. Seven tools that list themselves as supporting it describe seven different mechanisms, and one of them says outright that a closer file overrides an earlier one because it comes later in the combined prompt.

Aug 25, 2026·11 min read

CLAUDE.md, AGENTS.md and Cursor Rules Do Not Enforce

A rules file is text placed in a context window. All three vendors say so on their own pages, in their own words. What delivers a rule, what the wrapper around it says, and what does enforce, because something does.

Aug 23, 2026·12 min read

What Is an MCP Memory Server? Protocol, Tools, Tokens

MCP standardises how a client discovers a tool, calls it, and reads the answer. It does not standardise memory. Walking the whole path with the specification and the public reference server open.

Aug 16, 2026·14 min read

What Breaks Prompt Caching: The Stable Prefix Contract

How prompt cache keys are derived across Anthropic, OpenAI, Gemini, vLLM, and SGLang, and the six agent mistakes that silently break the stable prefix.

Jul 21, 2026·24 min read

13 Memory MCP Servers Compared (2026): Local-First or Hosted

Thirteen memory MCP servers across knowledge-graph, vector, Markdown and SQL storage, with pricing, maintenance reality, and the local-first vs hosted decision.

Jul 21, 2026·8 min read

Stateless MCP: Where Agent Memory Lives Now

The final MCP 2026-07-28 specification removes protocol sessions, the Mcp-Session-Id header, and the handshake. Durable agent memory remains external.

Jun 19, 2026·11 min read

Context Budgeting: Zones, Allocation & Eviction

Context budgeting allocates finite agent tokens across system, tools, retrieval, history, outputs, and response buffer.

Jun 19, 2026·13 min read

Context Optimizer: Cache, Budget & Placement

Context optimization for AI agents unifies KV-cache hit rate, prefix stability, token budget, latency, cost, and placement into one runtime decision.

Jun 18, 2026·8 min read

Context Compiler vs Orchestration

Where flow control ends and window assembly begins: the boundary between orchestrator and context compiler in LLM agent systems.

Jun 18, 2026·12 min read

Deterministic vs LLM Context Assembly

Deterministic context assembly improves cacheability and auditability; LLM-directed assembly adds adaptivity. Most agent systems need both.

Jun 16, 2026·15 min read

Context Engineering Needs a Compiler

Context engineering is the discipline. The context compiler is the per-turn runtime layer that ranks, budgets, secures, and assembles each model call.

Jun 15, 2026·10 min read

Memory MCP: How to Give AI Agents Persistent Memory

Memory MCP servers explained: what they are, how to choose one by where data lives and what it does, and how to install so an agent remembers across sessions.

Jun 10, 2026·10 min read

Federated MCP: How MCP Federation Works in 2026

MCP federation in 2026: what gateways and the June 2025 spec solved for running multiple MCP servers, and which problems, like auth propagation, remain open.

Jun 6, 2026·20 min read

Prompt-Cache Keys: Stable Prefix, KV-Cache Hit Rate

How prompt-cache keys are canonicalized, why a stable prefix decides your KV-cache hit rate, and what each provider actually discounts on a cache read.

← Back to the Library