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

# Knowledge base

> Upload documents, web pages, or text so your Wave Runner agent can answer questions accurately during calls.

A knowledge base gives your agent accurate reference material to draw from during calls.

When a caller asks a question, the agent searches your uploaded content and uses what it finds to answer. Use it for FAQs, product details, pricing, service information, or anything specific to your business.

## Create a knowledge base

<Steps>
  <Step title="Open the Knowledge Base tab">
    Go to **Agents** in the navbar and click the **Knowledge Base** tab.
  </Step>

  <Step title="Create a new knowledge base">
    Click **Create Knowledge Base**. Enter a name and optional description, then confirm.
  </Step>

  <Step title="Add content">
    Click the knowledge base card to open the editor, then click **Add Source**.
  </Step>
</Steps>

## Content types

<Tabs>
  <Tab title="Document upload">
    Upload a file from your computer. Supported formats: PDF, DOC, DOCX, TXT, CSV, JSON.

    Give the document a name and optional description. Wave Runner processes it automatically. Once the status shows **ready**, it is active and searchable.
  </Tab>

  <Tab title="Website URL">
    Enter a URL and Wave Runner fetches and indexes the page. Use this for product pages, help articles, or any publicly accessible content.
  </Tab>

  <Tab title="Plain text">
    Paste content directly. Use this for FAQs, pricing tables, or short reference lists you want to manage inline.
  </Tab>
</Tabs>

<Note>
  Processing takes a few seconds to a couple of minutes depending on file size. The agent can only use a document once its status shows as **ready**.
</Note>

## Attach a knowledge base to an agent

<Steps>
  <Step title="Open the agent">
    Go to **Agents** and click the agent you want to update.
  </Step>

  <Step title="Select the knowledge base">
    On the **Model tab**, find **Knowledge Base** in the **Agent Settings** panel. Select your knowledge base from the dropdown.
  </Step>

  <Step title="Save">
    Click **Save**. The agent uses the knowledge base on every call from that point on.
  </Step>
</Steps>

<Note>
  Each agent can use one knowledge base at a time. Combine all relevant documents into a single knowledge base if you need to cover multiple topics.
</Note>

## Manage content

Hover over any source card to reveal edit and delete options.

To update a document, click the edit icon and upload a replacement file. To remove a source, click delete. Wave Runner removes it immediately and the agent no longer retrieves it during calls.

To delete an entire knowledge base, click **Delete** in the top-right corner of the editor.

<Warning>
  Deleting a knowledge base that is attached to an agent leaves that agent without reference content. Update the Knowledge Base setting on each affected agent after deletion.
</Warning>

## Tips for better results

<AccordionGroup>
  <Accordion title="Keep documents focused">
    Shorter, clearly organized documents produce better results than large unstructured files. If you have a long PDF, split it into topic-specific sections.
  </Accordion>

  <Accordion title="Write descriptive names">
    A document named "Pricing — Enterprise Plan 2025" is easier for the agent to retrieve than "Document 3". Names and descriptions inform when to use each source.
  </Accordion>

  <Accordion title="Keep content current">
    Remove or update outdated documents. Stale content causes the agent to give incorrect answers.
  </Accordion>

  <Accordion title="Test with real questions">
    After setup, make a test call and ask questions a real caller would ask. If answers are vague or wrong, check that the document status is ready and that its content clearly covers the question.
  </Accordion>
</AccordionGroup>

## Next steps

<Card title="Create an agent" icon="plus" href="/assistants/create">
  Attach your knowledge base and configure all other agent settings.
</Card>
