Understand why stateless agents fail at long-horizon tasks and how memory-first architecture gives agents persistence and the ability to learn across sessions.
We'd like to know you better so we can create more relevant courses. What do you do for work?

Session expired — please return to Cornerstone to restart the session and complete the course.
Instructors: Richmond Alake, Nacho Martínez
Understand why stateless agents fail at long-horizon tasks and how memory-first architecture gives agents persistence and the ability to learn across sessions.
Build a Memory Manager that handles different memory types, and a semantic tool retrieval system that scales agent tool use without bloating the context window.
Implement memory extraction, consolidation, and write-back pipelines that let your agent autonomously update and refine what it knows over time.
Introducing Agent Memory: Building Memory-Aware Agents, a short course built in partnership with Oracle and taught by Richmond Alake and Nacho Martínez.
Most agents work well within a single session but lose everything the moment it ends. Memory engineering treats long-term memory as first-class infrastructure: external to the model, persistent, and structured. In this course, you’ll learn how to build that infrastructure using Oracle AI Database, LangChain, and LLM-powered pipelines.
You’ll design a complete memory system that stores and retrieves different memory types, scales tool access using semantic search, and builds write-back loops that allow agents to update their own memory autonomously. By the end, you’ll have assembled a fully stateful Memory Aware Agent that loads prior context at startup, assembles relevant context, state, tools, and outputs and improves across sessions.
In detail, you’ll:
Going beyond single-session interactions requires the right memory infrastructure, and this course gives you the hands-on patterns to build agents that don’t just respond, they remember and improve.
Developers building AI agents who want to go beyond single-session interactions. Familiarity with Python and basic LLM concepts is recommended.
Graded・Quiz
Additional learning features, such as quizzes and projects, are included with DeepLearning.AI Pro. Explore it today
Keep learning with updates on curated AI news, courses, and events, as well as Andrew’s thoughts from DeepLearning.AI!