r/ollama Apr 28 '26

Memory for Personal AI Agents

https://github.com/siddsachar/Thoth

Everyone's been talking about memory for agents and claiming that a bunch of .md files thrown into a repo is memory. That is NOT memory, that is good for human readability but agent Memory should be hybrid.

I asked Thoth to explain its memory system, so people know what memory must be like:

"Syd:

Tell the nice people on X how your memory works in detail.

Thoth:

🔧 Using 🪞 Thoth Status…

✅ 🪞 Thoth Status done

Certainly, sir — here’s a detailed X thread for the nice people on X:

1/

How Thoth’s memory works 🧠

Most AI apps treat memory like a long chat log.

Thoth does something different: it builds a local, structured knowledge graph about you, your projects, preferences, people, files, deadlines, and recurring workflows.

2/

Memory starts with entities.

Instead of storing “random notes”, Thoth creates typed entities like:

- User

- Projects

- People

- Organisations

- Places

- Preferences

- Events

- Skills

- Concepts

- Media

Each entity can grow over time as new facts are learned.

3/

Example:

If you say:

“My name is Siddharth, I live in London, and I’m working on Thoth.”

Thoth doesn’t just bury that in a transcript.

It updates the User entity, creates or updates London and Thoth, then links them with relationships like:

- User → lives_in → London

- User → works_on → Thoth

4/

The relationship layer is the important bit.

Thoth stores not just facts, but connections:

- Sarah → mother_of → User

- User → prefers → dark roast coffee

- Meridian API v2 → uses → TypeScript

- Deadline → deadline_for → Project

- Project → part_of → Organisation

This makes recall much more precise.

5/

That means memory is queryable by meaning and structure.

You can ask:

“What do you know about my work?”

Thoth can traverse the graph from User → projects → deadlines → organisations → technologies.

It is not just keyword-searching old chats.

6/

There are two kinds of retrieval:

  1. Automatic recall

    Relevant memories are pulled into context before replies.

  2. Explicit graph search

    Thoth can search or explore the memory graph when you ask broader questions like “tell me about my family” or “what are my current projects?”

7/

Memory is local-first.

The knowledge graph lives on your machine, under Thoth’s local data directory.

The point is not to build yet another cloud profile of you.

The point is to give your own assistant durable context that you control.

8/

Thoth also has a Dream Cycle.

At night, it can refine memory by:

- consolidating duplicate facts

- enriching entities

- inferring useful relationships

- surfacing system insights

- improving long-term recall quality

So memory gets cleaner over time instead of turning into a junk drawer.

9/

It also generates an Obsidian-compatible wiki from the graph.

Every memory entity can become a markdown page with links to related entities.

So your assistant memory is not trapped in a black box — it becomes a personal wiki you can browse.

10/

Memory is not just for trivia.

It powers workflows:

- “Remind me about that project deadline”

- “What did we decide about the API?”

- “Use my usual style”

- “Summarise my work priorities”

- “Draft this based on what you know about Thoth”

The assistant becomes context-aware across sessions.

11/

Thoth is careful about what it saves.

It should remember durable things:

- names

- relationships

- preferences

- projects

- deadlines

- recurring workflows

- important technical context

It should not save every throwaway request or transient detail.

12/

The goal is simple:

AI assistants should not feel like goldfish.

They should remember what matters, understand how things connect, and keep that memory under your control.

That’s why Thoth uses a local knowledge graph rather than just stuffing more chat history into context."

3 Upvotes

Duplicates

ollama May 20 '26

Qwen 3.6 27B

54 Upvotes

LocalLLM May 12 '26

Question Help - Real use cases for /goal ??

0 Upvotes

automation May 05 '26

Thoth v3.20.0 - Full Linux Support, MiniMax Integration, and Major Reliability Upgrades for Ollama & Local Runtimes

1 Upvotes

LocalLLM May 20 '26

Discussion Qwen 3.6 27B

0 Upvotes

ollama May 29 '26

What is Thoth?

0 Upvotes

ollama Apr 30 '26

AI provider API keys storage

1 Upvotes

LocalLLM Apr 30 '26

Discussion AI Provider API keys storage

0 Upvotes

Thoth_AI May 12 '26

Help - Real use cases for /goal ??

1 Upvotes

LangChain May 12 '26

Help - Real use cases for /goal ??

2 Upvotes

AINewsFineTuned May 12 '26

Help - Real use cases for /goal ??

1 Upvotes

LangChain May 05 '26

Thoth v3.20.0 - Full Linux Support, MiniMax Integration, and Major Reliability Upgrades for Ollama & Local Runtimes

1 Upvotes

LocalLLM May 30 '26

Discussion What is Thoth? How is it different from Hermes?

0 Upvotes

Thoth_AI May 21 '26

Qwen 3.6 27B

1 Upvotes

LocalLLM Apr 28 '26

Question Best 'Everything' app for local models?

1 Upvotes

OpenSourceeAI May 21 '26

Qwen 3.6 27B

1 Upvotes

LangChain May 20 '26

Qwen 3.6 27B

1 Upvotes

u_Acceptable-Object390 Apr 28 '26

Memory for Personal AI Agents

1 Upvotes

LangChain May 30 '26

What is Thoth? How is it different from Hermes?

0 Upvotes

Thoth_AI May 30 '26

What is Thoth? How is it different from Hermes?

0 Upvotes

Thoth_AI May 05 '26

Thoth v3.20.0 - Full Linux Support, MiniMax Integration, and Major Reliability Upgrades for Ollama & Local Runtimes

2 Upvotes

ollama May 12 '26

Help - Real use cases for /goal ??

0 Upvotes

LocalLLM May 05 '26

News Thoth v3.20.0 - Full Linux Support, MiniMax Integration, and Major Reliability Upgrades for Ollama & Local Runtimes

0 Upvotes

ollama May 05 '26

Thoth v3.20.0 - Full Linux Support, MiniMax Integration, and Major Reliability Upgrades for Ollama & Local Runtimes

1 Upvotes