how to write an AI knowledge base

How to Write an AI Knowledge Base That Actually Works

A 7-section template, before-and-after examples, and a pre-submission checklist for writing an AI knowledge base that makes your agent sound like you, not a generic chatbot.

TL;DR

Your AI is only as useful as what you put into it. Write the knowledge base like a briefing for a sharp new employee on day one — specific, structured, and honest about what your business actually does. Vague inputs produce vague outputs. Seven sections, before-and-after examples, and a pre-submission checklist.

Ebenezer Blasu, CSM®, MBA··9 min read
How to Write an AI Knowledge Base That Actually Works

Your AI agent knows exactly as much about your business as you've put into it. Which, for most businesses, is considerably less than you'd give a temp on their first afternoon. The result is predictable — an AI that responds to "what do you charge?" with "our pricing is tailored to your needs." Tailored to no one's needs, specifically.

The knowledge base is how you fix this. It's the single document your AI reads as context before every conversation. Get it right and your AI sounds like you. Get it wrong and it sounds like a corporate chatbot that was briefed on nothing and is doing its best.

What the knowledge base actually does

The knowledge base is not your website. It's not your brochure. It's a briefing document — the file your AI reads as context before it responds to anything.

Most AI agents run off a system prompt: a set of instructions and background information injected before every conversation starts. The knowledge base is the substance of that prompt. It's where you tell the AI who your business serves, what you charge, how you speak, and what happens when a conversation goes sideways.

Most AI knowledge bases read like a terms and conditions agreement written at 11pm on a Friday. Technically complete. Practically useless. "We provide world-class AI solutions for businesses of all sizes at competitive prices" contains no information your AI can actually use. Ask it "how much does it cost?" and it will say something like "our pricing is competitive — please reach out for details."

Which is, charitably, not helpful.

The knowledge base also determines whether your AI sounds like your business or like a generic assistant who's been briefed on nothing. The AI doesn't invent personality. It reflects what it's given. Give it marketing copy and it speaks in marketing copy. Give it real answers and it gives real answers. The choice is yours, but only one of those options is useful to a client who has a question right now.

The golden rule

Write it for a sharp new employee on their first day. Not for a search engine. Not for a regulator. For a capable, well-intentioned person who has zero context about how your business actually works.

That person needs to know: what do we sell, who buys it, what does it cost, what do we say when someone asks X, and what's the one thing we never promise? That's the frame. That's the entire job of the knowledge base.

Your AI is not psychic. (Neither are your employees — but at least they can ask a clarifying question before saying something unfortunate.)

If the information isn't in the knowledge base, the AI will either guess or deflect. Guessing is charming in a pub quiz. In a client conversation about your service scope, it's a different matter entirely.

One test: could your knowledge base double as your LinkedIn company page? If yes, rewrite it. LinkedIn is optimised for impressions. Your AI knowledge base is optimised for useful answers. Those are different objectives, and optimising for one while pretending you're doing the other produces documents that do neither well.

The 7 sections your knowledge base needs

1. Business identity

Who you are, what you do, who you serve, and what outcome you deliver. Three to five sentences. Real specifics — not marketing language. Your target audience, the problem you solve, and the geography you cover.

2. Services and pricing

List each service with a name, price range, a one-sentence description, and who it's for. The AI cannot invent prices. If you don't give it a number, it will either refuse to answer or fabricate one. Both outcomes damage trust — one of them faster than the other.

Price ranges are fine. "Between $2,500 and $4,500 depending on scope" is useful. "Contact us for a quote" is not information — it's an instruction to the client to do the work you should have done in the knowledge base.

3. Common questions and answers

Write 5–10 real questions you get, with your actual answers. Not marketing copy. Answers. The difference: marketing copy sounds good. An answer to a specific question is useful. These are different goals, and conflating them produces text that does neither.

4. Tone and style

Describe how you speak. Professional or casual? Do you use first names? Contractions? What phrases are on-brand? What do you never say? This is the section that makes your AI sound like your business rather than a generic assistant. If you skip it, your AI defaults to a neutral corporate register that sounds nothing like you — and helps no one feel confident they've reached the right business.

The Anthropic model specification is useful context here — it explains how the model synthesises instructions rather than quoting them verbatim, which is exactly why describing your tone precisely matters more than providing example sentences.

5. Booking and contact flow

Calendar link, phone number, email address, and any qualification questions to ask before booking. If a prospect says "I want to start," the AI needs to know exactly what the next step is — not just "contact us." Specific next steps close the loop. "Contact us" opens it back up.

6. What you don't do

The section most businesses skip — and regret. List the services you don't offer, the clients who aren't a good fit, and the situations where you'd refer out. An AI that clearly says "that's not what we do — here's who might help" is more trusted than one that vaguely tries to accommodate everything. Boundaries are information. Give your AI the information.

7. Escalation rules

When should the AI hand off to a human? Define at least 2 concrete scenarios. "When things get complicated" is not a rule — it's a prayer. "When the contact mentions a refund, legal action, or requests a custom quote above $15,000" is a rule. Write rules, not prayers.

Before and after: what weak and strong entries look like

Here's the same piece of information written two ways.

Weak: "We provide world-class AI solutions for businesses of all sizes. Our experienced team delivers comprehensive results with a focus on quality and client satisfaction."

What your AI learns from this: nothing. It cannot answer "who do you work with?", "what do you charge?", or "are we a good fit?" from this paragraph. It will either deflect or guess. (Hallucinating confidently is very much the AI's default move when the knowledge base is thin. I've been doing this since 2018 and I still can't decide if that's impressive or alarming.)

Strong: "We work with service businesses — typically 10–50 staff, Canada and North America. We charge between $2,500 and $4,500 for an implementation engagement depending on scope. We're not the right fit for startups without existing processes to automate, or companies looking for a quick chatbot rather than a system."

