Skip to main content
Connic
Back to BlogTutorial

AI Agent Knowledge Base: Setup in 10 Minutes

Your AI agent answers beautifully, just not with your company's information. Learn how RAG transforms generic chatbots into domain experts.

November 15, 20256 min read

You've built an AI agent. It's articulate, helpful, and responds in milliseconds. There's just one problem: when a customer asks about your refund policy, your product specs, or your API rate limits, it gives a beautifully written response that's completely made up.

This isn't a bug in your agent. It's a fundamental limitation of how LLMs work. They're trained on internet data, not your company's internal documentation. The fix is called RAG (Retrieval Augmented Generation), and it's simpler to implement than you might think.

The Problem with Generic AI

Watch what happens when you ask a standard AI agent about company-specific information:

User:

What's your refund policy for enterprise customers?

Agent (without knowledge):

I don't have specific information about your company's refund policy. You would need to check with your customer support team or refer to the relevant documentation for details about enterprise refund policies.

Technically correct. Completely useless. Now compare that to an agent with access to your documentation:

User:

What's your refund policy for enterprise customers?

Agent (with knowledge):

Based on your policy documents: Enterprise customers are eligible for a full refund within 60 days of purchase (vs 30 days for standard). For annual contracts, prorated refunds are available after the first 90 days. Contact your account manager to initiate.

Source: company-policies.pdf, page 12

Same question. One agent is useless, the other is actually helpful. The difference? A knowledge base.

Add RAG to your agents in minutes

Upload your documents and Connic handles chunking, embeddings, and retrieval, so you skip the vector-database setup.

Try Connic free

How RAG Works (Simply Explained)

RAG stands for Retrieval Augmented Generation. Don't let the jargon intimidate you. The concept is straightforward.

1

User asks a question

"What's the API rate limit for the Pro plan?"

2

Search the knowledge base

Find documents semantically related to "API rate limit Pro plan"

3

Add context to the prompt

Include the relevant documentation snippets with the question

4

LLM generates grounded response

Answer based on your actual documentation, not internet guesses

The magic word is "semantic" search. Unlike keyword search (which would miss "rate limit" if your docs say "request throttling"), semantic search understands meaning. It finds relevant content even when the words don't match exactly.

