An agent trace is a detailed, structured record of an agent's execution: every reasoning step, tool call with its arguments and results, observation, decision point, and timestamp. Traces serve three purposes — debugging (understanding why an agent failed or produced unexpected output), evaluation (scoring agent behavior against benchmarks), and compliance (providing an auditable record of automated actions). Good tracing systems capture both the agent's internal reasoning and the external effects of its actions.