Knowledge base builder for ElevenLabs agents
KB Builder turns a business's website into one ElevenLabs knowledge base file, with every price tied to its product, so your agent stops misquoting.
A caller asks what teeth whitening costs. Your ElevenLabs agent answers "$2,400", in a perfect voice. That is the price of an implant. The clinic forwards you the recording, and you spend the evening hunting for a bug that isn't in the voice, the model or the prompt. It is in the ElevenLabs knowledge base: the agent was handed a price with no name on it.
Why an ElevenLabs agent misquotes its knowledge base
An ElevenLabs agent does not read your document the way you do. With retrieval switched on, ElevenLabs searches the knowledge base and passes the agent only the passages closest to the caller's question. Each passage was cut from the document wherever the platform decided.
So if one passage holds "$2,400" and the words "Dental implants" sit in the passage before it, the agent has a real price with no owner. It attaches that price to whatever the caller just asked about. Two treatments or two plans with similar names make it worse, because they score close to each other in the same search.
Putting the whole document in the prompt avoids the search, if its text fits in roughly 300,000 characters. But a table that puts a price far from its name, or a question the document never answers, is still there for the agent to trip on.
This is the failure that cost us two wrong prices on our own live calls. Those calls ran on a different platform, and this page applies what we learned there. It hasn't been tested on ElevenLabs calls yet.
Two ways to build an ElevenLabs knowledge base
Import the website in ElevenLabs
ElevenLabs can import a page, or a whole site by crawl or sitemap.
Where it breaks
- The pages go in as the website wrote them. A price table stays a table, with each price lines away from its name.
- When two pages give different prices or hours, both go in and nothing tells you.
- What the website never says stays unsaid, and the agent fills the gap from general knowledge.
Upload a KB Builder file
The website, the business’s documents and what you were told, written as one file an agent can answer from.
What you get
- Every price, time and limit sits in a sentence that names what it belongs to.
- If two pages, or the website and a document, disagree, you see both quotes and choose before the file is written.
- Questions callers ask that nothing answers are listed. Whatever stays open is written as “not confirmed”, so the agent says that instead of guessing.
- One Markdown file you own, which loads into any platform.
Free to build and preview, no card. Downloading the file starts at $19 a month.
How KB Builder builds a knowledge base for your ElevenLabs agent
- Add the business's website. KB Builder reads its pages and finds everything the business sells, with the prices, timings and rules that belong to each.
- Answer what's missing. You get a short list of what callers will ask that the website doesn't answer, most important first, and you are shown where two pages disagree. Answer what you know and skip the rest. Whatever stays open is written as "has not been confirmed".
- Upload the file to ElevenLabs. You download one Markdown file. In the agent's settings, open Knowledge Base, click Add document and upload it.
Then choose how the agent uses it:
- If the file is under about 300,000 characters, which most small businesses are, set the document's usage mode to Prompt. The agent then has the whole file on every turn.
- If it is larger, open the Retrieval tab, set the retrieval mode to Every turn, and leave the document on Auto. Wait for indexing to finish before you test.
Make a few test calls that ask for the prices of look-alike products. When the business's website changes, rebuild the file in KB Builder and replace the document's file in ElevenLabs instead of adding a second one, so two versions never compete in the same search.
What a build looks like on a real website
We built KB Builder after those two wrong prices. These numbers are from its own run on that business's website, compared with the hand-written file that passed live calls:
- 19pages of the website read
- 13products found, each kept apart
- 378answers written, each traced to its quote
- 33 / 33checks matched the file tested on live calls
You can read a sample file before you sign up, see how the builder works, or check the plans.
Lines to add to your ElevenLabs agent's prompt
These come from our own live calls. Add them to the system prompt as they are, or reword them in your agent's voice:
Answer questions about the business only from the knowledge base. If it doesn't have the answer, say you will check, and give the business's phone number.
Give a price, time or rule only from a sentence that names the product or service the caller asked about.
Whenever you give a price, say the name of the product or service with it.
If the caller hasn't said which product or service they mean, ask before answering.
When the knowledge base says something has not been confirmed, say exactly that. Never guess.
Don't promise messages, callbacks or bookings unless the knowledge base says the business offers them.
ElevenLabs knowledge base limits and settings
For reference, from ElevenLabs' own documentation, checked on 7 November 2026.
| What the docs say | |
|---|---|
| Where it lives | A workspace knowledge base, with documents attached to each agent. One document can be attached to many agents. |
| What you can add | Files (PDF, Word .docx, .txt, Markdown .md, HTML, EPUB), a web page, a whole site by crawl or sitemap, or typed text |
| File size | Up to 20 MB per file |
| Whole document in the prompt | Only if its text fits, up to roughly 300,000 characters |
| Retrieval index size per workspace | Free 1 MB, Starter 2 MB, Creator 20 MB, Pro 100 MB, Scale 500 MB, Business 1 GB |
| Smallest document that can be indexed | 500 bytes, and anything smaller goes into the prompt |
| Extra delay with retrieval | About 250 milliseconds per response |
| Website imports | Fetched by the crawler ElevenlabsBot/1.0, which respects robots.txt. URL documents can be refreshed, or re-synced on a schedule |
Each document has a usage mode. Auto, the default, uses retrieval when it is enabled and the document is indexed, and otherwise places the full text in the prompt. Prompt always places the document in the prompt if it fits. Folders always go through retrieval.
The agent has a retrieval mode too: Every turn searches the knowledge base on every turn, On demand lets the agent search when it decides it needs to, and Prompt only turns retrieval off. Under the same tab you can set the embedding model, the vector distance limit, the number of candidates, and limits on characters and chunks.
ElevenLabs' own advice is to break large documents into smaller, focused pieces, and to review call transcripts for topics where callers struggle to get answers. A KB Builder file does the first for you: every section is short and names what it is about, which is what retrieval needs.
KB Builder is made by MasterBlocks. It is not affiliated with ElevenLabs.
Common questions
Is there a knowledge base builder for ElevenLabs agents?
Yes. KB Builder reads a business's website and writes one Markdown knowledge base file for an ElevenLabs agent, in which every price, time and limit is in a sentence that names what it belongs to. ElevenLabs accepts Markdown files of up to 20 MB, so the file uploads as it is. KB Builder is not affiliated with ElevenLabs.
Why does my ElevenLabs agent give the wrong price?
Usually because of what it was handed, not the voice or the model. With retrieval switched on, the agent sees only the passages of your document closest to the caller's question. If a price sits in one passage and the name of the product in another, the agent has a real price with no owner and attaches it to whatever the caller asked about. Writing each price in a sentence that names its product removes the cause.
How do I build an ElevenLabs knowledge base from a website?
There are two ways. ElevenLabs can import a web page, or a whole site by crawl or sitemap, and it stores the pages as they are written. Or you rewrite the website into one file where every price, time and limit names what it belongs to, and upload that file. KB Builder writes that file from the website and the business's documents, or you can write it by hand.
Why is my ElevenLabs agent not using its knowledge base?
ElevenLabs' documentation points to four things to check. The document must be attached to that agent. If you rely on retrieval, the retrieval mode must not be Prompt only, and the document must have finished indexing, which can take a few minutes. Documents under 500 bytes are never indexed and go into the prompt instead. And a page imported by URL can come in empty if the website blocks ElevenLabs' crawler or disallows it in robots.txt. Checked 7 November 2026.
How big can an ElevenLabs knowledge base be?
A file can be up to 20 MB. To sit in the agent's prompt in full, a document's text must fit in roughly 300,000 characters. Larger documents have to be used through retrieval. The total size of documents indexed for retrieval depends on the plan: 1 MB on Free, 2 MB on Starter, 20 MB on Creator, 100 MB on Pro, 500 MB on Scale and 1 GB on Business. Checked 7 November 2026.
Can I upload a Markdown file to an ElevenLabs agent's knowledge base?
Yes. ElevenLabs accepts PDF, Word (.docx), text (.txt), Markdown (.md), HTML and EPUB files of up to 20 MB each, as well as web pages and typed text.
What does KB Builder cost?
Building a knowledge base and previewing the file is free, with no card. Downloading the file starts at $19 a month on the Solo plan, which covers three client knowledge bases and rebuilding them when the website changes.