Building a VideoAgent-Style Multi-Agent System: Intent Parsing, Graph Planning, and Tool Routing for Video Editing Tasks
def tool_shot_planner(instruction, captions): “””Global-aware storyboard sub-queries from instruction + caption bank.””” bank = “; “.join(sorted({c[“caption”] for c in captions})) if llm.available(): sys_p = (“You are VideoAgent’s Shot-Planning Agent. Given the…