Evaluation Guide

Course path (9 chapters)
  1. LLM
  2. RAG
  3. Agent Core
  4. Retrieval Engineering
  5. LangChain & LangGraph
  6. MCP & A2A
  7. OpenClaw & Hermes
  8. Multi-agent & KG
  9. Multimodal
Cross-chapter

Evaluation Guide: all 9 chapters

What to measure, when, and where to find depth

ChapterPrimary metricsGolden set?Deep dive
① LLMPerplexity, MMLU, human preferenceBenchmark suitesLLM eval
② RAGFaithfulness, citation hit rateQ + gold doc IDsBelow · RAG
③ Agent CoreTool accuracy, task success, steps20 labeled queriesBelow · Agent
④ RetrievalRecall@k, MRR, context recall30+ Q + doc IDsBelow · Retrieval
⑤ LangChain & LangGraphResume rate, store recallSession scriptsBelow · Lab
⑥ MCP & A2ATool latency, handoff successIntegration testsBelow · Lab
⑦ OpenClaw & HermesTool JSON validity5 prompt suiteBelow · Lab
⑧ Multi-agentHandoff accuracy, critic pass, KG hop recallMulti-hop Q setBelow · Multi eval
⑨ MultimodalWER, IoU, FID, MOS, VQAModality-specificBelow · Multimodal
Chapter 2

RAG evaluation

Component eval: measure retrieval Recall@k before end-to-end faithfulness.

Chapter 3

Agent evaluation

Chapter 4

Retrieval evaluation

Chapter 5

LangGraph / memory evaluation

Chapter 6

MCP & A2A evaluation

Chapter 7

OpenClaw & Hermes evaluation

Chapter 8

Multi-agent & KG evaluation

Chapter 9

Multimodal evaluation

Workflow

Recommended eval workflow

  1. Define task — one sentence user goal per test case.
  2. Build golden set — 20–50 cases with expected outcome (doc ID, tool, answer snippet).
  3. Component eval first — retrieval before end-to-end RAG; tools before full agent.
  4. Automate — RAGAS, jiwer, custom scripts in CI on every index/model change.
  5. Human spot-check — 10% sample weekly; focus on failures.
  6. Regression gate — block deploy if Recall@5 or task success drops >2%.

Decision tree: where is the bug?

SymptomLikely layerFix
Wrong facts, no sourceRetrieval missHybrid + rerank ()
Right docs, wrong answerGenerationPrompt, smaller chunks, cite-only mode
Wrong tool calledAgent routingTool descriptions, intent router ()
Forgets prior turnMemoryCheckpoint / Store ()
Multi-hop relation missGraphKG + Cypher tool ()
Bad transcriptionASRLarger Whisper, domain fine-tune ()