Guides · 2 min read

How to write a knowledge base an AI agent can actually use

Seven writing habits that make help content easy for an AI agent to answer from, and how to test the result with real questions.

In short

  1. Give each question its own short answer, and put the answer first.
  2. Write rules with their exceptions, in the words customers use.
  3. Test with your twenty most common questions, and fix the article when an answer is wrong.

An AI agent can only answer as well as the content it reads. A knowledge base written for people to browse is often hard for an AI to use: answers are buried in long pages, policies contradict each other, and the important detail sits in a screenshot.

These seven habits make a knowledge base that an AI agent can answer from accurately.

1. One question, one answer

Give each question its own short article or section. "How do I return an item?" and "How long do refunds take?" are two answers, even if they sit on the same policy page today.

2. Put the answer first

Start with the direct answer, then add detail. An AI retrieves passages, and a passage that opens with the answer is far more useful than one that opens with background.

3. Use the words customers use

If customers say "where is my order", use that phrase in the article. Do not rely on internal terms such as "fulfillment status".

4. State the rule and the exception

Write policies as clear rules with their limits: "Returns are accepted within 30 days of delivery. Sale items are final." Vague wording produces vague answers.

5. Keep one source of truth

When two documents disagree, the AI may quote either. Pick one home for each policy and remove or update the copies.

6. Write text, not pictures

Size charts, pricing tables and step-by-step instructions should be text. Content inside images is easy for people to read and easy for an AI to miss.

7. Date what changes

Holiday shipping deadlines and promotions go out of date. Add the dates to the text and remove the content when it expires.

Test with real questions

Before launch, ask the AI the twenty questions your team hears most and check each answer against the policy. Where the answer is wrong or missing, fix the article, not the AI.

After launch, the handoff reasons do this work for you. A cluster of handoffs on one topic usually points to a missing or unclear article.

On SimpliCX you add knowledge as files or text and attach sources to any AI Employee. Update a source once and every agent uses the new version. See knowledge and tools.

What the knowledge base cannot do

Content answers questions. It does not look up an order or change an address. For those, the AI needs tools. A good setup pairs clear articles with a small set of tools, and sends everything else to a person.

Questions

Knowledge baseRAGContent
Share
ST
SimpliCX TeamCustomer experience. The SimpliCX team writes about running customer service with AI Employees and people on one platform

See it on your own questions.

Book a demo and we build an AI Employee around the conversations your team handles most.