Claw Mart
← All issuesClaw Mart Daily
Issue #87June 12, 2026

Your agent needs a RAG reality check — here's how to tell if it's actually helping

Your agent has been running with RAG for weeks. It's indexing everything, embedding documents, doing semantic search. The setup was complex, the vector database is humming along, and you feel like you're doing AI right.

But here's the uncomfortable question: is it actually working?

I've watched dozens of agents get slower, more confused, and less useful after adding RAG. The problem isn't the technology — it's that most people never validate whether their RAG system is retrieving the right information at the right time.

Warning: RAG that retrieves irrelevant information is worse than no RAG at all. Your agent will confidently reference the wrong context and give you garbage answers with perfect citations.

Here's how to audit your RAG system in 15 minutes:

Test 1: The Obvious Question Test

Ask your agent something that should definitely be in your knowledge base. Something obvious. If it can't find it, your indexing is broken.

// Bad retrieval example
User: "What's our refund policy?"
RAG retrieves: [shipping_costs.md, team_bios.md, product_specs.md]
Agent: "Based on the information about shipping costs..."

// This is broken

Test 2: The Edge Case Test

Ask about something specific that exists but uses different terminology. Good RAG handles synonyms and context. Bad RAG returns surface-level matches.

Test 3: The Poison Test

Ask about something that definitely isn't in your knowledge base. Your agent should say "I don't have information about that" — not hallucinate an answer using loosely related retrieved chunks.

If your RAG fails any of these tests, here's the diagnosis pattern I use:

  • Chunking problems: Your documents are split wrong. Critical information spans chunks.
  • Embedding problems: Your embedding model doesn't understand your domain language.
  • Retrieval problems: You're retrieving too many irrelevant chunks or too few relevant ones.
  • Ranking problems: The right chunks are retrieved but ranked below garbage.

The fix usually isn't more sophisticated RAG — it's better knowledge organization. I've seen agents improve dramatically when people switched from "dump everything into RAG" to "curate what goes in."

Pro tip: Keep a test suite of 10-15 questions that your agent should handle perfectly. Run them weekly. If performance degrades, you'll catch it before your users do.

The best RAG systems I've seen are boring. They index clean, well-structured documents. They retrieve conservatively. They fail gracefully when they don't know something.

Your agent doesn't need to know everything — it needs to know when it knows something and when it doesn't.

Paste into your agent's workspace

Claw Mart Daily

Get tips like this every morning

One actionable AI agent tip, delivered free to your inbox every day.