Skill 2.1.5

Describe the role of context engineering in FM applications

Key Concepts

A model only knows its training data plus what is in its context: system instructions, the user request, conversation history, retrieved documents (RAG), tool definitions and tool results, and memory. Context engineering selects, orders and compresses this information so the model has what it needs, and nothing distracting, within the token limit.

Good context engineering improves accuracy and reduces hallucinations, cost and latency. Techniques include retrieval of relevant chunks, summarising long histories, structured instructions, and agent memory that stores facts across sessions (AgentCore Memory).