Topic hub 10

Prompt and context engineering

Deciding what the model sees: prompts, context, tools and structured output.

Overview

Prompt engineering shapes a single instruction; context engineering manages everything a model sees across a whole task, including system prompts, retrieved documents, tool definitions, tool results and memory. As agents run longer, the second discipline matters more.

The guides here cover context management, tool calling and structured outputs, and the prompting techniques that remain useful as models improve.

Prompt and context engineering guides

Key terms

Full glossary

Other topics