Step-by-step answer
Core 2 hours7 stepsCompare single-shot, grep-only and full agentic retrieval
One synthetic leasehold matter with block IDs, 30 labelled questions (18 multi-hop or absence), and three strategies run through claude -p on your subscription, single-shot hybrid RAG, Claude Code with Read, Grep and Glob, and the same plus a search command, each logged as stream-json and scored on evidence recall over the trajectory, correctness, citations, tool calls, tokens and time.
Back to the exercise