Agent Knowledge Base
A knowledge base lets your agent answer questions from your actual documents — product manuals, internal wikis, FAQs, legal policies — rather than relying solely on the AI's training data.

Attaching documents
Documents must already be uploaded to your Documents library before you can attach them to an agent.
- Open the agent builder and click the Knowledge tab.
- Click Add documents.
- Browse or search your document library.
- Select up to 20 documents and click Attach.
The documents appear in a list on the Knowledge tab with their indexing status (Indexed, Pending, or Failed).
How the agent uses documents
When a user sends a message to the agent, the RAG pipeline runs automatically:
- The user's message is converted into a vector embedding.
- Hubrix searches the agent's knowledge base for the most semantically similar document chunks.
- The top chunks are injected into the AI's context alongside the message.
- The AI answers using both its training knowledge and your document content.
The RAG tool must be enabled on the Tools tab for the knowledge base to be queried. If RAG is off, attached documents are ignored entirely. Check the Tools tab if the agent isn't referencing your documents.
Maximum documents
Each agent can have up to 20 documents attached. If you need more, consider splitting the use case across two specialised agents (for example, one for product docs and one for legal policies).
The Reindex button
If a document's content changes — for example, you re-uploaded a newer version — click Reindex next to that document on the Knowledge tab. This re-processes the document and rebuilds its vector embeddings so the agent uses the latest version.
You may also need to reindex if a document shows a Failed status after the initial attachment.
Tips for a useful knowledge base
- Upload clean text documents — text-based PDFs and DOCX files extract far better than scanned images.
- Name your documents clearly — the file name is visible in citation references, so
acme-return-policy-2026.pdfis more informative thanscan001.pdf. - Keep documents focused — a document that covers one topic retrieves more accurately than a sprawling 200-page all-in-one manual.
- Remove stale documents — detach documents that are no longer accurate. Outdated information retrieved by RAG is worse than no information.
Connector-synced documents (from Google Drive or OneDrive) can be attached to an agent's knowledge base. However, if the source file changes, you will need to wait for the connector to sync and then reindex the document for the agent to see the latest version.
Was this helpful?