An attention map is a visual or numerical matrix that quantifies the pairwise attention weights between elements (e.g., words or tokens) in a transformer model's input and output sequences, revealing where the model "looks" when generating a response. In agentic observability, these maps provide a trace of the model's cognitive focus during processing, showing which parts of a prompt or context were most influential for each step in its reasoning chain, such as during planning or reflection cycles.




