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

# Memory Hub

What your agents knowShared or agent-specificSearched by meaning

## **What is Memory Hub?**

Memory Hub is everything your agents know about your business beyond the business profile: your services and prices, policies, FAQs, website pages and documents. When a customer asks a question, the agent searches Memory Hub and answers from what it finds there.

<video autoPlay muted loop playsInline controls poster="/videos/memory-hub-poster.webp" src="https://mintcdn.com/myna-8262a91b/rd8tCYVNj3w0G4Gp/videos/memory-hub.mp4?fit=max&auto=format&n=rd8tCYVNj3w0G4Gp&q=85&s=e719deabb08590bf7ac65a37c96c849d" />

Adding knowledge to Memory Hub

What to add first is covered in [Set up your workspace](https://myna.cx/docs/platform/getting-started/set-up-your-workspace.md#what-should-i-add-to-memory-hub-first). This page explains how Memory Hub is organised, how each way of adding knowledge works, and how your agents search it.

Select **Memory Hub** in the sidebar to open it.

![Memory Hub](https://mintcdn.com/myna-8262a91b/2wJWCjnXH5CAMj2I/images/explore/memory-hub.png?fit=max\&auto=format\&n=2wJWCjnXH5CAMj2I\&q=85\&s=d14ac63bb6b698e1582ea109f584ac64)

The top of the page shows how your knowledge is being used:

* **Memory Hub Snapshot:** how many **Memories** and **Chunks** you have, the number of **Tokens** they hold, and how much of your storage they use. Starter plans include 10 MB, and Pro and Agency plans include 1 GB.
* **Retrieval Volume:** how many times your agents searched Memory Hub over the last 7, 30 or 90 days.
* **Top Retrieved:** the memories your agents use most often.

Below that, Memory Hub has three tabs:

> [card] [**General Memory**](#general-memory)
>
> Knowledge every agent in your workspace can search.

> [card] [**Knowledge Bases**](#knowledge-bases)
>
> Collections of knowledge for specific agents.

> [card] [**Feedback**](#feedback)
>
> The corrections and examples you gave agents in the Playground.

## **What are memories and chunks?**

A **memory** is one thing you added: a piece of text, a website page or an upload. Myna splits longer memories into smaller passages called **chunks**, of about 1,000 tokens each, so the agent can find the exact part that answers a question. Short memories stay as a single chunk.

Myna gives every memory a title automatically. You can change it later.

## **General Memory**

General Memory belongs to your whole workspace. Every agent searches it, so it's the place for knowledge that's true for all of them, such as your services, prices and policies.

Find memories with the search box, which searches titles, content, tags and IDs, or filter by **Tag** and **Type**. Switch between tiles and a list with the buttons on the right. Pages imported from the same website are grouped into one tile. Select **View all** to see each page.

### **How do I add knowledge?**

Select **Add New Memory** and choose **Text**, **URL** or **File**. Every memory needs at least one tag. New memories are tagged **General** unless you choose another tag.

> [tab] Text
>
> Write or paste knowledge yourself. Choose a template from the menu next to **Text Content**:
>
> ![The Add Text Memory window](https://mintcdn.com/myna-8262a91b/2wJWCjnXH5CAMj2I/images/explore/memory-text.png?fit=max\&auto=format\&n=2wJWCjnXH5CAMj2I\&q=85\&s=e4635636c806d3c07ec42324a0b105f3)
>
> <table>
>   <colgroup>
>     <col width="190" />
>
>     <col width="330" />
>
>     <col width="180" />
>   </colgroup>
>
>   <thead>
>     <tr>
>       <th>**Template**</th>
>       <th>**Use it for**</th>
>       <th>**Fields**</th>
>     </tr>
>   </thead>
>
>   <tbody>
>     <tr>
>       <td>**Free Text**</td>
>       <td>General knowledge, policies, instructions and reference information</td>
>       <td>One text box</td>
>     </tr>
>
>     <tr>
>       <td>**FAQ**</td>
>       <td>A question customers ask often, with the right answer</td>
>       <td>**Question** and **Answer**</td>
>     </tr>
>
>     <tr>
>       <td>**Objection / Rebuttal**</td>
>       <td>A concern customers raise, such as price, and how to respond</td>
>       <td>**Objection** and **How to respond**</td>
>     </tr>
>
>     <tr>
>       <td>**Word & Phrase Rules**</td>
>       <td>Words and phrases the agent should use or avoid</td>
>       <td>**Word or Phrase** and **Rule**</td>
>     </tr>
>   </tbody>
> </table>
>
> FAQ, Objection / Rebuttal and Word & Phrase Rules memories are tagged **FAQ**, **Rebuttal** and **Word Rules** for you. Select **Preview saved memory** to see exactly what will be saved, then **Save Memory**.

> [tab] URL
>
> Import pages from your website:
>
> 1. Enter your website's address and select **Analyze Site**. Myna reads your sitemap and the links on your site to find its pages.
> 2. Choose the pages to import. Myna pre-selects your homepage and up to 15 high-value pages, such as services, products, pricing and about. Blog posts, legal pages and careers are left unticked, and pages you've already imported are listed last and skipped.
> 3. Select **Start Scraping**. The import runs in the background, so you can keep working. A banner shows how many pages are done.
>
> Each page becomes its own memory, titled with the page's title. You can import up to 1,000 pages at a time.
>
> > [!NOTE]
> >
> > Some websites block automated visits with a bot check. Their pages can't be imported, so copy the important content into a Text memory instead.

> [tab] File
>
> Upload PDF, Word (DOCX), TXT, CSV and Excel files, and JPG, PNG, GIF, BMP and WEBP images. Myna reads the text from images too.
>
> All the files you upload together are combined into **one memory**. Upload files one at a time if you want them as separate memories.
>
> * **PDFs:** Myna reads the text in the file. A scanned PDF that's only a picture of a page has no text to read, so upload it as an image instead.
> * **Word files:** Myna reads the paragraphs. Text inside tables isn't read, so move important tables into the text or a spreadsheet.
> * **Spreadsheets:** Myna reads the first 50 rows of the first sheet.

If you add something that's already in Memory Hub, or very close to it, Myna tells you **Similar content already exists** and doesn't save it twice.

### **How do I edit or remove a memory?**

Select a memory to open **Memory Details**.

![Memory Details](https://mintcdn.com/myna-8262a91b/2wJWCjnXH5CAMj2I/images/explore/memory-detail.png?fit=max\&auto=format\&n=2wJWCjnXH5CAMj2I\&q=85\&s=cbcfd51fac23f1600ba9284b77923885)

* **Title:** select  to rename it.
* **Content:** each chunk shows its size in tokens. Select **Edit** on a chunk to correct it. Website pages can't be edited here.
* **Tags:** add or remove tags. Changes save straight away.
* Select  to delete the memory and all its chunks.

To remove several memories at once, tick them and select **Delete**.

> [!TIP]
>
> A website import is a snapshot. When a page on your site changes, delete the old memory and import the page again.

## **Knowledge Bases**

A knowledge base is a collection of memories for specific agents, rather than your whole workspace. Use one when an agent needs information your other agents shouldn't use, such as the price list for a single location or the details of one promotion.

![The Knowledge Bases tab](https://mintcdn.com/myna-8262a91b/2wJWCjnXH5CAMj2I/images/explore/memory-kb.png?fit=max\&auto=format\&n=2wJWCjnXH5CAMj2I\&q=85\&s=017f3088677d3a57536b138f89e2fa37)

* **Create:** select **Add New Knowledge Base** and enter a **Name** and an optional **Description** of up to 200 characters.
* **Fill:** select a knowledge base to open it, then select **Add New KB Memory** to add text, website pages or files, the same way as in General Memory.
* **Copy:** select  **Duplicate** to copy a knowledge base with all its memories.
* **Delete:** select . This also deletes every memory inside it.

To give an agent a knowledge base, open the agent in Workflow Studio, go to **Knowledge**, turn on **Knowledge Bases** and choose it from the list.

### **Can I change how the agent searches?**

In the agent's **Knowledge** settings you can also adjust:

* **Chunks to Retrieve:** how many passages the agent brings back from each knowledge base, from 1 to 10. The default is 8.
* **Similarity Threshold:** how closely a passage has to match the question. The default is 0.40. A higher number gives fewer, closer matches.
* **Custom Tag Retrievals:** link a keyword to memory tags. When the keyword comes up in a conversation, the agent also searches the memories with those tags.

## **Feedback**

The **Feedback** tab lists the corrections and reinforcements you gave agents with 👍 and 👎 in the [Playground](https://myna.cx/docs/platform/getting-started/talk-to-your-agent.md#how-do-i-correct-the-agent).

![The Feedback tab](https://mintcdn.com/myna-8262a91b/2wJWCjnXH5CAMj2I/images/explore/memory-feedback.png?fit=max\&auto=format\&n=2wJWCjnXH5CAMj2I\&q=85\&s=a7810498c9354b7e93f242ef9907d857)

Each entry shows the **Agent**, the customer's message, your feedback, its **Type** (correction or reinforcement), where it came from and its **Status**. Feedback from the Playground is **Approved** straight away. Search or filter by **Agent** to find an entry, and select **Delete** to remove it.

Feedback works differently from the rest of Memory Hub. Before every reply, an agent with **Feedback Memory** turned on looks for up to three approved entries that match the customer's message, and follows them instead of improvising.

## **How do agents search Memory Hub?**

Memory Hub is too large to read on every message, so the agent searches it only when a question calls for it, such as a question about your services, prices or policies. Myna searches by meaning, so it finds the right passage even when the customer words the question differently from your text.

For each search, the agent:

1. Rewrites the customer's question into up to three searches.
2. Searches General Memory, its knowledge bases and the customer's past messages.
3. Keeps the passages that match closely enough, and brings back up to 12 of them to answer from.

> [!WARNING]
>
> **Word & Phrase Rules** are searched like any other memory, so the agent only sees a rule when the conversation brings it up. For wording the agent must follow in every message, such as a phrase it must never use, add the rule to the agent's instructions too.


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