Similar Items: Tailoring Scaffolding to Diagnostic Strategies: Theory-Informed LLM-Based Agents