The Death and Life of Algorithms


The first course I had to take as part of my computer science Master’s was a compulsory course on algorithms.

Regardless of whether you were a data scientist, like myself, specialising in machine learning, or a software engineer specialising in computer systems, everyone had to take it - and for good reason. Because algorithms are the building blocks of everything technology professionals do, much like how protein bases are the building blocks for all things biological.

The AI era hasn’t changed this. But it has brought with it a new set of building blocks, in the form of AI agents. These agents represent a fundamental shift in the data science toolkit, taking data scientists from writers of passive code to developers of autonomous systems.

Yet, algorithms haven’t gone away. They’re still there, embedded within the agents. And there’s now a danger that data scientists will stop thinking algorithmically, and instead reach for LLMs to solve every problem they encounter, even when a simpler, algorithmic solution would do better.

Dr Imran Ahmad, author of 30 Agents Every AI Engineer Must Build and 50 Algorithms Every Programmer Should Know, has seen this firsthand. In the latest episode of Value Driven Data Science, Imran joins me to explore the shift from algorithms to agents and what it means for how data scientists should be thinking about their role.

You’ll discover:

  1. How the data science toolkit has fundamentally shifted since the start of the AI era [02:09]
  2. The difference between broad AI and deep AI [10:18]
  3. The problems that still demand deep algorithmic solutions [14:10]
  4. How to push back when stakeholders insist on an LLM solution [19:21]

Using an LLM for everything is the lazy solution. This episode is about knowing when not to.

Listen now on Apple Podcasts or Spotify, or click the link below:

​Episode 127: From Algorithms to Agents and What It Means for Data Science​

Talk again soon,

Dr Genevieve Hayes

Data Science Impact Algorithm

Twice weekly, I share proven strategies to help data scientists get noticed, promoted, and valued. No theory — just practical steps to transform your technical expertise into business impact and the freedom to call your own shots.

Read more from Data Science Impact Algorithm

Machine learning models are designed to predict outcomes. Given the characteristics of a customer, a machine learning model can, for example, predict whether they'll buy a product, click on a link, cancel a service, or claim on their insurance. But what an ML model can't tell you is what causes the customer to do any of these things - and what would happen if an organisation intervened to change their behaviour. This is because ML models are correlation-based. And as most data scientists...

Recently, I've been systemising my workflows. It's partly about efficiency, but also a way of experimenting with AI. Whenever I encounter a process I've performed dozens of times, I look for a way to automate, templatise or standardise it by feeding my existing knowledge and artefacts into Claude. It's system leverage 101, turbo-charged by AI. But even though AI makes this easier than ever before, none of this would be possible if I hadn't already mastered these tasks. I'm not asking AI to...

If you want to build a physical structure, be it a mine, a bridge, or a factory, the first thing you invariably need to do is create a blueprint. You can’t just show up at the construction site and start building, or you risk wasting a lot of time and money on a project that returns nothing more than a structurally unsound pile of raw materials. The same is true when building a digital twin. But here’s where data scientists have one major advantage over their counterparts in the physical...