# How knowledge works (/docs/knowledge/how-knowledge-works)

> Knowledge items are indexed, given usage guidelines, published and attached to agents; an agent answers only from published, attached knowledge with use in answers turned on.

Type: concept | Status: ga | Last reviewed: 2026-11-21

This page explains the ideas behind Knowledge so the rest of the section makes sense.

## Items, not just files [#items-not-just-files]

Each piece of knowledge is a managed **item**: a file, a website page, an FAQ, a text note, or something synced from a connector. Items belong to the **workspace**, not to one agent, so several agents can use the same item.

For each item Loopwix:

1. **Indexes** it so the agent can search it. Long content is split into passages that keep their page or section.
2. Holds **usage guidelines**: when to use it, when not to, how to answer and any restrictions. You write them, or switch on **Generate with AI** and edit the result.
3. Lets you choose how answers **cite** it, and how strongly it is preferred over other items.
4. Waits for you to **publish** it.

## What an agent can answer from [#what-an-agent-can-answer-from]

An agent answers from an item only when **all** of these are true:

- the item has finished processing and is **published**,
- **Use in answers** is on for the item,
- the item is **attached** to that agent, and
- the agent has been saved and published since you attached it.

If any one is missing, the agent behaves as if the item does not exist. That is the most common reason for an "I don't know" answer; see [Troubleshooting](/docs/knowledge/troubleshooting).

## Draft versus published [#draft-versus-published]

Item configuration (guidelines, citation mode, priority and so on) has a **draft** and a **published** version.

- Editing a published item creates a draft. **Save draft** keeps your edits while customers keep seeing the last published version.
- **Publish** (or **Publish updates**) makes the draft live.
- Items show **· changes** in their status while they have unpublished edits.
- **Published versions** keeps history, and you can restore an earlier version into your draft.

The content itself is separate from the configuration. For FAQs and notes, change the content and **Save to knowledge base** again to re-index it.

## What the agent does when knowledge does not cover a question [#what-the-agent-does-when-knowledge-does-not-cover-a-question]

It says so, using your fallback message; see [Welcome and fallback messages](/docs/agents/welcome-and-fallback-messages). It may also hand over to a person. See also [How answers use knowledge](/docs/knowledge/how-answers-use-knowledge).

## Limits and plans [#limits-and-plans]

A workspace holds a limited number of documents, and file size, page count and storage are limited. See [Limits and formats](/docs/knowledge/limits-and-formats).

## Who can manage knowledge [#who-can-manage-knowledge]

Owners, Admins and Builders can add, edit and publish knowledge. Support and Viewer roles can view it. See [Roles and permissions](/docs/reference/permissions-matrix).
