AI Support Agent Knowledge Base Setup
Written by Max Zeshut
Founder at Agentmelt · Last updated May 26, 2026
The ceiling on your AI support agent's performance isn't the model. It's your knowledge base. A state-of-the-art AI agent with a mediocre KB will give mediocre answers. A mid-tier agent with an excellent KB will give excellent answers. This is the most important thing most teams get wrong when they deploy AI support for the first time.
Why the knowledge base is the bottleneck
AI support agents work by retrieving relevant content from your KB and generating an answer grounded in that content. If the relevant article doesn't exist, the agent either:
- Refuses to answer (best case, frustrating for users)
- Makes up an answer (worst case, destroys trust)
- Gives a technically correct but useless generic answer (most common case, slowly erodes satisfaction)
The agent can only be as good as the content it retrieves. Your KB is the agent's memory. Its limits are the agent's limits.
What a great KB for AI looks like
Structure
One topic per article. "How to reset your password" and "How to change your email" are separate articles, even if they're both account management tasks. Mixing multiple topics dilutes retrieval relevance.
Short, focused paragraphs. AI agents retrieve and reason over chunks. Long rambling articles produce poor chunks. Aim for 150–300 word sections with clear sub-headings.
Explicit question-to-answer structure. The first sentence of each article should restate the user's question in answer form. "To reset your password, click Settings > Account > Reset Password." Not "Our password reset system is designed to ensure security while providing convenience..."
Concrete steps, not vague guidance. "Click X, then Y, then Z" beats "navigate to the account settings section of the application." Specificity reduces agent hallucination.
Metadata. Tag articles with: product area, user role, plan tier, last-verified date, canonical URL. The agent uses metadata to scope retrieval appropriately.
Content quality
Cover the top 100 questions. Pull from your ticket data: what are the 100 most common tickets over the last 90 days? Each should have a dedicated, current article. This typically drives 60–80% of deflection.
Update for every product change. A KB article about a feature that was renamed three months ago is actively harmful. Assign owners and review cycles. Expect to touch every article at least quarterly.
Write for your actual users, not marketing. "Optimize your authentication workflow" is marketing-speak. "How to sign in when your password isn't working" is what users search for. Match user vocabulary, not internal jargon.
Include screenshots where visual reference matters. Good AI agents can reference images in responses. A screenshot of the "Settings" button saves 500 words of directional text.
Explicit prerequisites. "To do X, you must first do Y" prevents the agent from giving instructions that fail because the user hadn't completed a required step.
What NOT to include in the AI-accessible KB
- Internal SOPs (escalation procedures, tier-2 runbooks)
- Pricing negotiations or discount policies
- Security vulnerability disclosures
- Legal boilerplate that only confuses users
- Outdated articles marked "archive" (should be excluded, not just hidden)
- Articles that reference unreleased features
Connecting the KB to the agent
Most AI support platforms integrate with the major help-desk and KB tools: Zendesk Guide, Intercom Articles, HelpScout Docs, Salesforce Knowledge, Confluence, Notion, Google Drive, and custom APIs.
Preferred: native integration. The AI platform pulls articles automatically, respects visibility rules, and updates when you update source content.
Acceptable: webhook-triggered sync. KB updates trigger a resync. Slightly more latency but workable.
Avoid: manual import. If you're uploading CSV dumps of your KB, you've guaranteed stale content within weeks.
Scope and visibility
Not every KB article should be agent-accessible. Configure:
- Public articles: Visible to anyone, agent can cite freely
- Authenticated articles: Only visible to logged-in users; agent includes only when the requester is authenticated
- Admin-only articles: Agent should not access; these often contain sensitive operational details
- Internal-only articles: Completely excluded from the agent's retrieval corpus
Get this wrong and the agent will either leak internal information (catastrophic) or miss important content (frustrating).
Chunking strategy
Behind the scenes, the agent splits your articles into chunks for retrieval. Default chunking (500 tokens with 50 token overlap) works for most content. For highly structured content (step-by-step guides), chunk by section rather than by token count. For dense reference material, smaller chunks with more overlap work better.
Most modern AI support platforms handle chunking automatically. If yours doesn't, ask the vendor for their chunking strategy—it's a meaningful quality factor.
Testing before launch
Before the agent goes live to customers:
- Pull 100 real tickets from the last 30 days across the topics you want the agent to handle.
- Run them through the agent with the current KB connected.
- Score each response on: accurate (1-5), complete (1-5), on-brand (1-5), would-resolve-the-ticket (yes/no).
- Investigate failures. Missing article? Article content unclear? Retrieval pulled the wrong chunk? Each failure reveals a KB gap to fix.
- Iterate until 70%+ of tickets would resolve. This is the deflection rate ceiling; real-world deflection will be 10–20% lower due to questions the historical ticket sample didn't cover.
Ongoing KB maintenance
Monthly health check:
- Articles updated in the last 90 days: % of total (target >40%)
- Articles referenced by the agent this month: % of total (target >70%)
- Agent confidence distribution: % of responses at high confidence (target >80%)
- Failed retrievals (no relevant article found): by topic cluster
The failed-retrieval report is gold. Every topic cluster where the agent couldn't find a good article is a KB gap. Fix these in priority order: top-volume gaps first.
Feedback loop: When human agents handle escalations, capture their responses. These are new KB articles waiting to happen. A well-run team turns 5–10% of escalation resolutions into new articles each week.
Special considerations
Multi-language support: If your users span languages, either translate the KB (highest quality) or rely on the agent to translate during response generation (faster to deploy, slightly lower quality). Most enterprise deployments do a mix: translated KB for top 5 languages, on-the-fly translation for the long tail.
Product versioning: If users are on different product versions, articles must be version-tagged. The agent should surface the article matching the user's version.
Multi-tenant products: For B2B SaaS with heavy customization per customer, each customer's instance may need a customer-specific KB layer. The agent combines the common KB with the customer-specific articles.
Compliance-sensitive content: Medical, legal, and financial content needs citation rigor. Configure the agent to always include source links and to refuse to answer questions outside the KB's scope.
For Zendesk-specific setup, see AI Support Agent Zendesk Integration. For the agent-vs-chatbot distinction, see AI Support Agent vs Chatbot. For the broader niche, see AI Support Agent.
Get the AI agent deployment checklist
One email, no spam. A short checklist for choosing and deploying the right AI agent for your team.
[email protected]