Week 1 · D1🔒 LockedAbout 3 hours
Context Is the Scarcest Resource: the Window, Attention Decay, and Cost — From Prompt Engineering to Context Engineering
Break a session's context into four pieces — system prompt, tool definitions, history, and tool results — and work out each one's share, then see why a longer window actually makes mistakes more likely, and reckon the three-part bill of cost, latency, and accuracy.
Break a session's context into four pieces — system prompt, tool definitions, history, and tool results — and work out each one's share, then see why a longer window actually makes mistakes more likely, and reckon the three-part bill of cost, latency, and accuracy.
Interview questions
What actually goes into the context of a single agent request, and which part is most likely to blow up?一次 Agent 请求的上下文里都有什么?哪一块最容易失控,为什么?
Common in ChinaCommon overseasBasic#context-window#token-budget🔒 Unlock this chapter to see the answer keys.
Context windows keep growing. Why not just put everything potentially relevant into the prompt?窗口越来越大了,为什么不能把所有可能有用的资料都塞进去?
Common in ChinaCommon overseasIntermediate#context-rot#attention-budget#cost🔒 Unlock this chapter to see the answer keys.
Where is the line between prompt engineering and context engineering, and when do you switch?提示词工程和上下文工程的分界在哪?什么时候该从前者切换到后者?
Common in ChinaCommon overseasIntermediate#prompt-engineering#context-engineering#scoping🔒 Unlock this chapter to see the answer keys.
