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

# Knowledge

> Give the agent facts to look up — pricing, policies, FAQs — instead of relying on what's baked into its instructions.

## What is this?

An agent with only [Instructions](/workspace/ai-agents/tabs/instructions) can chat nicely but doesn't know your facts. **Knowledge** is its reference binder — the things it looks up rather than the things it's told to memorize.

\[SCREENSHOT: ai-agent-knowledge-tab — The Knowledge tab showing the New Knowledge Source form and the list of added sources with status badges]

## What can I do here?

Click **Add Source** and choose a **Source Type**:

| Source Type                               | Use it when                                                      |
| ----------------------------------------- | ---------------------------------------------------------------- |
| **Manual Text**                           | You want to type or paste facts directly — prices, opening hours |
| **Website URL**                           | Your answers already live on a web page                          |
| **Sitemap Crawl**                         | You want the agent to read many pages from your site at once     |
| **llms.txt Crawl**                        | Your site publishes an `llms.txt` guide for AI                   |
| **PDF, Word, Markdown, Text, CSV, Excel** | Your facts are in a document or spreadsheet                      |

Give it an optional **Title**, add the content/link/file, and save.

## How to use it

### Wait for it to finish processing

Each source moves through a status: **Pending → Processing → Processed**. Wait for **Processed** before you test the agent against it. **Failed** means the link didn't load or the file was empty — fix that and add it again.

<Tip>
  Start small. One or two good sources — a price list and a short FAQ — beat a huge pile of old documents. Short, accurate, up-to-date facts produce better answers than volume.
</Tip>

### Pair it with a rule in Instructions

Knowledge only helps if the agent is told to actually rely on it. Add a line like *"Only use the facts in your knowledge. Never invent prices, stock, or policies."* to [Instructions](/workspace/ai-agents/tabs/instructions) — otherwise the model may fall back on a plausible-sounding guess.

## Troubleshooting / Technical Notes

* **A source shows Failed.** Check that the link opens in a normal browser, or that the file isn't empty or corrupted, then add it again.
* **The agent gives wrong or made-up answers.** Confirm the relevant source shows **Processed**, and tighten [Instructions](/workspace/ai-agents/tabs/instructions) to say it should only use knowledge it has.
* **The agent seems to ignore a source you just added.** Give it a moment to finish processing, then start a **New Conversation** in [Test](/workspace/ai-agents/tabs/test) — an in-progress test session may not pick up a source added mid-conversation.

## Related docs

* [Instructions](/workspace/ai-agents/tabs/instructions)
* [Capabilities](/workspace/ai-agents/tabs/capabilities)
* [Test](/workspace/ai-agents/tabs/test)
