DEV Community

Shreyansh
Shreyansh

Posted on

🧠 Building My Own AGI Memory System — A Small Step Toward Something Big

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)

Collapse
 
shreyansh_318a2c48ec683ed profile image
Shreyansh

Hello Guyss Do check my Github Profile...

Some comments may only be visible to logged-in visitors. Sign in to view all comments.