Search Agentik

CtrlK

Glossary · Prompting & context

Instruction hierarchy

Instruction hierarchy is a principle for training and prompting models to give different priority to instructions by source, so system instructions outrank user messages, which outrank text found in tool results or documents.

Instruction hierarchy sits in the Prompting & context part of the Agentik {OS} glossary, which defines the words used to build and run AI agent systems.