KSKasper Sogaard
About Writing
Topic

#llm-costs

rss →
Just-in-time context: a prompt drawn as a row of locked, cached blocks, with one new block of facts sliding in at the end
2026-11-17agent-architecture5 min

Just-in-Time Context: Giving AI Agents Knowledge Without Breaking the Prompt Cache

How MagicDoor's agents get the facts they need every turn, without a tool call and without throwing away the prompt cache: stable things first, new things last, never edit the past.

read →
© 2026 Kasper Sogaard magicdooragentparleylorestagerevoco linkedinxgithubrss ● static html · cookie-free analytics