Product

Memory

How Memtro learns, personal versus shared knowledge, history as of any date, and importing from ChatGPT and Claude.

Open Memtro

Memtro's memory is your organisation's knowledge graph: people, companies, tickets, decisions and the facts about them, with a semantic index for retrieval. It is filled from four directions: what people tell it in chat, what the model learns while using tools, what connector syncs pull in on a schedule, and your own organisation's members and teams.

Nothing here needs a vector database, an embedding key or a pipeline of yours. Point a client at Memtro, connect one system, and the graph starts filling.

What gets remembered

After each reply, the latest exchange and the tool results it used go through an extractor that keeps only durable knowledge:

  • Facts about people, teams, customers, projects, systems, deals, tickets and documents.
  • Decisions and their rationale, events that happened, procedures ("how we do X"), and preferences.

A procedure memory is a sentence like any other fact and competes in retrieval as one. It is not the same thing as a procedure in the register below, which is a named sequence the assistant is told about and reads before working through that job. Both are wanted, and the second is the one that shapes how work gets done.

Extraction only runs when the exchange plausibly contains something durable (names, dates, money, decisions, tool results; always in agent mode), and never twice for the same exchange.

A memory is a sentence with a record attached to it:

What it carriesWhy it is there
Kind — fact, decision, preference, event or procedureA preference and a contract term should not rank against each other as though they were the same thing.
Subject — the entity it is mostly aboutSo everything known about one customer can be read together.
Validity — when it held in the world"The contract ran until June" stays worth saying after June, without competing with what is true now.
Belief — when Memtro recorded it, until something superseded itThe second clock, which is what makes history answerable.
Confidence and importanceA hedged remark and a signed figure are not equal evidence.
Corroborations — how many independent sources assert itTwo systems agreeing is the strongest signal memory has.
Provenance — the tool, the system, the record id, the URLSo an answer can be followed back to the record that produced it.
Uses — how often retrieval has handed it to a modelA memory that keeps earning its place is worth more.

A new fact that corrects an older one marks it superseded instead of leaving two truths; the old memory stays, stamped with the day it stopped being current.

Your words, your sequences, your numbers

Facts are the obvious half of what an organisation knows. The half that decides whether a fluent answer is also a right one is the part nobody writes down: what your words mean here, how your jobs are actually done, and what your figures are computed from.

All three come out of the same extraction pass, from the conversations your people are already having. None of them is a feature to switch on, none has a page to maintain, and none asks anybody to work a queue:

What it holdsWhy memory needs it
VocabularyThe words your business uses in its own way — "settlement", "MID", "exposure" — and what each one points at hereA word is read in every answer. Read in its ordinary sense it makes an answer subtly wrong, in a way nobody reviewing it can see
SequencesHow a particular job is done here: what a chargeback dispute involves, what month-end close actually isMemory holds what is true; this is what is done. The half a new joiner spends six weeks inferring, and the half an assistant otherwise invents plausibly
FiguresThe rule behind each of your numbers: the filter, the grain, the exclusionsA number computed the obvious way is not vaguer than yours, it is different — and it arrives with the confidence of the right answer

What settles an entry is where it came from, not a second step somebody has to remember. A person stating a definition or walking through a sequence in a conversation settles it where they say it; the same thing lifted out of a document a tool returned, or written by a scheduled run with nobody watching, is kept as unconfirmed and labelled that way in every answer that uses it. It is the same test applied to a remembered fact, for the same reason: a person was there and the request had read nothing external, so the conclusion is as good as they are.

Two of the three also fill themselves from what is already connected. Words that recur across several of your systems are raised for somebody to confirm, and figures are proposed from the numbers your systems already record and from the catalogue of any connected database — none of them ever settled by that pass, because a rule read off a column name is a guess about the most consequential thing memory holds.

Documents you attach to a conversation

Attach a PDF, a Word document, a spreadsheet, a deck, an HTML page or anything textual — CSV, JSON, code — from the chat composer, by the paperclip, by dropping it in, or by pasting it. Its text is read into the conversation before your question, so the reply is about the document, and the exchange is learned from like any other: what the conversation concludes about a contract is remembered, without the file becoming a thing you have to store or manage anywhere.

Two things worth knowing. A document is treated as text from outside — the same standing as a ticket body a connector read, because a PDF is if anything the easier thing to plant — so the conversation that reads one records what it concludes as unverified, and the rest of the rules on this page apply to it. And up to 200,000 characters of any one document reach the model, with the cut named in the text, so an answer drawn from the first part of a large spreadsheet cannot read as an answer about the whole of it.

