module 04 / 08
Context Engineering & Prompt Injection
Learn what belongs in the model window, what should be fetched, and what should be compressed away.
the point
Context is the working memory of an AI system. Good context design is often the difference between a demo and a useful product.
start here
go deeper
understanding check
You should be able to…
- decide what should be in prompt, retrieval, tool result, or memory
- identify context that is stale, redundant, or distracting
- identify a prompt-injection boundary and its mitigations
- explain how context rot changes system design
prove it by building
Build an AI research assistant
intermediate · typescript, model API, search or local documents, markdown output
make
an assistant that gathers sources, compresses notes, and writes a sourced brief
definition of done
show the final brief, source list, and what context was kept or discarded
