A multi-agent system (MAS) is an AI system in which two or more autonomous agents work together to achieve a goal. Each agent has its own decision-making loop, and the overall system relies on coordination, communication, and task allocation across agents.