# Knowledge base (/guides/knowledge-base)

Your AI agent can read your knowledge base and keep it fresh for you. Once it's connected to Heuristic ([Connect an AI
agent](/mcp/connect)), ask it in your own words, for example "Refresh Acme Analytics' knowledge base every week." [Ask
your agent](#ask-your-agent) has more requests to start from. The steps below do the same in the web app.

Heuristic learns your product from its knowledge base: your public documentation site. It reads the pages, turns
each page into at most one feature, and groups the features into categories.

Admins read the knowledge base. Product Owners change the knowledge base URL.

## What Heuristic reads [#what-heuristic-reads]

Heuristic starts at your knowledge base URL and follows its links to pages at or below that address on the same site,
plus the pages in the site's sitemap. For example, from `https://docs.acme.example/guide`, it reads
`https://docs.acme.example/guide/reports` but not `https://docs.acme.example/blog` or `https://acme.example`. It reads
up to 1,000 pages each time. Pages that answer with an error or have no text are skipped.

## Read your knowledge base [#read-your-knowledge-base]

1. Open **Settings → Product → Knowledge base**.
2. Under **Read pages and find features**, choose **Read knowledge base**. After a first read the button says
   **Read knowledge base again**, and after a read that failed, **Retry ingestion**.

The read goes through **Queued**, **Starting crawl** and **Processing pages** to **Completed**. Heuristic reads up to
1,000 pages. When it is done, **Group into categories** groups the new features. After a later read, the step also
shows what changed, for example "Changes: 4 new features · 2 updated".

The knowledge base can be read once an hour; a stopped read doesn't count. Until then the button is unavailable and
the page says when you can read it again. A read that hits a problem shows **Needs attention** with what
went wrong.

To stop a read early, choose **Stop reading**, then **Stop reading** again to confirm. Pages read so far and the
features found in them are kept.

## Refresh it automatically [#refresh-it-automatically]

Your documentation changes, so Heuristic can read it again for you.

1. In **Settings → Product → Knowledge base**, under **Refresh automatically**, choose **Daily**, **Weekly** or **Monthly**.

The choice saves at once and the page shows when the next refresh runs. Choose **Off** to read only when an Admin
asks.

## Change the knowledge base URL [#change-the-knowledge-base-url]

1. In **Settings → Product → Knowledge base**, under **Knowledge base URL**, choose **Change URL**.
2. In the form that opens under the URL, enter the new address and choose **Save**. **Cancel** closes the form and
   keeps the URL you had.

Heuristic reads the new URL the next time the knowledge base is read.

## Why a page didn't become a feature [#why-a-page-didnt-become-a-feature]

Each page becomes at most one feature, and only a page about something people can do with your product becomes one.
A page can give no feature for one of these reasons.

It isn't about a feature. Pages about your company, general tutorials, overview pages that link to many features,
and troubleshooting that describes no feature give none.

Heuristic didn't read it. It is outside your knowledge base URL's address, on another site, or past the 1,000-page
limit. See [What Heuristic reads](#what-heuristic-reads).

The AI couldn't read it this time. The read still completes and says how many pages, for example **1 page couldn't
be read for features. It will be read again next time.** A feature the page gave before is kept.

It is too long for the AI service. The read says so, for example **1 page is too long for the AI service to read for
features.** Splitting the page into shorter pages lets Heuristic read them.

Its feature was deleted or merged. Reading the knowledge base again never brings back a feature someone deleted or
merged into another.

## Common questions [#common-questions]

### My documentation isn't public. Can Heuristic read it? [#my-documentation-isnt-public-can-heuristic-read-it]

No. Heuristic reads only public addresses, so a local or private address gives **Enter a public documentation URL,
not a local or private address.** [What Heuristic reads](#what-heuristic-reads) says which pages it reads.

### Does reading the knowledge base again change features I edited? [#does-reading-the-knowledge-base-again-change-features-i-edited]

No. When a page changed, Heuristic updates its feature, but only what the AI set: a name or description a person
changed stays as they left it. A feature someone deleted or merged doesn't come back
([Why a page didn't become a feature](#why-a-page-didnt-become-a-feature)).

## Ask your agent [#ask-your-agent]

Once your AI agent is connected to Heuristic ([Connect an AI agent](/mcp/connect)), you can ask it to do these jobs
for you, in your own words:

- "Read Acme Analytics' knowledge base again and tell me what changed when it's done."
  ([manage the knowledge base](/mcp/tools/manage_knowledge_base), [read the knowledge base's
  status](/mcp/tools/read_knowledge_base))
- "Refresh Acme Analytics' knowledge base every week." ([manage the knowledge base](/mcp/tools/manage_knowledge_base))