> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xpander.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Company Brain

> What your agents know about your company, read as the person asking and answered with citations.

The Company Brain answers from two kinds of content:

* **Collections**: files, pasted text and web pages stored in xpander, searched by meaning and by exact words.
* **Live sources**: Google Drive, SharePoint, OneDrive, Confluence and Jira, searched at question time with the account of the person asking. Nothing is copied into xpander unless an admin keeps a copy of a folder.

Every agent asks the Company Brain by default. Admins can also build **specific brains**, such as Legal or Support, from chosen collections and parts of sources, and attach them to the agents that need them.

## Answers carry citations

An answer that used the brain ends with **Sources**, one numbered chip per document or live item. A stored document opens at the cited passage. A live item opens in its source, with your own account. See [Citations in the conversation](https://docs.xpander.ai/use/company-brain/agents.md#citations-in-the-conversation).

## Each person gets only what they can already open

The brain never widens access:

* **Stored documents** are filtered by who may read them before ranking, so a document someone may not open never reaches the answer.
* **Live sources** are read with the person's own account. A permission removed in the source applies on the next question.
* **Sources a person has not connected** give them nothing. There is no shared or service account to fall back on. The answer names the skipped sources and offers **Connect** for each.

A specific brain only narrows where an agent looks. The one exception is a brain set to **Shared agent access**, for public agents whose visitors have no company login. See [Whose access it uses](https://docs.xpander.ai/use/company-brain/admins.md#whose-access-it-uses).

## What it reads

| Source | How it is read | An admin can limit it to |
| - | - | - |
| Collections (stored in xpander) | Searched in xpander | The people, groups and agents in its audience, and narrower per document |
| Google Drive | Live, as the person | Shared drives, folders or single files |
| SharePoint and OneDrive | Live, as the person | Sites, libraries, folders or single files |
| Confluence | Live, as the person | Spaces |
| Jira | Live, as the person | Projects |

On every live source an admin can also exclude by path, label, file type and age. Uploads can be PDF, Word, PowerPoint, Excel, Markdown, HTML or images, up to 25 MB each. Scanned pages are read with OCR.

## Where you manage it

| Who | Where | What |
| - | - | - |
| Admins | **Platform > Agents > Knowledge** | Brains, sources and scope, collections, settings, learned facts, access log |
| Everyone | **Settings > Knowledge** in xpander Chat | Your source sign-ins, your collections, facts waiting for your approval |
| Agent owners | **Agent settings > `KNOWLEDGE`** | The Company Brain switch, and attached brains and collections |

## Next steps

> **[Set it up for your organization](https://docs.xpander.ai/use/company-brain/admins.md)**
>
> Brains, collections and sources.

> **[Connect your own sources](https://docs.xpander.ai/use/company-brain/members.md)**
>
> Your knowledge settings.

> **[Use it from agents and MCP clients](https://docs.xpander.ai/use/company-brain/agents.md)**
>
> Attach brains and read citations.

> **[Run it self-hosted](https://docs.xpander.ai/self-hosted/company-brain.md)**
>
> Data location and chart values.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.