Hello there, it's been long since I posted my last blog. I have recently been learning a lot about AI agents and I thought of writing a small blog on how AI agent memory works. This is a very beginner-friendly blog. Someone who has little to no idea about how/why AI agentic memory works can get a simple mental model to understand this, and it can become an entry point to explore further.

Context, Context, Context

TL;DR Memory is a context to LLM

If you have been active in the world of LLMs, you probably have heard of this term "Context". It acts as an input to LLMs to produce a response. The context goes through the neural network and predicts the "token" as a response.

The more specific the context is, the more high-quality output you will get.