Entities and the graph

Named things (people, companies, tickets, deals, repositories…) become nodes with aliases and external ids. Connector results are anchored deterministically, without a model call: a HubSpot contact becomes a person keyed by its HubSpot id and email, linked to its company; a Help Scout conversation becomes a ticket linked to the customer and the assigned agent; GitHub issues link to repositories and authors. Matching goes external id → exact name or alias → fuzzy name confirmed by embedding, so new spellings become aliases rather than duplicates.

Connectors that would otherwise each build their own island agree on a shared spelling for the things they have in common — a commit, a repository, a file path, a ticket key — so when Sentry names a commit and GitHub names the same commit, the second write finds the first node and two systems are talking about one thing. That shared vocabulary is what makes memtro_why able to answer why is this code like this from five systems at once.

Your own organisation is in there too. Every hour its teams and its members become entities: a person keyed by their Memtro user id and email, carrying their role, linked to the organisation and to each team they are in; a team carrying its description, linked to the organisation. So the agent can answer who is on the Platform team? or who should I ask about billing? without a connector. Because people are keyed by email, someone who is also a CRM contact or a mailbox correspondent stays one node, and whatever a connector or the extractor already recorded about them is left alone. Members and teams are on the Organisation page for everyone in an organisation, so these are written at shared visibility; API keys have a member identity of their own and are skipped, since they are not colleagues.

What an entity is, written from what is known

An entity's description used to be whatever its first writer said — a connector's one-liner ("Contact"), or the extractor's impression from the one sentence it appeared in — and nothing ever revisited it. The graph could hold forty facts about a customer and still describe it as "Company".

A nightly pass writes a card instead: two or three sentences saying what the thing is and what currently matters about it, from the facts and relationships memory actually holds — the busiest entities first, and only where something has been learned since the last card. Two things follow from that:

  • One retrieved line now carries what ten facts would, which is the cheapest context there is per token.
  • The vector is made from the card, so an entity can be found by what it is rather than by what it is called: which customer keeps missing payments reaches a card that says so.

A card is deliberately conservative — only what the facts in front of it say, no inference, no advice, no judgement — because a card is read as settled truth about a person or a customer, which is exactly where an invented sentence does the most damage.

The measurable half

A sentence is the right shape for Priya owns the billing migration and the wrong one for the Acme deal is worth £48,000 and closes on 14 March. Questions that compare, filter or total — which deals are over £50k, what renews this quarter, how big the team is now — cannot be answered from prose: the model has to read every sentence that might be relevant and hope it found them all.

So the extractor also lifts attributes onto the entity they belong to: a key, the value as stated, and the value again in whatever type it actually is — a number with its unit, a date, or text where it is neither. The sentence is still written as a memory; this is an index over the same knowledge rather than a second copy of it, and each attribute keeps the memory that asserted it, so where does this number come from has an answer.

memtro_values reads them back, and the model is told two things when it answers from them: each value is what was stated on the date given and not a live reading, so check the system that owns the figure before anything consequential rests on it; and a value that is missing is missing from memory, not from the business, so a total from it is never presented as complete. The entity's panel in the memory explorer lists its attributes.

Relationships, and how they end

An edge carries the same two clocks a memory does: when the relationship held in the world, and when Memtro believed it. Before that, somebody who left in March still worked at the company, and an as-of read could rewind every fact except the graph around them.

  • The extractor records an ending when the text states one.
  • An edge's weight counts the separate days the relationship has been asserted on — corroboration, for the graph.
  • Whether a later assertion undoes an ending depends on who is asserting. A conversation saying the relationship holds revives it; an hourly CRM sync that simply has not caught up does not, because the meeting note saying somebody left was a person actually telling us.

Answers are given the live relationships. The memory explorer shows the ended ones, marked.

Personal, team and shared

Every write has a scope. The request's memory setting (or the Chat page's Memory dropdown) is a ceiling:

  • In a shared request, the extractor classifies each fact. Company, customer, system and colleague knowledge stays shared. Your own preferences, working style, private life and reminders are stored as personal. An entity mentioned only by personal facts stays out of the shared graph.
  • In a personal request nothing is ever promoted to shared.
  • A personal statement never supersedes a shared fact, and vice versa.

The memtro_remember tool takes the same scope choice, so "remember this just for me" does what it says.

