All articles

Company brain vs enterprise search vs agent memory

Three things sold in the same words. The question each one answers, what it stores, who keeps it current and how teams combine them.

Euan Cox

Co-founder, Pensieve

7 min read

On this page

Enterprise search finds the documents a person asks for. Agent memory remembers what one user or agent learned before. A company brain keeps a shared, cited account of how the business works for every agent. They answer different questions, and many teams run two side by side.

The clearest way to tell them apart is the question each one is built to answer, what it stores and who keeps it current.

We make Pensieve, one of the options below, so we have described every product from its maker's own documentation, as checked on 16 November 2026.

The three in one table

The question it answersWhat it storesWho or what keeps it currentHow an agent reaches itExample products
Enterprise search“Where is the document about this?”An index of your documents and messages, with each source's permissions.Connectors that crawl or sync each source.A search tool, in the product or over MCP.Glean, Coveo
Agent memory“What did this user or agent learn before?”Facts and preferences taken from past conversations.The assistant or agent, as it works.Built into the assistant, or through an API or tools the agent calls.Memory in Claude and ChatGPT, Mem0, Letta
Company brain“How does the business work, and what is current?”Written pages on customers, projects and decisions, each citing its sources.Background maintenance that revises the pages as sources change, and the people who edit them.One MCP server, read by any client.Pensieve, GBrain
Each category as its products are documented on 16 November 2026. Individual products cross these lines, as a later section explains.

Enterprise search builds one index over the places your company keeps content, then returns the items that match a query to the person asking.

Glean's connectors “let Glean index content, mirror permissions from the source, and keep that data current”, so that results “strictly adhere to the access permissions set in the source application” (Glean). Coveo “unifies the content of your cloud and on-premises repositories in a single index” (Coveo).

Both now go beyond a search box. Coveo generates answers from the content it has indexed. Glean runs MCP servers so that hosts such as Claude Desktop and Cursor can call its search, and says that “All queries enforce user permissions” (Glean).

What comes back is the source material, or an answer generated from it at the moment you ask. That is the right design when the job is finding: a large company, many repositories, strict document permissions and people who need the exact file. Our guide to Glean alternatives for teams keeping their own AI compares the products.

Agent memory

Agent memory keeps what an assistant learned in earlier conversations, so the next one does not start from nothing. It comes in two forms.

Built into the assistant. Claude “saves memory as a set of individual topics as you chat”, and each project has its own memory (Claude Help Center). ChatGPT “can remember relevant preferences and details from your chats and other available sources” (OpenAI). Both are personal. On Claude's Team and Enterprise plans, “Owners can't view or edit a user's individual memories”. In ChatGPT, a shared project uses project-only memory and cannot reach a member's memories from outside it (OpenAI).

Developer frameworks. If you are building your own agent, a framework does the same job through an API. Mem0 “gives your AI agents long-term memory that persists across sessions, tools, and runs” (Mem0). It stores extracted memories, not the transcript, and scopes them by user, agent and run (Mem0). Letta builds stateful agents, “agents that can maintain memory and context across conversations”, which change their own memories through tools (Letta).

Memory is the right tool for continuity with one person or one agent: preferences, the state of a task, corrections. What it holds comes mostly from that user's or agent's own conversations, so two colleagues' assistants remember different things.

Company brain

A company brain is a written account of the business that agents read before they start work: who the customers are, which plan is current, who owns what and why a decision was made. It is shared, so every colleague's agent reads the same pages. It is cited, so a claim can be checked against its source. What a company brain is covers the idea in full, and context layers for AI agents covers the wider category.

Pensieve, which we make, connects to the sources you choose and maintains cited pages about people, projects, customers and decisions. Background work files new material, merges duplicate pages and rewrites a page when new evidence changes the picture (Pensieve). Agents read it over MCP (Pensieve). GBrain is an open-source project under the MIT licence: “One brain for you and your company, read by every agent you use” (GBrain). You can host it yourself or use its paid hosted service, gbrain.io. You can also build your own, as a Markdown wiki or a knowledge graph.

