Detecting and Solving Future Multi-Agent Interactions