Single-agent or Multi-agent Systems? Why Not Both?