Frontier Foundry

Context Engineering & Memory: open questions

20 open questions · 8 concepts · 60 sources · newest Nov 25, 2026

The questions about Context Engineering, Long Context, Retrieval-Augmented Generation, Embeddings, Agent Memory that the sources answer differently, with each side in its own words.

A question is listed when at least two sources answer it differently. Each position is one source’s stance, in a sentence, with who said it and a link to where. When a debate is settled, the pack keeps it as a claim instead.

Context Engineering: what is still argued

the 8 that matter most of 10

Can you let an optimizer or the model rewrite your prompts?

Split work across sub-agents or keep one agent with on-demand skills?

Should you keep the context window as small as possible, or has the instruction-following ceiling moved enough to fill it?

Can you trust LLM-written summaries to carry a long task?

Is a big instruction prefix a cost problem or a solved one?

Context Engineering, explained: how it works, part by part, with all 10 open questions.

Long Context: what is still argued

1 open question

Do agents need a million-token window, or is frequent compaction enough?

  • Agents that read whole environments and many rounds of tool replies cannot do complex tasks in a shorter context, so the window itself has to grow. Olive Song, AI Engineer, Sep 4, 2026
  • With frequent compaction, frontier models lose little or no task accuracy on long-horizon and long-input tasks while keeping short contexts, so long context may be unnecessary. Hugging Face, Nov 4, 2026
  • A big window is worth keeping because compaction loses too much detail: one user holding papers or complex material at full resolution found a 372k Codex window turned a working share of about 12 to 20% into about 40%, and a smaller window meant compacting every five minutes. tekacs, Hacker News, Jul 19, 2026
  • Window size is not the limit: this Opus user finds quality degrades past about 50% of a 1M window, clears at 30 to 40%, finds compaction does little, and restarts with markdown docs that tell the model where to look. throwatdem12311, Hacker News, Jul 19, 2026
  • Short threads beat long ones even when the window allows long: the Amp team works one change per thread and shares context by reference, because short threads give better results and cost less than one mega-thread. Amp news, Dec 9, 2025

Long Context, explained: how it works, part by part.

Retrieval-Augmented Generation: what is still argued

2 open questions

Does an agent that greps files replace the ranked index?

  • On about 20 bug tasks agentic search matched vector search in accuracy at a quarter of the cost, because lone chunks lacked the surrounding logic. Jess Wang, AI Engineer, Oct 5, 2026
  • At scale ranking wins: BM25 overtakes a file-system agent around 10 million tokens, and agentic reasoning works best after ranked discovery, not in place of it. Hugging Face, Jul 31, 2026
  • Agentic search does not replace the index but sits on it: Mistral's agent builds on an existing search index and adds tools to open, navigate, read and grep the documents the index finds. Mistral AI, Aug 20, 2026
  • RAG is not dead: coding companies still rely heavily on search, and hybrid retrieval (semantic, text, regex, SQL-style patterns) is becoming more important, not less. Latent Space, Mar 12, 2026
  • A file system with grep is only old-fashioned keyword search; a database can index content any way you like and combine keyword, vector and BM25 ranking, so replacing the ranked index with grep goes back decades. tensor, Hacker News, Apr 2, 2026
  • An agent that explores files pays in latency: every ls and grep is a separate inference cycle, which trades RAG's context loss for multi-step delay to the first token. slp3r, Hacker News, Apr 2, 2026

Retrieval-Augmented Generation, explained: how it works, part by part.

Embeddings: what is still argued

1 open question

Does an agent need a pre-built vector index, or is grep enough?

  • Embeddings are cached compute: pay once to chunk, embed and index, then every agent session queries the index instead of grepping again, and it finds files related by behaviour. Kuba Rogut, AI Engineer, Apr 9, 2026
  • For code, grep and read worked without any index: code is small, text, on disk and full of breadcrumbs, and a pre-built vector index is hard to keep in sync as the code changes. George He, AI Engineer, Oct 7, 2026

Embeddings, explained: how it works, part by part.

Agent Memory: what is still argued

1 open question

Is a dedicated memory system worth building over searching the raw history?

  • Many dedicated memory systems underperform naive retrieval over the raw history, because the way memory reorganises facts can remove or hide evidence: a memory tax. Hugging Face, Oct 28, 2026
  • A typed multi-agent memory with a provenance index was the most accurate of the systems compared on four of five question-answering benchmarks. Hugging Face, Nov 16, 2026
  • A wiki memory pays for itself on repeated cross-source reasoning but not on simple lookups: on single-passage questions the agent without memory was as accurate (0.84 vs 0.83) and faster (9 vs 12 seconds), and building and maintaining the wiki can outweigh the savings. LangChain blog, Oct 28, 2026
  • Memory earns its keep in agents built for specific repeated workflows (his email agent), not in a general chat assistant where every conversation is a one-off, so ChatGPT-style memory did not make him stick with the product. Sequoia, Jan 21, 2026

Agent Memory, explained: how it works, part by part.

Prompt Engineering: what is still argued

2 open questions

Do examples in a prompt still help?

Should each model get its own system prompt, or one prompt for all of them?

  • Different models need different prompts: the team keeps separate system prompts per model now, and what worked for one model may not carry to the next. Thariq Shihipar, AI Engineer, Jun 29, 2026
  • A simple prompt that is the same for every model is best when the aim is to test the model, because tuning the prompt for one model may favour it without anyone knowing. Latent Space, Jun 4, 2026
  • Different models need different prompts: Anthropic gates model-specific system prompt changes to the model they target, and a prompt line that fits one model can hurt another. Anthropic, Apr 23, 2026
  • Rules and guardrails written for older models slow a newer one and make it fail edge cases it can solve alone, so the prompt should be rebuilt for each model. Philipp Schmid, Nov 25, 2026
  • Do not hand-tune a prompt per model: write the behaviour as measurements and let an optimizer search a prompt for whichever model you run, so swapping models is a rerun. Drew Breunig, Jun 22, 2026

Prompt Engineering, explained: how it works, part by part.

Prompt Caching: what is still argued

1 open question

How long is it worth keeping a stored front?

  • Pay a higher write price for a 12-hour cache, so that reads still hit when requests are hours apart. OpenAI, Oct 20, 2026
  • The long tail of retention buys only a point or so of extra hits for a lot of storage. AINews, Oct 21, 2026

Prompt Caching, explained: how it works, part by part.

Knowledge Graphs: what is still argued

2 open questions

Does an agent need a graph for memory, or will a text file do?

Does reading a graph beat reading the files?

  • A graph of the files cuts tokens per query by about 71 times, in the author claim. AINews, Jun 30, 2026
  • On a large code base the graph tool was fiddly to set up and did not noticeably improve output quality or save time against ordinary code-intelligence tooling. AINews, Jun 30, 2026

Knowledge Graphs, explained: how it works, part by part.

Other ways in

the same sources, cut another way

Open questions in AI, in the other areas

16

Cite this page

the version of 2026-11-25
APA
Han, R. (2026, November 25). Context Engineering & Memory: open questions and both sides. Frontier Foundry. https://www.ryanhan.ai/debates/context
BibTeX
@misc{han2026-debates-context,
  author       = {Han, Ryan},
  title        = {{Context Engineering & Memory: open questions and both sides}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = nov,
  url          = {https://www.ryanhan.ai/debates/context}
}