Skip to content
Back to Case Studies
HR & People Ops

Building an Internal Knowledge Base Agent

How a 200-person company made tribal knowledge searchable — reducing onboarding time from 3 months to 6 weeks.

Sergiu Poenaru·February 15, 2026·3 min read

The Problem

A growing SaaS company had 200 employees and a serious knowledge problem. Product specs lived in Google Docs. Engineering decisions were buried in Slack threads. Customer edge cases existed only in senior support reps' heads. New hires took 3 months to become productive because no one could find answers to basic questions.

The wiki had 2,000+ pages. The search was keyword-based and useless. People defaulted to "ask someone on Slack" — which interrupted deep work across the company.

The Solution

We built a RAG-powered knowledge base agent that:

  1. Indexes all company knowledge — Google Docs, Confluence, Slack channels, Notion, and recorded meetings
  2. Answers questions in natural language with citations to source documents
  3. Maintains freshness by re-indexing updated documents every 6 hours
  4. Knows what it doesn't know — when confidence is low, it suggests the right person to ask
  5. Learns from corrections — when someone flags an incorrect answer, it updates the index weight

How It Works

The system uses a hybrid search approach:

Documents are chunked into ~500 token segments, embedded with OpenAI's text-embedding-3-large, and stored in Supabase pgvector. The retrieval step pulls the top 8 chunks, re-ranks them, and feeds them to Claude for answer synthesis.

The Results

MetricBeforeAfter
New hire time-to-productivity12 weeks6 weeks
"Where do I find X?" Slack messages/week~120~15
Knowledge search satisfaction23%87%
Documents indexed0 (effectively)4,200+

The agent handles 300+ queries per day. The most common: "How does [feature] work?" and "What's our policy on [topic]?"

Key Takeaways

Related Case Studies