Multi-Agent Systems: How AI Agents Collaborate to Solve Complex Problems