The saving is in rediscovery. On five work briefs over the public GitLab handbook (4,161 files), an agent reading Pensieve used 28% fewer input tokens, 46% fewer searches and 32% fewer tool calls than the same agent searching the same data. The work was graded to the same standard in both cases and quality held level (benchmark).

A company brain is for understanding. For a live figure or the exact wording of a contract, the agent follows the citation or goes to the tool that holds the record.

Where they overlap and how teams combine them

The lines between the three are not sharp, and they are moving.

  • Search products serve agents. Glean's MCP servers bring its search into the AI client you already use.
  • Memory products take in company data. ChatGPT's memory can draw on connected apps such as Gmail, depending on plan and region. Letta's memory blocks can be attached to several agents at once. Zep offers agent memory as one use of what it calls “the unified context layer for enterprise data” (Zep).
  • A company brain includes search. An agent can search its pages and sources, and save what it learns back.

Two combinations are common.

Memory and a company brain. Memory holds how you like to work. The brain holds what is true of the company. Pensieve's documentation puts it this way: “personal preferences stay with your AI; company knowledge belongs in the shared context” (Pensieve).

A company brain and search or direct connections. The brain tells the agent which plan is current and where it is recorded. Search, or a direct connection to the tool, fetches the exact document.

How to choose

Choose by the question you most need answered.

  • “Where is that document?” Choose enterprise search. If you are a large organisation whose people mainly need to find things under strict permissions, it is the right purchase, and a company brain does not replace it.
  • “Remember how I work.” Use the memory built into your assistant. If you are building an agent for your own customers, look at Mem0, Letta or Zep.
  • “What is the current plan, and why?” Choose a company brain. Agents face this question when they do longer work with less supervision, and without a shared account each colleague's assistant answers it differently.

If your team is small and your knowledge sits in a few tidy tools, built-in connectors and a page of instructions may be all you need. The steps are in how to give Claude, ChatGPT or Cursor context about your company.

Frequently asked questions

No. Enterprise search returns the documents that match a query, filtered by what the person may see. A company brain keeps written pages that explain the business and cite those documents. Many teams use the brain for orientation and search for the exact file.

Is ChatGPT or Claude memory a company brain?

No. Memory in both products is personal: it holds what one person's chats taught the assistant. A company brain is one account that every colleague's assistant reads, built from the sources the company connects.

Is Glean a company brain?

In the terms used here, Glean is enterprise search. Its documentation describes connectors that index content and mirror each source's permissions, and MCP servers that bring that to agents. Which you need depends on whether you want documents found or the business explained.

Is RAG the same as a company brain?

Not quite. Retrieval-augmented generation fetches passages at the moment of asking and hands them to the model. A company brain does the reading in advance and keeps the result as maintained pages. Our guide to embedding search as a company brain says where retrieval alone is enough.

Do I need enterprise search, agent memory and a company brain?

Rarely all at once. Memory is already built into Claude and ChatGPT, so most teams have one of the three before they choose anything. Start from the question you ask most often, and add another when the first cannot answer it.

Sources

External pages were checked on 16 November 2026. Products in all three categories change quickly, so check the current documentation before relying on a detail here.

  1. About connectors, Glean documentation
  2. About Glean MCP server, Glean documentation
  3. Coveo Platform, Coveo documentation
  4. Use Claude's chat search and memory to build on previous context, Claude Help Center
  5. Memory in ChatGPT, OpenAI Help Center
  6. Projects in ChatGPT, OpenAI Help Center
  7. Build AI apps that remember, Mem0 documentation
  8. How Mem0 works, Mem0 documentation
  9. Introduction to stateful agents, Letta documentation
  10. Zep documentation, Zep
  11. README, GBrain on GitHub
  12. How it stays up to date, Pensieve documentation
  13. Alongside your tools, Pensieve documentation
  14. How the MCP server works, Pensieve documentation
  15. Benchmark, Pensieve documentation