Learn how to build a lightweight AI agent execution tracer in Python to capture tool calls, model decisions, latency, errors, retries, and task execution flow.