Docs Teach your agent

Memory

Facts the agent learns, the log it keeps, how changes are approved, and where to see and edit all of it.

An agent's memory keeps two things. Facts are short statements learned from what people said and decided: "Payments deploys freeze on Fridays", "Ana owns the billing service". Each fact has a number such as F41, quotes the words it came from, and has a lifetime. The log is the record of what happened: chats, reviews, goals and the messages of channels the agent keeps. The agent gets a few relevant facts at the start of every chat turn and review, and searches the log only when it needs to. Nothing is set up: memory fills as people work.

In the portal Agents › your agent › Memory for one agent; Settings › Memory for the whole organisation Everyone can view memory. Admin changes, forgets and approves change requests. Member can tick facts, ask the agent about them, and say yes in the chat to a change of the agent's own facts.

Where facts come from

The memory job reads new material in the background and keeps only what people said. It learns from:

SourceWhat becomes a factShown as
ChatsWhat people wrote to the agent.From a chat
GoalsPeople's replies in a goal, and asks-first actions a person approved.From a goal
Kept channelsMessages of a Slack, Discord or Teams channel the agent keeps, when Learn facts from it is on. See Keep a channel.From a channel
PRDsThe text of a completed PRD.From a PRD
ReviewsA finding someone marked with a note. Accepted risk becomes Accepted risk in <repository>: <note>; not an issue becomes Not an issue in <repository>: <note>.From a review
The portalWho maintains the agent, when a maintainer is added or removed.From the portal
AdminsA fact an admin approved through a change request.Added by an admin

A fact is kept only if the words it quotes are really in its source. A statement and its quote are each at most 300 characters, and one source gives at most five facts. The memory job never learns from the agent's own words, from hidden text, from a message by someone it can't verify, from repository or tool scans, or from rules (those reach the agent through its know-how). A chat over the Chat API with an end user's key never feeds memory.

What a fact holds

PartValues
Typedecision, owner, convention, preference, incident, fact
Scopethe organisation, one repository, one agent, or one channel. An agent sees the organisation's facts, its own, its repositories' and its kept channels'.
Lifetimesee below
Sourceswhere it was learned, with the quoted words and a link

Lifetime and status

LifetimeUsed forWhat happens over time
AlwaysDecisions, owners, conventions and preferences, by default.After 180 days without being used it reads Not used in 6 months. An admin can choose Keep.
Until a dateFacts with an end date.Expires after the date. An accepted risk is due for a check instead: at the risk's own expiry, or 90 days after it was accepted.
Short-livedIncidents and plain facts, by default.Expires after 90 days without being used.
Follows its sourceFacts about a repository, tool server or rule.Expires when that repository, server or rule is removed.

A sweep checks lifetimes every night. A newer fact can replace an older one, which then reads Replaced. Nothing is deleted because of age: a stale, expired, replaced or removed fact stays on record and is no longer recalled.

How the agent uses its memory

  • Recall. At the start of every chat turn, review and top-level goal, the portal picks at most 5 facts that fit the question, within 3,200 bytes, and gives them to the agent. A goal gets them once, for its goal and plan, at its first step; a helper goal another agent asked for gets none and searches with the tools below. A short follow-up (fewer than 8 words, such as "and the other one?") is searched together with the question just before it. Near-duplicate facts are given once: a fact that says the same as one already picked is skipped, unless their numbers differ ("30 seconds" and "60 seconds" both show). A review recalls only the organisation's and the repository's facts. Each fact names its kind and its date, for example [F41] … (decision, as of 2026-11-26). The agent cites a fact it uses by its number, for example [F41]. A review lists the facts it was given in its Memory used box. An id that only a recalled fact names is not listed under Unverified claims.
  • open_memory reads one fact in full, with its sources (up to 8 KiB). A fact the agent can't see answers F12 is not in your memory.
  • search_channel, offered when the agent keeps a channel, searches the kept messages by words, channel, dates (YYYY-MM-DD, UTC) and author. With no words it lists the messages of a date range newest first, which is how the agent answers "what was posted today" or "list today's alerts". It returns up to 20 messages, best match first, and says when there are more; a bot's or webhook's post is marked as the bot's. To count or summarise a range ("how many alerts this week, by client"), the agent asks for it grouped: it reads every matching message in the range, up to 5,000, and answers one line per kind of message (its first line with numbers, ids and times masked) with how many there were, the first and last time, and the sum of each masked number.
  • recall searches the agent's own log and any connected memory it may read. See Memory providers.

The log is never given to the agent unasked. It searches it when a question needs it.

