A multi-agent system (MAS) refers to a system composed of multiple autonomous agents that interact and cooperate with each other to achieve certain goals or solve complex problems. Each agent within the system has its own goals, knowledge, and capabilities, and can perceive its environment and take actions based on that perception.