What your AI learns: who to welcome, who to redirect, and how to answer "are we a good fit?" with specificity rather than deflection.

The difference is specificity. Every adjective you replace with a number, a category, or a concrete example makes the AI a more useful representative of your business. "Premium" tells it nothing. "$2,500–$4,500" tells it everything it needs.

How long should it be?

Target 600–1,500 words.

Under 400 words is usually too thin. The AI fills in the gaps with best guesses, and those guesses will not always match your brand. Over 2,500 words and the document becomes unfocused — the AI tries to weigh everything equally and ends up prioritising nothing. That's a very human problem that AI reproduces faithfully.

The sweet spot is a document that a sharp person could read in 8 minutes and walk away with a clear mental model of your business. If your knowledge base takes more than 10 minutes to read comfortably, it needs to be tightened — not expanded.

Word count is a proxy for clarity, not quality. A 700-word knowledge base with real prices, real FAQs, and a specific tone instruction will outperform a 2,000-word document full of adjectives and mission statements. Specificity wins. The OpenAI prompt engineering guide makes this point well: dense, specific instructions outperform long, vague ones regardless of which model you're using.

When the AI still gets it wrong

If your AI is still producing incorrect or off-brand responses after you've submitted the knowledge base, the cause is almost always the same: a missing section, a vague answer, or a tone instruction that conflicts with something else in the document.

This is not a technology problem. The pattern is consistent. A business owner spends $200 a month on an AI writing or chat tool, gets generic responses that sound nothing like them, and cancels after 90 days. Not because the tool was bad — because nobody gave it a knowledge base worth reading. The AI amplifies what you put in. Put in nothing and it gives you generic. Put in real information and it gives you real responses.

Most AI implementation goes wrong at this step. A consultant recommends a tool, configures the integration, and leaves. The knowledge layer — documented processes, defined voice, mapped client knowledge — never gets built. That's why 80% of AI initiatives fail to deliver ROI within the first year. Not because the technology was wrong. Because the foundation was missing.

The AI-Ready Business Blueprint exists to close this gap. It's 7 documented deliverables — including a structured knowledge base — built across 8 sessions. The knowledge base section alone typically takes one full session to get right. Not because it's complicated. Because most founders have never been asked to write down how their business actually works, and the first draft always includes surprises.

If you're not ready to document your business in full, the AI won't be ready to represent it accurately. That's not a reason not to start — it's a reason to do the documentation work first. Book a call and we'll help you figure out where the gaps are.

Not ready for a full engagement? The AI Readiness Checklist is a free download — it shows you exactly where your business stands before you commit to anything.

Your pre-submission checklist

Go through this before you submit. If you can't check every box, spend 15 more minutes on the ones you can't.

  • Business identity includes your target audience and the specific outcome you deliver — not just a description of what you do
  • Every service has a price, or at minimum a price range (e.g., "$2,500–$4,500")
  • At least 5 real FAQs with complete, specific answers — not "it depends"
  • Tone section describes how to greet people, what phrases to avoid, and whether to use first names
  • A "what we don't do" section exists and is honest
  • Booking instructions are specific — there's a calendar link, email address, or phone number for qualified prospects
  • Escalation triggers are defined for at least 2 concrete scenarios
  • The entire document can be read comfortably in under 10 minutes

If you've got the knowledge base ready and want to put it to work in an AI social media agent, the next step is understanding how the agent uses it in practice. Start with how AI social media comment management actually works — the knowledge base is one of the first things the system reads before responding.

And if the AI has already said something unfortunate to one of your better clients — call us before it drafts a proposal.

Frequently Asked Questions

Can I update the knowledge base after the AI goes live?

Yes. Submit an updated version and the system prompt gets updated and redeployed within 48 hours. Simple additions — a new service, an updated price — take under an hour. Full rewrites are treated as a new review round.

Does the AI memorise the knowledge base word for word?

No. The AI reads it as context and synthesises the content to answer questions naturally. It won't quote the knowledge base verbatim. This is why precise descriptions matter more than polished language — the AI extracts meaning, not sentences.

How long should an AI knowledge base be?

Target 600–1,500 words. Under 400 is usually too thin — the AI fills gaps with guesses. Over 2,500 words and focus gets diluted. Aim for something a sharp person could read in 8 minutes and walk away with a clear mental model of your business.

Can I include pricing I don't want publicly visible?

Yes. The knowledge base is injected into the AI's system prompt, which is not accessible to end users. It's not published or indexed anywhere. You can include internal pricing, qualification thresholds, or handling instructions that you wouldn't put on a public page.

What language should the knowledge base be in?

English. If your clients interact primarily in another language, flag this during setup — it affects how the AI responds to non-English messages and may require a modified configuration.

What if my business has more than one distinct service area?

One knowledge base per AI agent. If you have genuinely separate service lines that should not overlap in client conversations, separate agents — each with its own knowledge base — is the cleaner architecture. Raise this before setup so the deployment can be structured correctly from the start.

Ebenezer Blasu

Ebenezer Blasu

Founder & AI Readiness Consultant

After 7+ years as a Business Analyst across multiple industries — most recently at lululemon — Ebenezer saw firsthand how undocumented "tribal knowledge" creates operational friction. His expertise spans mapping complex business systems — SAP, ERP — and translating them into structured, efficient processes. His mission is to help founders and executives in North America and West Africa move from AI experimentation to true implementation — saving 10+ hours per week and unlocking new growth.

CSM®MBAEx-LululemonSAP · ERP · Business Analysis

See Connor in action.

Talk to our AI voice agent live. Takes under 2 minutes.

Talk to Connor →