kilo
Documentation
Back to docs

Knowledge Base

How Knowledge Works



The Knowledge Base is your AI agent's memory. It contains all the information your agent can draw from when answering visitor questions — your website content, product details, and any additional pages you add. The better your knowledge base, the more accurate and helpful your agent becomes.

Think of it this way: if a visitor asks "Do you integrate with Salesforce?" and that information is somewhere in your knowledge base, the agent will find it and respond confidently. If it's not there, the agent will have to rely on general product context and may not give the best answer.

How Kilo finds answers (RAG explained simply)



Kilo uses a technique called RAG — retrieval-augmented generation. Here's what that means in plain English:

  • A visitor asks a question, like "What's your pricing for teams over 50 people?"
  • Kilo searches your knowledge base to find the pages and sections most relevant to that question.
  • It pulls the top 5 most relevant sections and gives them to the AI as context.
  • The AI reads that context along with your product description and crafts an accurate, natural-sounding answer.


  • The key benefit: your agent answers using your actual content, not generic AI guesses. This means visitors get real, trustworthy information about your product.

    Adding pages to your knowledge base



    You can manage your indexed pages from Knowledge > Documents in the dashboard.

    To add a new page:
  • Go to Knowledge > Documents.
  • Click "Add document."
  • Enter the URL of the page you want to index (e.g., https://www.acmesoftware.com/pricing).
  • Kilo fetches the page, extracts the text content, and adds it to your knowledge base.


  • You can add as many pages as you need — product pages, blog posts, help articles, case studies, and more. Each page is broken into smaller sections so the AI can find exactly the right paragraph to answer a specific question.

    Auto-indexing during onboarding



    When you first set up Kilo and enter your website URL, it automatically crawls your site and indexes the most important pages. This means you start with a solid knowledge base without lifting a finger.

    After onboarding, you can review what was indexed and add any pages that were missed. Common pages to add manually:
  • Detailed product feature pages
  • Case studies and customer stories
  • Integration documentation
  • FAQ pages
  • Recent blog posts about new features


  • Tips for a great knowledge base



  • Add your most-asked-about pages first. Think about the questions your sales team gets most often — pricing, integrations, security, compliance — and make sure those pages are indexed.
  • Keep your website content up to date. Kilo reads from your live site, so if your pricing page is outdated, your agent will give outdated answers. You can re-index a page anytime by removing and re-adding it.
  • Quality over quantity. It's better to have 20 well-written pages indexed than 200 thin pages. The AI performs best when it has clear, detailed content to work with.


  • How Kilo stays efficient



    Not every visitor message needs a full knowledge base search. Kilo is smart about this:
  • Simple greetings like "hi" or "thanks" skip the search entirely — the agent just responds naturally.
  • Very short messages (under 10 characters) are also skipped.
  • Each search returns a maximum of 5 relevant sections, keeping responses fast and focused.


  • This keeps your agent quick and responsive while avoiding unnecessary processing costs.

    Common questions



    "Can I upload PDFs or documents?" Currently, Kilo indexes web pages by URL. If you have PDFs or docs you want indexed, host them on your website and add the URL.

    "How often does Kilo re-read my pages?" Kilo reads a page when you first add it. If you update the page, remove it from your knowledge base and re-add it to pull in the latest content.

    "What if my agent gives a wrong answer?" Check whether the correct information is in your knowledge base. Most inaccurate answers happen because the relevant content hasn't been indexed yet. Add the missing page and the problem usually resolves itself.