Space now with memory

go dev.to

I Built an AI That Remembers You (No Login Required)

Every AI chat I used felt the same.

You talk.
It replies.
You refresh…

And suddenly it’s:

“Hi, how can I help you today?”

Like bro… we were just talking.

So I built Space.


What Space Actually Is

It’s not “just another chatbot”.

It:

  • Remembers things you tell it
  • Tracks your mood (kind of)
  • Brings up past conversations
  • Talks to you like it knows you

And here’s the twist:

👉 No sign-up. No login.


Wait… So How Does It Remember You?

When you first talk to Space, it quietly creates a user ID for you.

That ID gets sent with every message after that.

That’s it.

No accounts. No passwords.

Behind the scenes:

  • Your conversations are stored in a database
  • Important things you say get saved as “memories”
  • Next time you show up with the same ID… it picks up where you left off

So it doesn’t remember devices.

It remembers you (through your ID).


The Fun Part (aka the problem)

LLMs don’t remember anything.

So I had to fake memory.

I used:

  • Go
  • PostgreSQL
  • Some very questionable pattern matching 😅

How I Made It “Feel Human”

If you say:

“I feel overwhelmed”
“I like coding”

I store that.

Then before every reply, I tell the AI:

“This person has been stressed. Don’t ignore that.”

And suddenly it goes from:

“How can I help?”

to:

“Hey… how have you been feeling since last time?”

That shift is crazy.


The Weird Realization

Memory matters more than the model.

A decent model + context
beats a powerful model with none.

Every time.


One Thing I Was Careful About

This is not therapy.

It doesn’t give:

  • medical advice
  • serious life guidance

It just shows up and talks like a thoughtful human would.


Final Thought

We’re all building AI that talks.

I think the real game is building AI that remembers.


If you were building this…

Would you store everything?

Or only what actually matters?

Source: dev.to

arrow_back Back to Tutorials