Skip to content

What are memories?

A memory is a small, persistent fact about you that Moonjar keeps between chats. “I prefer Australian English.” “My partner’s name is Sam.” “I’m allergic to peanuts.” The chat assistant pulls relevant memories into every conversation, so you don’t have to re-explain.

Memories come from three places:

  • Auto-extraction. After each chat turn, Moonjar sends the exchange to a separate Claude call that scans for memorable facts — preferences, relationships, plans, recurring details. Anything worth keeping is added; near-duplicates update an existing memory instead of creating a new one. Routine, small-talk, and one-shot questions get nothing.
  • Saved by hand. You can write a memory directly from the Memories tab.
  • Saved through chat. Tell the assistant “remember that I…” and it calls its save_memory tool to add one for you. Moonjar also has a “save this exchange as a memory” path that distils a longer chat down into one concise memory.

Each memory has a title, a content body (typically 1–3 sentences), an optional source tag (where it came from — manual, chat_save, news_interest, and so on), and an optional expiry (so a memory like “I’m in Tokyo this week” can fall off on its own).

Each turn, Moonjar pulls in:

  • Recent memories — your most-recently-saved set, capped to keep the context small.
  • Semantically relevant memories — Moonjar embeds the message you just sent and searches across your memories for matches.

In a shared chat, the same logic applies for every participant — the assistant sees each person’s relevant memories with attribution, so it can answer with the right context for whoever just spoke.

The chat data-flow page covers exactly which AI providers see memory content.

  • Memories are soft-deleted (archived), not hard-deleted. An archived memory stops being injected into chat, but you can restore it.
  • An expired memory (past expires_at) stops being injected as well, with the same restore path.
  • The auto-extractor sometimes misses things, and sometimes saves things you’d rather it didn’t. You can edit any memory or archive it from the Memories tab.