Skip to main content

Brain

The Brain toolkit is long-term memory for agents. It lets an agent recall what was learned before, keep a durable fact, and forget something that is wrong, so nobody has to explain the same thing twice.

Example. At Acme Inc, Priya tells her co-worker "remember that Example Ltd renews on 1 March and wants a single invoice". A week later she asks Claude, connected as her, to draft the renewal email. Claude recalls the renewal date and the invoicing preference from Priya's Brain before it writes.

For what members see in the Brain page (Overview, Memories, Graph, pinning and editing), see The Brain.

Tools​

ToolTitleWhat it doesKindBy default
brain_recallRecall memoriesReturns the memories relevant to a question, each with its id, where it was learned and, for a memory from a file, the file's folder. Can be limited to memories learned from one folder.ReadRuns
brain_learnLearn a memoryStores one durable fact, preference or decision, as one sentence of up to 4,000 characters.Write, inside CortexHubRuns
brain_forgetForget a memoryRetracts a memory by its id. The memory leaves every Brain view and is no longer recalled; its history is kept.Destructive, inside CortexHubWaits for the member's approval

brain_recall returns 8 memories by default and at most 25. It returns only memories that are close in meaning to the question: when nothing is relevant it returns no matches rather than the nearest unrelated ones. For a broad question such as "what do you remember about me", it then lists what the Brain holds instead (pinned memories first, then the newest, up to 25), labelled as a listing rather than as matches.

Every call also takes a rationale, one sentence on why the agent is making it, which is recorded on the session trace.

Who can use it​

Every kind of agent: co-workers, hosted organisation agents, apps a member connects (Claude, ChatGPT, Copilot and other MCP clients), and your own agents through the SDK. Brain is in every organisation's toolkits, and every member and agent group gets it unless an admin unpublishes it there. There is nothing to connect. Its tools are listed directly in the agent's tools/list.

Whose memory an agent uses​

The agent never chooses whose memory it reads or writes. CortexHub decides from the verified identity behind the call.

AgentReadsWrites
A member's co-worker, or an app the member connectedThe member's Brain, shared by all of the member's agents, plus the organisation's shared knowledgeThe member's Brain
An organisation agent (hosted or SDK)Its own memory for the person it is acting for, its agent-wide memory, and the organisation's shared knowledgeIts own memory
  • One Brain per member. What Priya teaches her co-worker, Claude can recall when it acts as Priya, and the other way round. Any of her agents can forget a memory another of her agents learned.
  • Organisation agents keep people apart. What an organisation agent learns while helping one person is recalled only when it acts for that person. Memories it records with brain_learn are agent-wide. It never reads a member's private Brain.
  • Organisation knowledge is what CortexHub learns from the organisation's shared files. It is read-only to agents and shows as Org-managed in the Brain.
  • Folder access narrows recall. Agents recall organisation knowledge only from files in folders they can open: the folders open to their member's group (or, for an organisation agent, its agent group, narrowed by its own Files access). See Who can open a folder.

Automatic memory​

Hosted agents, and your own agents that call models through the model router, also remember without calling the tools:

  • Before a turn, the agent is given what the Brain holds that may matter: a short index of its memories for a hosted agent, the relevant memories for a model-router call.
  • After a turn, CortexHub picks out the durable facts from what was asked, found and answered, and learns them. Facts already known are not stored twice.
  • Memories are dated. Each recalled memory says when it was true, such as "as of 2026-11-19 14:36 UTC, 3 hours ago", and the agent is told that memories are past observations: what its tools show now wins, so it checks again rather than skipping work an old memory says was done.
  • Decisions teach. When a person denies one of the agent's calls, or a rule blocks one, CortexHub adds a Lesson from a decision. See Lessons from people's decisions.

Automatic memory follows the toolkit: if Brain is off for an agent's group, the agent neither recalls nor learns automatically. An app connected through MCP alone has no automatic memory; it should call brain_recall at the start of multi-step work and brain_learn for facts worth keeping.

Privacy and retention​

  • Redacted before it is stored. Every memory, whether learned with brain_learn or automatically, is checked for prompt injection and redacted by your organisation's data handling settings before it is saved. If the check cannot run, nothing is saved.
  • Private to the member. A member's Brain is not shared with other members. Admins see that an agent called a Brain tool, when and with what outcome, never the memories themselves. An organisation agent's Brain can be read by members who can see the agent and is curated by admins.
  • Kept until removed. Memories have no time limit. They stay until they are forgotten, or the agent or organisation is removed. Deleting a file also removes the memories that came only from that file. Forgetting keeps the version history but takes the memory out of every view and every recall.

Control it​

WhoWhereWhat
AdminGroups & access -> a group -> Toolkits & Tool Access -> Brain -> PoliciesTurn Brain, or single Brain tools, off for the group's agents. Turning off the destructive kind stops brain_forget.
AdminA group's toolkit Policies tabChange who approves brain_forget (the Destructive decision), or hold brain_learn with a tool override. brain_forget is destructive, so it needs approval by default.
MemberThe agent's Overview -> Knowledge access -> BrainChoose Read and write, Read only or Off for each of their own agents. A co-worker starts with Read and write; a newly connected app starts with Read only, and its learn and forget calls return a message saying where to allow them.

A member's Knowledge access choice can only narrow what the group allows. It does not apply to organisation agents, whose group decides.

See also​