What problem does it solve?
Iterative retrieval resolves the multi-agent context gap where subagents need relevant code or knowledge but cannot predict which files or concepts will matter until they start working.
Core Features & Use Cases
- Four-phase refinement loop: DISPATCH candidates, EVALUATE relevance, REFINE the query using discovered terminology and gaps, then LOOP for up to three cycles.
- Relevance scoring and gap identification: Selects high-relevance sources and explicitly targets missing context rather than blindly expanding results.
- Token-efficient context selection: Stops early when the retrieved set is “good enough,” reducing “context too large” failures and avoiding “missing context” stalls.
- Use Case: When an agent is assigned a specific feature task (e.g., fixing an authentication bug or adding rate limiting), it can discover the codebase’s naming conventions and relevant modules across cycles.
Quick Start
Ask the agent to retrieve code context for your task by running iterative retrieval: start broad, score candidates for relevance, refine using missing-context signals, and return only files with high relevance.