For the last few weeks, Iāve been building something I couldnāt stop thinking about:
A memory system for AGI.
Iāve always been fascinated by how humans can remember things we did days, weeks, or even years ago ā and how that memory shapes the way we act, learn, and evolve.
But when I looked at most AI systems, even the most advanced ones, they forget almost everything.
So instead of just reading about it, I decided to build it.
What I Noticed
Most large language models donāt really ārememberā anything beyond the current session.
You canāt ask them things like:
āWhat did I do yesterday?ā
āWhat happened last week?ā
And if you try, they usually say something like:
āI donāt have access to previous conversations.ā
That didnāt feel right to me.
If we want to move toward real AGI, we need to solve memory first ā not later.
So I Built My Own
I created a simple but working episodic memory system from scratch.
Itās not perfect, but it works.
And it does something most models canāt: it remembers actual experiences.
Every time something happens ā a message, event, or interaction ā itās logged into a memory file under that dayās date.
Why It Matters to Me
This wasnāt just a coding challenge ā it was about understanding how memory works and how to simulate it.
Hereās what I learned:
How to store and retrieve time-based experiences
How memory helps an AI reflect like a human
That even basic memory creates a feeling of continuity in conversations
More than anything, this small project gave me confidence that solving AGI problems doesnāt require a research lab ā it starts with curiosity and code.
Whatās Next?
Now that episodic memory is working, Iām looking forward to building other memory types:
Semantic Memory ā storing facts, knowledge, and concepts
Procedural Memory ā skills and routines the AI learns
Reflective Memory ā self-observations or evaluations
Emotional Memory (maybe) ā tracking tone, stress, motivation, etc.
Each of these comes with different challenges.
But Iāll take them one step at a time.
If Youāre Building Similar Things
If youāre working on AGI, AI memory, or anything in that space ā Iād love to connect.
Iām still learning, still building, and always looking for people who care about solving core problems.
GitHub: https://github.com/Shreyanshhh12
Email:shreyanshhhh12@gmail.com
This isnāt a guide or tutorial ā just a log of what Iāve built so far.
Thereās still a lot to do.
But at least now, the AI Iām building can remember what it did yesterday.
And that feels like a meaningful step toward something real.
Thanks for reading.
Top comments (1)
Hello Guyss Do check my Github Profile...
Some comments may only be visible to logged-in visitors. Sign in to view all comments.