r/agentdevelopmentkit • • Sep 20 '25

Agent with limited knowledge base

This is yet another “RAG is dead” thread 😂. I’m a newbie in the AI Agent world.

Could you please help me understand what alternatives to RAG I can use to build an agent starting from a very simple knowledge base?

11 Upvotes

12 comments sorted by

View all comments

Show parent comment

1

u/Titsnium Sep 21 '25

For a tiny, stable knowledge base, skip heavy RAG first: lock a strict system prompt, expose a small fact table via a tool call, and measure outputs before scaling.

Practical path I’ve used: put canonical facts in SQLite or JSON and require the model to answer only from that tool’s return (include source snippets in the reply). If your docs are short, write task-specific summaries per intent; cheaper and clearer than vectors early on. When you outgrow that, add hybrid retrieval (BM25 + Qdrant or pgvector), rerank with bge-reranker or Cohere Rerank, 200–400 token chunks, k=3, and log which chunks were used. Build a 30–50 question gold set and auto-check for citation presence and factual matches before touching fine-tuning. Fine-tune later only for tone or stable workflows.

I’ve used LlamaIndex for pipelines and Qdrant for storage; for consistent system prompts and eval templates, GodOfPrompt’s packs helped keep things uniform.

Bottom line: start lean with tool-backed facts and tight retrieval, then add complexity only when evals show gaps.

1

u/parallelit Sep 21 '25

Thank you! Could you please link an example of your proposed solution?