Memory or a live tool? In a chat, a channel thread and a goal, the agent follows one rule. Memory is dated evidence, not the present. It answers questions about the past (what was found, decided or said) and about how people want it to work from memory, without opening facts it was already given. It checks the present state (counts, costs, statuses), and anything memory says does not exist, with a tool when it has one, and otherwise gives the fact's date. "From memory only" means no tool calls when a fact it was given answers the question, and only memory's own search otherwise. When a tool contradicts memory, it says both with their dates and proposes the correction in the same answer.

A finding that something does not exist (for example "no Vetiva integration") is stored as an absence fact, with what was searched, and expires 7 days after it was found.

With an Embed model set, recall and the three search tools find things by meaning as well as by their words: an item found both ways ranks first. Without one, they search by words only.

Each search shows what meaning found on its step in How this was made: the recall step lists the facts meaning added (meaning_refs), and a recall, search_agent or search_channel step carries meaning: whether the question was embedded, how many items were near enough, and up to ten items that only meaning found.

Explore memory

The agent's Memory tab and Settings › Memory are the same explorer. The tab shows one agent; Settings shows the whole organisation. Records are of three kinds: fact, change (a correction, a removal, a lifetime change) and log.

  • The agent tab opens on current facts from the last 30 days. Show everything it was told adds the log. Settings opens on everything except the log.
  • The range menu picks Last N days. The timeline above the list shows records per day; choose a bar to see that day.
  • Filter by attribute lists values for each attribute. Choose ⊕ (Only this) or ⊖ (Not this). The six most common values show, the rest under more.
  • Active filters show as pills after Showing. Choose ✕ to drop one, or Clear all.
  • Each row opens to its attributes and actions. The list shows 50 rows a page, with ← Newest and Older →.

Type words, or key:value to keep only matching records, or -key:value to leave them out. For example:

freeze from:review -from:chat
agent:kubewatch record:change
channel:#ops deploy
KeyFilters by
recordfact, change or log
fromwhere it came from, such as review or chat
statusthe fact's status (current, stale, replaced, removed or expired)
kindthe record's type
keepsa kept channel
person, bywho it is about, who said it
channel, repo, agenta channel, a repository, an agent
conversationone chat

The filters live in the page address (f=, nf=, q=, from= and to= as YYYY-MM-DD, inclusive), so you can share a view by its link. A view holds at most 20 filters.

Ask the agent about facts

  1. On the agent's Memory tab, tick the facts you want to talk about.
  2. Choose Ask <agent> beside Tick facts to.
  3. The agent's chat opens with those facts attached (up to 20). Type your question and send it.

This needs Member. A member who sees a wrong fact can use Tell <agent> what's wrong, which opens the same chat.

A fact's page

Choose a fact's number to open its page. It shows the statement, its status, and:

  • Scope, Lifetime, and Used (Not used yet, or how many times an answer cited it, and when it was last given to an agent);
  • Sources: each place it was learned, with the quoted words;
  • Recalled by: the last 10 times an agent was given it, in a review, chat or goal;
  • History: every change, with who made it.

Under Change, an Admin can:

ControlWhat it does
KeepMarks a stale fact as still true.
RemoveStops it being recalled. Why remove it? offers Wrong, Out of date and Should not be remembered, or Or say why.
RestoreBrings a removed fact back, unless its source is gone.
Correct itWrites a corrected statement with a reason. The old one reads Replaced by the new.
LifetimePick Always, Until a date (with the date), Short-lived or Follows its source, then Save lifetime.

Forget

An Admin can forget log records: open a log row and choose Forget…, or forget a whole chat with Forget this conversation. A fact whose only source is forgotten is removed, and its statement is replaced with (removed: its source was deleted), so none of the forgotten words stay. To forget what an agent sent to a connected memory, see Forget what an agent wrote.

Change memory from a chat

You can ask the agent, in a portal chat, a goal or a Slack, Discord or Teams thread, to change its memory: "forget F12 and F13", "remember that the freeze ends on the 5th", "F7 is wrong, it's Ana now", "remember this thread", "remember #ops since 2026-11-01". The agent also proposes a change itself when a tool contradicts its memory. It uses propose_memory_change, and nothing changes until a person confirms.

Who confirms depends on the change:

  • Adding or correcting a fact of the agent's own, a repository's or a channel's: the person in the chat, a Member or above. The answer ends with Update memory? Reply "yes" to save or "no" to drop: <the change>. Reply yes or no; with several, the question lists them by number, and you reply yes all, yes 1,2 or no 2. The portal reads the reply itself, with no model, and answers, for example Saved as F31: The rota lives in the wiki. The reply must be just that: yes, but check staging is an ordinary message for the agent. It counts only as your next message after the question; once you ask something else, a yes is an ordinary message too, and the change waits on its page until it expires. An asks-first action waiting in the same chat takes the yes or no first. A Chat API conversation never changes memory.
  • Everything else (an organisation-wide fact, a forget, keeping a thread or a channel): an admin. The agent answers: Waiting for an admin to confirm on Entropix: <link>. Nothing has changed yet.

