Artificial intelligence deals propelled the S&P 500 and Nasdaq higher on Monday, with Amazon's $38 billion agreement with OpenAI and Nvidia's chip allocation boosting tech stocks. Despite a foggy monetary policy outlook due to scarce economic data and a government shutdown, market sentiment was supported by positive trade news and dovish Fed commentary.