advanced~8h
Context Engineering: Memory & History
Learn context assembly, the 6 types of contexts for AI agents, memory hierarchies, token compression, and context engineering workflows.
4
Subtopics
1
Exercises
1
Projects
1
Quiz Qs
8
Flashcards
▶📚 Prerequisites(1)
🎓 Learning objectives
- •Identify and implement the 6 Types of Contexts for AI Agents (Instructions, Examples, Knowledge, Memory, Tools, Tool Results)
- •Optimize context windows using token compression and summarization
- •Design context engineering workflows utilizing tools like Tensorlake, Zep, Firecrawl, and Milvus
Context Engineering: Memory & History is a Pro topic
Sign in, then upgrade to Pro or Power to unlock this topic and the full AI Engineering curriculum.
📂 Subtopics
1234
Write Stage — Creating Context: Memory, Retrieved Docs, Tool Results, History
Select Stage — Choosing What Goes Into the Context Window
Compress Stage — Making Context Smaller: Summarization, Pruning, Distillation
Isolate Stage — Separating Context by Type So the Model Doesn't Confuse Instructions, Data, and History
Related concepts
rag-workflowrag-architectures
Next to learn
agent-patterns →