What problem does it solve?
Iterative retrieval prevents multi-agent subworkers from failing due to missing or oversized context by progressively narrowing which code files are most relevant to the task.
Core Features & Use Cases
- Progressive context refinement: Starts with a broad candidate set, evaluates relevance, refines the query, and repeats for up to three cycles.
- Relevance scoring with gap detection: Assigns a relevance score and explicitly identifies missing context to guide the next retrieval pass.
- Terminology and pattern learning: Updates search patterns and keywords based on what the codebase actually uses, improving accuracy over cycles.
- Use Cases: Debugging authentication/session issues, implementing features when the project uses unfamiliar naming, and reducing token usage in agent orchestration by stopping once “good enough” context is found.
Quick Start
Ask an AI agent to retrieve the minimal set of code files for your multi-agent task by running iterative retrieval for up to three cycles using broad keywords first, then refining based on relevance scores and identified context gaps.