There is a third scope between them: a team's. It is written when somebody leaves and their personal memory is handed to the team that needs it next — one of the three choices offered on removal, with a receipt either way (see Billing, seats and leaving). Members of that team then read it as they read shared memory, and nobody else does. A sub-team does not inherit its parent's: memory is read from the teams you are actually in.

Retrieval

Every request has relevant memory retrieved into it before the model sees the question. Retrieval is the part of a memory system that decides whether any of the rest of it was worth doing, so it is worth saying how it works.

Four ways in, fused on one scale

  1. Vector similarity over the memories and the entity cards.
  2. Full-text rank in Postgres, matching any of the query's terms.
  3. Entity-centric recall: the facts attached to the entities the question names.
  4. One hop further out: what is known about their neighbours — who is Priya's manager is answered by a fact attached to Dan, not to Priya.

The four lists are combined with reciprocal rank fusion, which flattens the difference between first and second place rather than letting one method's confidence swamp the others.

If an organisation has no embedding model at all, retrieval and memtro_search fall back to keyword search over the same memories, and rows written in that state are embedded automatically once a model is available.

The question is read in its conversation

Memory used to be searched with the last user message, raw. That works for the first question of a conversation and fails for the second one — the one where people stop repeating themselves.

Measured against the local encoder, "and who does she report to?" scores 0.17 against the memory that answers it, below any usable threshold, while the same question with its antecedent restored scores 0.67. The right memory was there all along; the query could not reach it.

So a thin message — short, leaning on the turn before it — is searched with the names and identifiers already mentioned and the question they were mentioned in. No model call, nothing to configure: a message that stands on its own is left exactly as it is.

A cross-encoder reads each pair

An embedding scores a memory without ever seeing the question: both become vectors separately and the angle between them is the verdict. That is what makes it cheap enough to run over the whole store, and it is also why it mistakes a shared word for an answer. For "who owns the billing migration?", the memory "Acme Travel's renewal is due 14 January and Tom is the account owner" scores 0.36 — inside the band a threshold has to keep, because the memories that answer conversational follow-ups score lower than that.

A cross-encoder has no such problem, because it sees the pair. ms-marco-MiniLM-L-6-v2 runs on the same machine as the embedding model, reads question and memory together, and scores that pair −6.7 against +9.6 for the memory that actually answers — not a threshold to tune but a gap to fall into. It costs a forward pass per candidate, so it reranks the handful retrieval already found rather than the store: around 70 ms for forty pairs, no API key, and it fails soft — with no weights, retrieval keeps its fused order.

The gate, and the spread

What reaches the prompt is then filtered twice.

  • The relevance gate is relative. A fixed cosine cannot work: 0.22 on this encoder sits below the band where plausible-but-wrong memories live and above where a conversational follow-up lands, so it admits noise and rejects answers in the same breath. Hits are kept relative to the best hit this query could find, and a hit that matched the question's own words passes on that ground alone — that is evidence independent of the encoder, which is what the lexical half of the search is for.
  • Near-duplicates lose their slot. Consolidation merges them, but only overnight and only when they are very close, so four phrasings of one fact could take four of the eight places a request has. Maximal marginal relevance prefers a distinct fact of middling relevance over a second phrasing of one already taken, and a near-duplicate still gets in when nothing else is left to take its place.

When nothing comes close, the context block says so rather than handing the model eight plausible-looking memories that happen to share a word with the question. An assistant that answers "I don't know about that" is worth more than one that answers confidently from noise.

Ranking

Fused relevance is multiplied by what memory knows about the memory itself:

FactorEffect
RecencyA six-month half-life, between ×0.5 for very old and ×1.0 for today.
Importance×0.5 to ×1.5.
UsesUp to ×1.25, saturating at twenty retrievals.
CorroborationUp to ×1.3, saturating at three independent sources.
Expired validity×0.35 once a stated end date has passed — ranked below what holds now, and labelled rather than hidden.

The arithmetic lives in one place and the SQL is built from the same constants, so the ranking Postgres applies and the ranking applied to candidates fetched another way cannot drift apart.

Agent mode gets a larger context than a single-turn request. Retrieved memories gain a use count that feeds future ranking.

Long memories are embedded whole

The local encoder reads 256 tokens and drops the rest. Measured, a point at the end of a 670-token statement scored 0.08 against the question it answered, where the same point on its own scored 0.31 — the tail was not in the index at all. Anything longer than the window is now embedded a window at a time and the windows pooled. A short memory's vector is unchanged.

What every answer is told

Retrieval cannot supply the handful of facts that bear on every question — we are a B2B travel payments company, who is who, what matters this quarter. Bearing on every question means being closest to none of them, so they lose their slot to whatever the question is actually about.

