Agentic video understanding