Agent-to-Agent Interaction Reimagined as a Search Problem