An organisation writes them by hand, under Organisation → What every answer is told, and they ride in the cacheable prefix of every prompt — paid for once a session rather than once a turn. The model is told to read them as background rather than as a quotation to repeat, and that they are maintained by hand and may be out of date on any particular point, so an answer that turns on one of them should be checked against memory or the system that owns it.

Three things ride in the same prefix, for the same reason — each bears on every answer rather than on the one question that asks about it:

  • the confirmed glossary, because a word is read in every answer;
  • the names of your figures with what each counts and its unit, so the assistant knows your company has its own definition of "churn" and reads the rule before giving a number;
  • an index of your procedures — the name and the moment each applies, never the steps, which are fetched when that job actually comes up.

The words that nobody has defined ride there too, as words alone and with no meaning attached: if one of them decides what the assistant is about to say, it asks rather than assuming, and records what you tell it.

What the answer drew on

Memory recorded where every fact came from the whole time, and none of it reached the person reading the answer. They were told Acme's renewal is 14 January and had to take it on faith, or go and check four systems for one sentence.

Answers now carry the records they drew on, as links into the systems that hold them: memtro.citations on the API response, and a list under the reply in Chat. Each is the system, a label, the record's id, and a URL that opens it where the connector recorded one.

It is deliberately what this drew on, never the source of that sentence. There is no honest way to know which of eight retrieved facts a model leaned on for a given clause, and a citation that implies otherwise is worse than none: it invites somebody to check the wrong record, find it says something different, and conclude the product lies. So it is the set of records that were in front of the model, offered for checking.

What memory could not see

Memory holds what the connected systems have told it. If no notetaker is connected, nothing anybody said in a meeting is in there — and an answer that does not say so is overstating itself.

So every answer drawn from memory names the categories with nothing connected: no notetaker, no mailbox, no support desk, no wiki. The categories that count are the places where people say things to each other and where the record of work lives; monitoring or advertising having nothing connected is not a hole in what somebody promised or decided, so its silence is not worth a sentence. Tool results can afford the names, and list them.

This started as one field on memtro_commitments and is the most honest thing in the product: a sweep that quietly rests on whatever happened to be connected reads exactly like a complete one.

History

Memory is bitemporal. Each memory carries two time axes: when the fact held in the world (its validity dates, where the text stated them), and when Memtro believed it, from the moment it was recorded until a newer memory replaced it. Supersession keeps the old memory and records when it stopped being current, so nothing that was ever believed is lost, and reads can use the history instead of only the present.

  • As of a date. "memtro": {"as_of": "2026-07-31"} on a request, or as_of on the memtro_search and memtro_explore tools, reads memory as it stood at the end of that day: what was believed then, with nothing recorded or corrected since, and recency measured from that day rather than today. The injected context is headed with the date, and a memory that has been revised since is marked with the day it was. An as-of request learns nothing from the exchange, so looking back never rewrites the present.
  • Timeline. memtro_timeline walks how knowledge changed: the memories recorded or superseded in a window, oldest first, each with when it was recorded, when and by what it was replaced, and the dates it was valid for. Name an entity to follow one thing, or leave it out for everything that changed in the window. It is the only read that returns superseded memories.

Between them these answer what did we believe about the BigCo renewal in July?, how did that deal change over the quarter? and what changed while I was away? The model reaches for them on its own when a question is about the past or about change; you can also pin a whole conversation to a date with as_of. See Time travel.

Kept exchanges, read again

Extraction is one pass. It ran once per exchange, behind a fingerprint that stopped it ever running twice, and whatever it failed to notice was gone — the thing it read was never kept anywhere the extractor could reach. So every improvement to extraction only ever applied to the future, and the richest material a company has, the months of conversation already had, stayed as whatever the first reading made of it.

An episode is that material: the transcript, the tool results, and which generation of the extractor read them. A better extractor is then a query away from everything it has not seen, and a nightly pass works through the backlog.

Two rules keep a second reading safe. It writes under the ceiling the first reading had, which the episode records, so a private conversation re-read cannot publish to the organisation. And it does not supersede by resemblance: a re-read of the same words would otherwise retire the memory it is re-deriving, so only an explicit correction counts.

These are the one place Memtro holds raw conversation outside the chat it happened in, so they are swept on a window like a chat trace — ninety days by default, under Organisation → Privacy & Retention — and an erasure deletes matching transcripts.

