0:0020:55

Beyond Prompts: Context Engineering for Intelligent Systems

Parna Mehta 20:55 2026

An AI agent without context might book your hotel in Paris, Kentucky

Ask a prompt-engineered agent to book a hotel in Paris for a conference and it may grab the first Paris it finds: the one in Kentucky. For anyone shipping agentic AI, reliability depends less on the model than on what reaches it. Parna Mehta, an AWS AIOps engineer responsible for the accuracy of agentic and RAG systems, asks what a model needs to know, and what to drop when space runs out.

Learn the components, principles and pruning priorities behind reliable AI agents

Watch on YouTube

In short

Parna Mehta, AI Ops Engineer at AWS, argues that production-grade agentic AI depends less on clever prompts than on engineering the full context a model receives: system instructions, conversation history, retrieved knowledge, tool outputs, user profile and workflow state. Using customer-support and hotel-booking examples, she explains four principles of effective context and how to prioritize and prune a finite, costly context window.

“And if something is going wrong, do not blame the model. Go and look at your context.”
“But as a context engineer, it will be what information should I present to my LLM or what should the model know?”

What you will learn

  • Distinguish context engineering from prompt engineering by shifting the question from what to say to the model to what the model should know.
  • Identify the six sources of context an agent needs: system instructions, conversation history, retrieved facts, tool outputs, user profile and workflow state.
  • Apply four principles (accuracy, preciseness, cohesiveness and conciseness) to decide what goes into the context window.
  • Prioritize, summarize, compress and prune context to control token cost, latency and output quality in production.
  • Place important information at the beginning and end of the context to work around the lost-in-the-middle problem.

Key takeaways from the speaker

  • What is Context Engineering & Why it matters
  • Types of Context
  • Context Engineering techniques
  • Best Practices & Common pitfalls to avoid

Details

Level
Intermediate
Format
Talk
Technical depth
Practitioner
For
Early career, Mid-career, Senior individual contributor
Length
20:55
Published
June 2026

Questions this talk answers

What is context engineering and how does it differ from prompt engineering?

It is the systematic practice of designing, structuring and optimizing the whole information system presented to an LLM. A prompt engineer asks what to say to the model, while a context engineer asks what the model should know.

What makes up an AI agent's context?

System instructions, conversation history, facts retrieved through RAG and knowledge bases, tool interactions and their outputs, the user's profile and the current workflow state. Together these form the context window of instructions, knowledge and tools.

Why not simply fill a large context window with everything?

Tokens are finite and expensive, more tokens add cost and latency, and overwhelming the model can degrade output quality. Only the right information should go in.

What should be dropped first when the context window fills up?

The lowest-priority components, such as few-shot examples and parts of the conversation history. System instructions should never be removed.

What should you do when an agent produces bad results?

Do not blame the model; inspect the context instead. Treat context as a system with the same rigor you would apply to a data pipeline.

About this talk

In 2026's AI landscape, Context Engineering has become the defining factor between experimental prototypes and production-grade systems. Prompt Engineering is out, and Context Engineering is in. While clever phrasing once defined AI success, production-grade reliability now depends on the quality, structure, and timing of the data reaching the model.

Context engineering is the core of building Agentic AI systems. As enterprises deploy sophisticated RAG pipelines, agentic workflows, and multi-modal applications, success depends less on model selection and more on how effectively we engineer the context these models consume.

Join me to understand the Evolution from Prompt curation to Context engineering

We will cover: * What is Context Engineering & Why it matters * Types of Context * Context Engineering techniques * Dos & Don’ts ( Best Practices + Common pitfalls to avoid )

Topics

Related talks

Browse the library