Cognition and Multi-Agent Interaction