Keeping it tidy

  • Connector sync runs hourly: recent HubSpot deals, companies and contacts, Help Scout conversations, GitHub issues and pull requests, Jira and Linear issues, and the next two weeks of Google Calendar, so Memtro knows the company before anyone asks. "Sync now" is on the Connections page.
  • Historical backfill. An hourly sync asks "what changed since last time", so a connection made on Monday knows about Monday, and the graph then fills at whatever rate the company happens to send mail. Connections that can do it also walk backwards — a bounded slice an hour, from today towards a horizon a year back — so the first week of a trial is not spent watching an empty graph. Gmail, HubSpot and Help Scout can; the rest say so by type rather than by guess. Writes go through the same path as a forward sync, so re-reading a record costs nothing and duplicates nothing.
  • Consolidation runs nightly and needs no input from you: clusters of near-duplicate memories are merged into one statement, with their provenance kept. A second system asserting what memory already holds is not dropped as a duplicate — it raises the corroboration count, nudges confidence towards certainty without reaching it, and keeps both provenances.
  • Entities are rationalised on the same nightly run. The same person arrives from a mailbox as an address, from GitHub as a login, from a CRM as a full name and from this app as a profile, and whichever got there first owns the record and names it. Candidates are found the way a search finds them — a shared identifier, a shared full name, a near-identical spelling the embeddings also agree about — and then the two records are folded into one, under the best name either of them had: adamclark-dev and Adam Clark become Adam Clark, with the login, both email addresses and the old spelling kept as aliases, so a search for any of them still arrives. Every edge and every memory comes across. Resembling something is not being it, though, and a merge cannot be undone: Invoice INV-0185 and INV-0182, Sam Clark and Nick Clark, Diversity Travel and Diverse Travel all look alike and are not. So names whose numbers differ are never the same thing, a shared identifier is the only evidence acted on by itself, and every other candidate is put to a model — with each record's identifiers and relationships in front of it — which is told to decline when it is unsure.
  • Memory nobody has confirmed is judged overnight, not queued for you. Anything read from a connected system, or concluded during a turn that had read from one, is stored unverified: it is retrieved and used, labelled as such in the prompt, and ranked below anything a person said. Most of it is then confirmed without anybody doing anything — somebody mentions the same fact in a conversation and the quarantine lifts, and a system whose facts have been confirmed three times with none corrected becomes trusted outright, so its later readings arrive trusted. What is left approaching its deadline is put to a model, which decides whether each note is specific and durable enough to be worth another two months or should go now. It is never asked whether the note is true — the sentence in front of it came from the system being judged, so believing it on its own say-so is exactly the thing the quarantine exists to prevent — so nothing it decides can make a note trusted, and the worst outcome is an unconfirmed note living a while longer as what it already was.
  • Cards, attributes and the backlog are written on the same nightly run: a card for each busy entity that has learned something since its last one, and a second reading of the exchanges a newer extractor has not seen.
  • The Memory page (Dashboard → Memory) is an interactive graph of what Memtro knows. Click an entity to see its card, attributes, relationships and the facts attached to it; double-click to pull in more of its neighbourhood; search by name or by what a memory says. Nothing is added by hand there: memories arrive from chat, tool results and connector syncs. You can delete any memory or entity you do not want kept.

The tools memory exposes

The same tools are available to the model in Chat, over the API and to any MCP client — as the person whose key is used, with their scope and their permissions.

ToolWhat it does
memtro_searchSearches memory. Takes as_of to read a past date.
memtro_rememberSaves a durable fact, with a scope of personal or shared.
memtro_exploreWalks an entity: its card, attributes, relationships and facts. Takes as_of.
memtro_timelineHow knowledge changed: recorded and superseded memories, oldest first.
memtro_valuesThe amounts, dates and counts recorded against entities, for questions that compare or total.
memtro_glossaryWhat a word means in this organisation, as a pointer rather than a definition.
memtro_whyWhy a piece of code is the way it is, from the pull requests, tickets and threads joined to it.

The registers add their own: memtro_commitments, memtro_contradictions and the tools that settle them. The full list, with every input, is in the tools reference.

Importing from ChatGPT and Claude

Neither product exposes its memory through an API, so Dashboard → Import works from what they do offer: paste the memory summary each product shows in its settings, or upload the official data export and Memtro processes the conversations through the same extraction pipeline in resumable batches. See the import guide.

Also worth reading

Where agents remember your company

Sign in, add a provider key, create an API key and point your tools at Memtro. It takes about five minutes.

7-day free trial · card on file, nothing charged until it ends · cancel any time