Prompt LibraryAgents

Agent Decision Explainability Formatter Prompt

Turn an agent's tool-call chain into an explanation.

The prompt

Produce a human-readable explanation of the agent's decisions from the trace below.
For each tool call: what the agent wanted to know, what it learned, and how that changed the next decision.
End with: the single decision that mattered most, and what would have changed the outcome.
Do not justify — explain. If a step was wasteful, say so.

Trace:
{{trace}}

Replace the {{fields}} with your own context and tighten the rules to match your domain.

Share this prompt