Skip to main content

Knowledge in an Agent

In the Knowledge tab of an agent, you define which knowledge the AI Agent uses to answer questions. You can:

  • Connect Sources: websites, PDFs, Word and PowerPoint documents. See Sources.
  • Select Catalogs: curated article collections with maintained Q&A content. See Catalogs & Articles.
  • Connect Azure AI Search / SharePoint: if your knowledge already lives in a RAG index outside LoyJoy. See the Azure AI Search guide.
  • Connect MCP servers: up to three external knowledge sources via the Model Context Protocol.

The default implementation uses Retrieval Augmented Generation (RAG): for each user question, LoyJoy semantically searches for relevant chunks and passes them to the LLM as context.

How to enable Knowledge in an agent

  1. Open the agent and switch to the Knowledge tab.
  2. Activate AI if not yet enabled: LoyJoy automatically inserts an AI Knowledge module into the process.
  3. Select sources or catalogs, optionally add a folder filter.
  4. Configure the AI Knowledge module (number of chunks, reranking, question splitter): see AI Knowledge module.

For more advanced use cases with tool calling, web search, and multi-step agents, see the AI Agent module.