← Glossary / 21 of 100

n. / AI agents

Prompt injection

Definition

Prompt injection is an attack where text in a user message, web page or document tricks a language model into ignoring its instructions or taking an unintended action.

In more detail

Agents with tools are most at risk, since a successful injection can trigger real actions. Tracing which input led to which tool call helps investigate incidents.

Definitions are the start.

Open a real trace and watch these terms move.