We have some exciting news to share! The Motley Fool UK has now become The Twelfth Magpie -- an independent, UK-owned company, led by our long-serving UK management team — Mark Rogers, Chris Nials and Heather Adlington. In practical terms, it’s the same team you know, now fully focused on serving our UK readers and members.

Just as importantly, our approach remains unchanged: long-term, jargon-free, and on your side. This site is our new home, and there will be extra tweaks made across the coming few days as we settle in. So if anything looks a little off, please bear with us!

The content of this article was relevant at the time of publishing. Circumstances change continuously and caution should therefore be exercised when relying upon any content contained within this article.

5 AI stocks to consider buying and holding for the long term

The global market for artifical intelligence is projected to grow exponentially. Here are five Foolish stocks to consider buying.

| More on:
Concept of two young professional men looking at a screen in a technological data centre

Image source: Getty Images

You’re reading a free article with opinions that may differ from The Twelfth Magpie’s Premium Investing Services. Become a member today to get instant access to our top analyst recommendations, in-depth research, investing resources, and more. Learn more, and get a free 'Best Buy Now' stock!.

Many AI applications are still in development, offering ground-floor buying opportunities in their stocks. Below are some established companies that five of Fool.co.uk’s contract writers like as investments to consider buying to capitalise on this transformational technology.

Alphabet

What it does: Alphabet is a global technology company best known for Google, YouTube, Android, and cloud services.

Should you buy Salesforce shares today?

Before you decide, please take a moment to review this report first. Despite ongoing uncertainties from US tariffs to global conflicts, Mark Rogers and his team believe many UK shares still trade at substantial discounts, offering savvy investors plenty of potential opportunities to learn about.

That’s why this could be an ideal time to secure this valuable research – Mark’s analysts have scoured the markets to reveal 5 of his favourite long-term ‘Buys’. Please, don’t make any big decisions before seeing them.

By Mark Hartley. When considering an AI investment for the long term, Google’s parent company Alphabet (NASDAQ: GOOG) stands out. It has emerged as a key player in the AI space, leveraging its vast data resources and computational power to dig deep roots into the industry. Through DeepMind and its Gemini AI models, Alphabet is at the forefront of generative AI development. Google Cloud offers scalable AI tools and infrastructure for businesses, while AI enhancements in products like Search, Gmail, and YouTube are well-positioned to benefit from advertising revenue. 

Alphabet’s expansive ecosystem gives it a strategic advantage in training and deploying AI models at scale.

A significant risk, however, lies in the potential disruption of its core search business. As AI chatbots and generative search become more prevalent, traditional search advertising could face margin pressure. Additionally, if faces increased regulatory scrutiny on data usage, antitrust concerns and competition from rivals like Microsoft and Amazon.

Mark Hartley doesn’t own shares in any of the stocks mentioned.

Cellebrite

What it does: Cellebrite is the global leader in decrypting mobile phones and other devices supporting digital forensic investigations.

By Zaven Boyrazian. Many AI stocks today are unproven. That’s why I prefer established players leveraging AI to improve their existing mission-critical products like Cellebrite (NASDAQ:CLBT).

Cellebrite specialises in extracting encrypted data from mobile phones and other devices aiding law enforcement and enterprises in criminal and cybersecurity investigations. Over 90% of crime commited today has a digital element. And when it comes to decrypting mobile phones, Cellebrite is the global gold standard.

The company is now leveraging AI to analyse encrypted data – drastically accelerating a task that’s historically been increadibly labour intensive identifying patterns, discovering connections, and establishing leads.

Most of Cellebrite’s revenue comes from law enforcement, exposing Cellebrite to the risk of budget cuts. In fact, fears of lower US federal spending is why the stock dropped sharply in early 2025. And with a premium valuation, investors can expect more volatility moving forward. But in the long run, Cellebrite has what it takes to be an AI winner in my mind. That’s why I’ve already bought shares.

Zaven Boyrazian owns shares in Cellebrite.

Dell Technologies

What it does: Dell Technologies provides a broad range of IT products and services and is an influential player in AI.

By Royston Wild. Dell Technologies (NYSE:DELL) isn’t one of the more fashionable names in the realm of artificial intelligence (AI). The good news is that this means it trades at a whopping discount to many of its peers.

For this financial year (to January 2026), City analysts think earnings will soar 41% year on year, leaving it on a price-to-earnings (P/E) multiple of 12.6 times. Such readings are as rare as hen’s teeth in the high-growth tech industry.

In addition, Dell shares also trade on a price-to-earnings growth (PEG) ratio of 0.3 for this year. Any reading below 1 implies a share is undervalued.

These modest readings fail to reflect the exceptional progress the company’s making in AI, in my opinion. Indeed, Dell last month raised guidance for the current quarter as it announced “unprecedented demand for our AI-optimised servers” during January-March.

It booked $12.1bn in AI orders in the last quarter alone, beating the entire total for the last financial year. Dell is a major supplier of server infrastructure that let Nvidia’s high-power chips do their thing.

