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

# Knowledge (RAG)

> Add your documents so agents answer with your facts.

<Frame caption="Knowledge base interface for document management and RAG">
  <img src="https://mintcdn.com/ageno-1ec6cbd4/vblkACJDBKn_Uu5l/pictures/agenokbase.jpg?fit=max&auto=format&n=vblkACJDBKn_Uu5l&q=85&s=6434bbdf1b9447500e7e0d4f9ec8245a" width="3024" height="1714" data-path="pictures/agenokbase.jpg" />
</Frame>

RAG (Retrieval‑Augmented Generation) lets agents look up your documents while answering.

## How it works

* Create a collection and upload files on the Knowledge page.
* When starting or editing an agent, choose a default collection.
* During chat, the agent retrieves relevant passages to ground its response.

## Best practices

* Use clear collection names and descriptions.
* Prefer clean, text‑based PDFs or docs for best extraction.
* Re‑ask with more context if answers seem generic.