The Traditional RAG Stack (And Why It's Painful)

Building RAG from scratch means assembling all of this:

  • Vector database: Pinecone, Weaviate, Qdrant, or pgvector. Each with its own setup, scaling, and pricing model.
  • Embedding model: OpenAI, Cohere, or open-source. Need to choose and configure.
  • Chunking strategy: How do you split documents? By paragraph? By token count? Overlapping chunks?
  • Ingestion pipeline: Watch for new documents, process them, update embeddings.
  • Query pipeline: Search, rank results, format for LLM context.

This easily becomes a 2-3 month project before you even start on the actual agent logic. And then you have infrastructure to maintain forever.

The Managed Alternative: 10 Minutes to RAG

What if the knowledge base was just... built in? That's what Connic provides. The entire setup:

Step 1: Add Knowledge (Dashboard)

Go to your project → Knowledge → Upload documents or paste text. That's it. No vector database to configure, no embedding model to choose, no chunking decisions.

Connic Knowledge Base showing policy and runbook documents organized in a namespace tree, with chunk counts and content types
The Knowledge tab: upload or paste content, organized by namespace — no vector DB to configure.
  • Upload PDFs, Word docs, plain text
  • Paste content directly from your wiki or docs
  • Organize with namespaces (e.g., "policies", "api-docs", "faq")

Step 2: Give Your Agent Access

Add the knowledge tool to your agent configuration:

agents/support-agent.yaml
version: "1.0"
name: support-agent
description: "Support agent with knowledge base access"
model: gemini/gemini-2.5-flash
system_prompt: |
  You are a helpful support agent. Always use the knowledge
  base to answer questions about company policies, products,
  and procedures. Cite your sources.
tools:
  - query_knowledge   # Semantic search across all knowledge
  - store_knowledge   # Store new information (optional)

Step 3: Done

Seriously, that's it. Your agent now has access to your company's knowledge and will automatically search it when relevant to user questions.

Advanced: Programmatic Knowledge Storage

Sometimes you want agents to learn as they work. Maybe your support agent discovers new solutions that should be saved for future reference. You can do that with the predefined tools:

Agents with both query_knowledge and store_knowledge tools can learn from their own interactions, building institutional knowledge over time. The agent can save successful resolutions and reference them in future conversations.

Real-World Use Cases

Customer Support
  • • Product documentation
  • • FAQs and troubleshooting guides
  • • Policy documents
  • • Previous ticket resolutions
Sales Enablement
  • • Competitor analysis
  • • Pricing details and packages
  • • Case studies and testimonials
  • • Product comparison sheets
Internal Tools
  • • Company wiki and processes
  • • HR policies and benefits info
  • • Engineering runbooks
  • • Meeting notes and decisions
Developer Experience
  • • API documentation
  • • Code examples and snippets
  • • Migration guides
  • • Changelog and release notes

Source Citations: Building Trust

One of the biggest problems with AI is trust. Users don't know if the agent is hallucinating or quoting actual documentation. Source citations fix that.

When your agent uses the knowledge base, it can cite exactly where the information came from. Users can verify the answer if needed, and you can track which documents are actually being used.

"Enterprise customers receive a 15% volume discount on annual contracts of $50,000 or more."

Source: pricing-guide-2024.pdf, Section 4.2 (Enterprise Discounts)

Getting Started

Adding a knowledge base to your agents takes about 10 minutes:

  • 1.Go to your project dashboard → Knowledge tab
  • 2.Upload your documents or paste content
  • 3.Add query_knowledge to your agent's tools
  • 4.Deploy and test

No vector database to configure, no embedding models to choose, no chunking strategies to debate. Just upload your content and let your agents use it.

Check out our knowledge base feature page for an interactive demo, or dive into the quickstart guide to get started.

More from the Blog

Industry Insights

State of AI Agents in DACH 2026

How DACH teams build, trigger, and run production AI agents in 2026 — adoption, model mix, connectors, cost, reliability, and compliance, from Connic customer data.

June 27, 202612 min read
Tutorial

How to Add an AI Agent to Your SaaS Without a Large Engineering Team

A practical, step-by-step path to shipping your first production AI agent with a small team: scope one job, define it in config, connect it to your existing systems, and let a runtime handle the rest.

June 12, 20269 min read
Tutorial

Automated Agent Scoring: AI Agent Evaluation with LLM Judges

Automated agent scoring uses an LLM judge to grade every agent run against criteria you define. Set up AI agent evaluation that tracks quality trends and alerts on regressions.

March 29, 202610 min read
Tutorial

Migrate from LangChain to Production AI Agents

Your LangChain prototype works. Now you need it to handle real traffic. Learn how to migrate existing agent code to a production-grade platform without rewriting from scratch.

March 23, 202611 min read
Tutorial

Database vs. Knowledge Base: Choosing the Right Storage

Learn when to use Connic's document database for structured CRUD vs. the knowledge base for semantic search. Configuration tips and best practices.

March 4, 202612 min read
Tutorial

AI Agents: From Prototype to Production

Your demo works great until you have 1,000 concurrent users. A practical guide to the production requirements most teams find out about too late.

January 10, 202610 min read
Product Spotlight

Composer SDK: Better Agent Development Tooling

No more manual uploads or YAML guessing. The Composer SDK adds scaffolding, validation, hot-reload testing, and CLI deployments.

December 27, 20255 min read
Tutorial

Hidden Costs of Self-Hosting AI Agents

We'll just deploy it on Kubernetes — famous last words. The true cost of self-hosting AI agents vs. a managed platform.

December 18, 20257 min read
Tutorial

Add AI Agents to SaaS Without an ML Team

Your customers expect AI features, but you don't have ML engineers. Learn how teams ship AI agents using skills they already have.

December 5, 20258 min read