A change confirmed in a chat reads Approved by <name> in the chat (or in a Slack thread) on its card, and confirmed by <name> in the chat in the explorer and on the fact's History. An Admin can choose Undo on the card, or Undo the change that wrote this on the fact: an added fact is removed, and a corrected fact is live again. Undo is refused once the new fact has changed since.

You ask toThe card's titleThe confirm button
Forget facts (up to 20)Forget N facts?, with a tick box per factForget N
Add a fact (for the agent, the organisation or a repository)Remember this?Remember
Correct one factCorrect F12?Correct
Keep a channel threadRemember this thread? N messagesRemember N
Keep a channel since a dateRemember #channel since YYYY-MM-DD? N messagesRemember N

A request waits 24 hours, then expires.

Decide a request in the portal

  1. Open the request: from the card under the agent's answer, from the link, or from Needs you on Home, where admins see waiting requests with Decide.
  2. For a forget request, untick any fact you want to keep.
  3. Add Why if you like, and choose the confirm button, or Reject.

Anyone else sees the card with An admin must approve this.

Decide many requests at once

An agent can ask for several changes in one answer. Instead of opening each card:

  • Under the answer, choose Approve all N, or Review them in one list.
  • On Home, a chat with two or more waiting requests is one row, N memory changes to approve, with Review.
  • The list, /memory/requests, shows every waiting request, grouped by the chat that asked. Tick the ones you want and choose Approve selected or Reject selected (with an optional reason), or choose Approve all N from this chat. A forget request is approved with all its facts; open its card to keep some.

A request someone else decided meanwhile, or one that expired, is skipped, and the list says how many.

Decide a request in a Slack, Discord or Teams thread

In a channel thread, a change the person there may confirm ends the answer with the same question as the portal chat, and a bare yes or no in the thread, sent before the agent answers anything else there, decides it as the sender's linked account. For any other change, the agent's answer ends with Waiting for an admin: reply "approve" or "reject" here, or open the request. An admin replies in the thread with exactly approve or reject, or reject: <reason>. The reply decides the one waiting request in that thread, as the admin's linked Entropix account, with no model involved. The agent answers, for example … — approved by <name>. or Rejected by <name>: <reason>.

When several requests wait in the thread, the answer lists them by number instead, and ends with Reply "approve all", "approve 1,2" or "reject 1: reason" here, or open the list. Reply approve all, reject all, or numbers: approve 1,3, approve 1-4, reject 2: wrong region. A number keeps its place in the thread, so it means the same change in every reply. The agent answers one line per number, for example Approved 2 by <name>: then 1. Saved as F31. A bare approve with several waiting asks you which.

The agent repliesBecause
Only an admin can approve this. / …these.The person who replied is not an admin, or their chat account is not linked to an admin.
N changes are waiting: reply "approve all", or name them like "approve 1,2".A bare approve or reject with several waiting.
N. There is no change N in this thread.The number is higher than the thread's requests.
This change was already approved. / …rejected.Someone decided it first.
This change request has expired. Ask the agent again if it is still wanted.More than 24 hours passed.

What you can and can't do

You can
  • View every agent's facts, log and history, whatever your role.
  • As a member, tick facts and ask the agent about them, ask it to change its memory, and confirm a change of the agent's own, a repository's or a channel's facts by replying yes in the chat.
  • As an admin, keep, remove, restore, correct and set the lifetime of facts, forget log records and chats, confirm or reject change requests in the portal or a thread, and undo a confirmed add or correction.
You can't
  • Make the agent remember or forget something by telling it. A person confirms every change.
  • Get a fact from the agent's own words, from a scan, or from an end user's Chat API conversation.
  • Have the log recalled unasked. The agent searches it on demand.
  • Restore a fact whose source was forgotten or deleted.

Troubleshooting

You seeWhat it means
Nothing remembered yet.The agent has not been used enough to learn anything. It learns from reviews, chats and goals as it works.
Nothing matches.Your filters leave nothing. Drop a pill or widen the range.
Only admins can change memoryYou can view but not change. Use Tell <agent> what's wrong, or ask an admin.
Tick at least one fact to ask about.Tick a fact before choosing Ask.
A fact reads (removed: its source was deleted)The message or log record it came from was deleted or forgotten.