Analyzes agent execution logs and returns a structured trace highlighting bottlenecks and workflow issues.