Coding Chats

AI Agents Have a Memory Problem (And You're Probably Making It Worse)

Coding Chats

Show Notes

Coding Chats Episode 79 - Richmond Alake, Director of AI Developer Experience at Oracle, joins John to discuss agent memory — how AI agents store, retrieve, and adapt to information. He argues that developers building memory on flat files are naively reinventing the database, and that once you factor in concurrency, security, and scalability, a proper database is inevitable. The conversation covers the full memory stack and how Oracle's AI database keeps embeddings and data together without shipping sensitive information to external providers.

The pair also explore why memory is the most universally relatable concept in AI, the history of how neuroscience shaped LLMs, and the problem of Catastrophic Forgetting that still haunts models today. A sharp AGI debate lands on a sobering point: an LLM is just a function — tokens in, tokens out — and most AI engineers are unknowingly rediscovering solutions that database engineers spent decades building.

Chapters 00:00 — What Is Agent Memory and How Does It Work? 05:00 — File System vs Database: Which Should You Use for Agent Memory? 09:00 — Why Building on Files Means You'll Reinvent the Database 13:00 — How Oracle Is Meeting AI Developers Where They Are 15:00 — Why Memory Is the Most Universal Concept in AI 21:00 — From Computer Vision to LLMs: How Richmond Found His Path 24:00 — Catastrophic Forgetting: The Problem That Hasn't Gone Away 26:00 — Is AGI Real? Why the Goalposts Keep Moving 33:00 — Handling PII, Data Sovereignty, and Access Control in AI Apps 42:00 — The Rise of Memory Engineering: AI's Most Underrated Discipline

Richmond's Links: LinkedIn: https://www.linkedin.com/in/richmondalake/ X: https://x.com/richmondalake

John's Links: John's LinkedIn: https://www.linkedin.com/in/johncrickett/ John’s YouTube: https://www.youtube.com/@johncrickett John's Twitter: https://x.com/johncrickett John's Bluesky: https://bsky.app/profile/johncrickett.bsky.social

Check out John's software engineering related newsletters: Coding Challenges: https://codingchallenges.substack.com/ which shares real-world project ideas that you can use to level up your coding skills.

Developing Skills: https://read.developingskills.fyi/ covering everything from system design to soft skills, helping them progress their career from junior to staff+ or for those that want onto a management track.

Takeaways: File systems are fine for prototyping, but the moment you hit production scale you're just slowly reinventing the database. File systems are fine for prototyping, but the moment you hit production scale you're just slowly reinventing the database. Agent memory isn't a new concept — it's data management, and database engineers have been solving it for decades. Memory is the single most relatable entry point for explaining AI to anyone, technical or not. Catastrophic Forgetting isn't a solved problem — it plagued RNNs and still quietly haunts LLMs today. An LLM is ultimately just a function: tokens in, tokens out — which should temper any claims about sentience or AGI. The definition of AGI keeps shifting to match whatever AI can't do yet, making the whole debate almost meaningless. Most AI engineers have less than ten years of experience and are unknowingly rediscovering solutions that search and database engineers spent decades building. "Vector search is all you need" is one of the most dangerous oversimplifications in AI engineering right now. Memory engineering — the crossover between data engineering, search optimisation, and agent design — is an emerging discipline that doesn't have a name yet but absolutely should. The real moat in AI products isn't the LLM itself, it's everything built around it — the harness, the memory, the retrieval pipeline.

More from Coding Chats

Oct 22, 2026

Coding Chats Episode 83 - In this episode, VB from OpenAI’s developer experience team explains why he thinks plan mode is obsolete and how coding agents have shifted from step-by-step instructions to outcome-driven, long-running work. We cover how to write a good agents.md, why tests still matter when agents write the code, spec-driven development, and why cloud agents may be the future of dev tooling.

Oct 15, 2026

Coding Chats Episode 82 - John talks with Dave Westgarth, head of delivery at a Databricks consultancy. Dave shares his path from a psychology degree and McDonald's into tech, and they discuss why the Scrum Master role is so misunderstood, how it differs from a delivery manager, and whether either needs to be technical.They also look at how AI is changing delivery work. Faster code just moves the bottleneck upstream, John argues there's no AI-specific skill you can't learn in a day, and engineering fundamentals are what make AI useful.

Oct 8, 2026

Coding Chats Episode 81 - Ben Howdle talks to John Crickett about being a first time CTO in a start-up. Ben, author of The First CTO, shares what changes when you move from building technology to leading a technical team: the pressure, the trade-offs, and the realization that writing code is only part of the job.Drawing on startup experience and lessons learned the hard way, Ben discusses how to balance quality against runway, manage people, and communicate technical decisions in terms that founders and other non-technical stakeholders can understand. He also explores why resourcefulness, resilience, and comfort with ambiguity matter so much—and why CTOs often spend more time selling ideas than they expect.Whether you’re stepping into your first CTO role or leading a technical team at an early-stage company, this conversation offers candid insights into the realities of technical leadership.

May 28, 2026

Coding Chats Episode 80 - start-up advisor Alexander Berkovich shares his expertise on building successful start-ups, hiring strategies, CTO roles, and the importance of communication between technical and business teams. Discover practical tips for navigating the challenges of early-stage companies and how to align technical excellence with business goals.

May 14, 2026

Coding Chats Episode 78 - John Crickett talks to Robert Harris, an experienced engineering leader. Robert shares hard-won lessons from years of leading software teams, drawing on a distinctive "human systems" lens to explain why so many engineering organisations struggle — not because of bad people, but because of broken systems, misaligned leadership, and invisible cultural forces.

See all episodes →