109Your chatbot loses the thread after ten turns and breaks when the user changes topic. How do you manage conversation state?▼mediumOpenAIAnthropicCohere◆ premiumAppending every turn is the default in tutorial code and it fails twice: on the context window and on cost. The signal is the layered assembly, the constraints you refuse to let the summarizer touch, and what you do the moment the user changes subject.Open full answer →
112What is a Recursive Language Model, and when would you use one instead of long context or RAG?▼hardAnthropicOpenAIGoogle DeepMind◆ premiumAn emerging alternative to stuffing the window or building an index: keep the context outside the prompt and let the model write code to inspect it, recursing into the pieces. Knowing when it does not pay is most of the score.Open full answer →
10How do you manage memory and context for a long-running conversational agent?▼hard★ EssentialAnthropicOpenAISierra2 repliesunlockedConversations and agent tasks grow past the context window, and the naive 'stuff the whole history' approach breaks on cost, latency, and lost-in-the-middle. The signal is a tiered memory design: recent buffer, summarized mid-term, retrieved long-term.Open full answer →
20What are the types of agent memory (short-term, long-term, episodic, semantic), and how do you use each?▼mediumAnthropicOpenAISierra1 replies○ sign inAgents need memory beyond the context window, and 'just store the history' is the wrong answer. The signal is telling the memory types apart and mapping each to a storage and retrieval strategy. Here is the answer.Open full answer →
100How do you build an agent that can look at images and produce charts and files, not just text?▼mediumOpenAIAnthropicGoogle◆ premiumThe agent loop assumes an observation is a short string, and images break that assumption in both directions. The signal is a context policy that keeps pixels out of the transcript and a verification step for the files the agent produces.Open full answer →