Long-term memory for AI assistants

Long memory, short context.

Cognema gives AI assistants a memory that lasts. It takes a conversation through an API, extracts facts, builds layered memory — and returns a compact context when your assistant needs it.

Early access by request

An assistant that forgets meets every user as a stranger. Cognema keeps what was said, distils it into facts and memory, and hands back only what the moment needs — in hundreds of tokens, not thousands.

How it works

How a conversation becomes memory

  1. 01 / 04

    Conversation

    Your app sends each message through the API. The most recent turns stay word for word in a sliding window.

  2. 02 / 04

    Facts

    In the background, facts are extracted, checked and de-duplicated. When something changes, the fact is revised and its history kept.

  3. 03 / 04

    Memory layers

    Recent turns, episodes and facts settle into layers, linked by association — so one memory can bring up the next.

  4. 04 / 04

    Compact context

    When your assistant asks, Cognema searches every layer, ranks what it finds and returns a short context — hundreds of tokens, not thousands.

Inside

Built like a memory, not like a search index.

Search returns what looks similar. Memory knows what is true now, what has changed, who is who and what matters. Most of that work happens between conversations.

  • It reconciles.

    New facts are checked against what is already known. When something changes, the old version is retired, not erased.

  • It keeps time.

    “Last Friday” becomes a date. Every fact knows when it was said.

  • It knows who is who.

    People and things are recognised across conversations — and namesakes are kept apart.

  • It rereads.

    After a dialogue ends, memory goes over it again and picks up what the first pass missed.

  • It notices patterns.

    Habits, recurring themes and the way a person changes are recorded alongside the facts.

  • It forgets on purpose.

    What is used grows stronger, what is not fades — so years of history do not crowd out what matters now.

Twenty modules, modelled on how human memory works.

Perception what was said

Sliding Window
recent turns, word for word
Sensory Decomposer
the signals in each message
Attention Focus
what stands out
Event Constructor
turns become events

Stores where it is kept

Episodic
what happened, and when
Semantic
facts, with their history
Emotional
how it felt
Crystal Core
who the person is

Connections how it is linked

Associative
links between memories
Indexing
keeps memories findable
Resonance
one memory brings up the next

Time and self how it changed

Timeline
rhythms and cycles
Self-History
how the person changes
Metacognition
when an earlier belief was revised
Causal
why — when the question asks why

Sleep between conversations

Consolidation
merging what belongs together
Somnus
a second reading after the dialogue ends
Pattern
habits and recurring themes
Priority Decay
strengthening the used, fading the unused

Recall what to return

Retrieval Engine
searches every layer, ranks, fits the budget

Who it’s for

Built for assistants people come back to.

  1. 01

    Assistants with returning users.

    A companion, a coach, a tutor — anywhere the hundredth conversation should feel different from the first.

  2. 02

    Support that remembers the customer.

    No more “can you remind me of your setup?” — the history arrives with the question.

  3. 03

    Teams that count tokens.

    If you already paste history into the prompt and watch the bill grow, memory says the same thing in fewer tokens.

The answer

Not a pile of snippets. A brief.

When your assistant asks for context, it gets a short, ordered brief about the person it is talking to:

  1. The conversation so far
  2. Who this person is
  3. What is true now, relevant to the question
  4. Habits and recurring themes
  5. How they have changed
  6. Why — when the question asks why
  7. The emotional background

You set the token budget. Cognema decides what fits.

Measured

Benchmark result

85.39% accuracy on the LoCoMo benchmark — with about 620 tokens of memory context per question on average.

How we measure

Method

How we measure

One number means little without the conditions it was measured under. Here they are.

Benchmark
LoCoMo, all 10 conversations, 1,540 questions in four categories. The adversarial category is not scored.
Building memory
Small models throughout: Gemini 2.5 Flash-Lite extracts facts, Voyage models embed and rerank.
Answering
The answering model (Gemini 3.1 Flash-Lite) sees only the question and Cognema’s context — about 620 tokens on average, never the conversation itself.
Grading
An LLM judge (Gemini 3 Flash, preview version) grades each answer against the reference. Disputed answers were re-judged three times; the total did not move.
By category
  • 87.0Single-hop
  • 84.1Temporal
  • 83.3Multi-hop
  • 81.2Open-domain
Open weights
The same pipeline on an open-weights model we host ourselves (Qwen3-30B): 84.61%.
What this is not
An internal run, a single pass, not independently verified. Published scores on this benchmark differ in judge, answering model and how much context is sent — so we print the context size next to the accuracy.

Design principles

  1. 01

    Hundreds of tokens, not thousands.

    Context is measured in hundreds of tokens. A small context is cheaper to send and leaves the model room for the task itself.

  2. 02

    Built for years, not sessions.

    Memory is designed to hold a user’s context over years — and to update it when things change, keeping the history.

  3. 03

    Twenty modules behind three calls.

    Send messages, end a dialogue, ask for context. Extraction, layering and ranking happen on our side.

Privacy

Your users’ conversations are not our product.

  • During early access we agree with each team where data is stored and which models process it.
  • We do not use conversations to train models.
  • Data is deleted on request.

Founder

Cognema is founded and built by Stanislav Gilev.

Give your assistant a memory.