Dell’s shares could sink if unfavourable developments in the ongoing tariff wars transpire. But the company’s low valuation could help limit the scale of any falls.

Royston Wild does not own shares in Dell or Nvidia.

Salesforce

What it does: Salesforce is a customer relationship management (CRM) software company that is developing AI agents. 

By Edward Sheldon, CFA. We’ve all seen the potential of artificial intelligence (AI) in recent years. Using apps like ChatGPT and Gemini, we can do a lot of amazing things today. These apps are just the start of the AI story, however. I expect the next chapter to be about AI agents – software programmes that can complete tasks autonomously and increase business productivity exponentially. 

One company that is active in this space is Salesforce (NYSE: CRM). It’s a CRM software company that has recently developed an agentic AI offering for businesses called ‘Agentforce’. It’s still early days here. But already the company is having a lot of success with this offering, having signed up 8,000 customers since the product’s launch last October. 

Now, Salesforce is not the only company developing AI agents. So, competition from rivals is a risk. I like the fact that the company’s software is already embedded in over 150,000 organisations worldwide though. This could potentially give it a major competitive advantage in the agentic AI race.  

Edward Sheldon has positions in Salesforce.

Salesforce

What it does: Salesforce is a cloud-based software company specialising in customer relationship management, helping businesses manage sales, marketing, support, and data.

By Ben McPoland. I think Salefsforce (NYSE: CRM) looks well set up to benefit in the age of AI. Specifically, its Agentforce platform, which lets businesses deploy AI agents to handle various tasks, could be the company’s next big growth engine. 

By the end of April, it had already closed over 8,000 deals, just six months after launching Agentforce. Half of those were paid deals, taking its combined data cloud and AI annual recurring revenue above $1bn.

Granted, that looks like small potatoes set against the $41.2bn in sales it’s expected to generate this fiscal year. But it’s still very early days, and management reckons the digital labour market opportunity could run into the trillions of dollars.

Of course, it’s always best to treat such mind-boggling projections with a healthy dose of scepticism. And the company does face stiff competition in the AI agent space, especially from Microsoft and ServiceNow.

Nevertheless, I’m bullish here. Salesforce is already deeply embedded in sales, service, and marketing. Its AI agents slot into existing workflows, which I think will prove to be a big advantage over unproven AI upstarts.

Ben McPoland owns shares of Salesforce. 

John Mackey, former CEO of Whole Foods Market, an Amazon subsidiary, is a member of The Motley Fool’s board of directors. Suzanne Frey, an executive at Alphabet, is a member of The Motley Fool’s board of directors. The Motley Fool UK has recommended Alphabet, Amazon, Cellebrite, Microsoft, Nvidia, and Salesforce. Views expressed on the companies mentioned in this article are those of the writer and therefore may differ from the official recommendations we make in our subscription services such as Share Advisor, Hidden Winners and Pro. Here at The Motley Fool we believe that considering a diverse range of insights makes us better investors.

More on Investing Articles

Hydrogen testing at DLR Cologne
Investing Articles

Which offers better value, Rolls-Royce or Lloyds shares?

Price is what you pay, value's what you get. With this in mind, do Rolls-Royce shares look more attractive than…

Read more »

Satellite on planet background
Investing Articles

By mid-2027, analysts expect £5,000 in BAE Systems shares to be worth…

BAE Systems shares have pulled back by around 20% in recent months. After that dip, there could be the potential…

Read more »

Landlady greets regular at real ale pub
Investing Articles

Down 6% since January, can Sir Dave still rescue Diageo’s shares?

Diageo’s boss has been in charge since the start of the year. But the price of the drinks giant’s shares…

Read more »

Arrow symbol glowing amid black arrow symbols on black background.
Investing Articles

3 second-income shares tipped to grow dividends by 10%-20% over the next 3 years

Mark Hartley breaks down the investment case behind three dividend stocks that are forecast to deliver exceptional second income in…

Read more »

Aston Martin DBX - rear pic of trunk
Investing Articles

By July 2027, Aston Martin shares could turn £9,999 into…

Aston Martin shares have collapsed in value since mid-2021. But could the FTSE 250 motormaker be set to rebound after…

Read more »

Close-up image depicting a woman in her 70s taking British bank notes from her colourful leather wallet.
Dividend Shares

By July 2027, £2k in this FTSE trust yielding 10.3% could turn into…

Jon Smith talks through a FTSE investment trust that boasts a double-digit percentage yield but also has other attractive elements.

Read more »

Overjoyed exited middle aged married couple giving high five, finishing doing domestic paperwork together at home. Euphoric happy older mature spouses celebrating successful investment or purchase.
Investing Articles

How a Stocks and Shares ISA can save you from the weak, inadequate State Pension

Mark Hartley explains why the UK State Pension is not enough to retire on, and how a Stocks and Shares…

Read more »

Finger clicking a button marked 'Buy' on a keyboard
Investing Articles

Down 53% to 99p, insiders are loading up on this FTSE AIM stock

Despite crashing in the FTSE All-Share Index in July, this growth stock can still double, say two City brokers. Why…

Read more »