liveBook · Manning

Agentic search

As explained in Vibe Engineering

Agentic search is an iterative search approach in which an AI agent uses tools to inspect live information, follow references, and refine its search based on observations.

Agentic search builds context through a continuous plan–act–observe loop. Instead of trusting nearest indexed chunks, an agent searches live files with glob, grep, and reads, then follows references and revises its search. section 3.5.1

The tradeoff is explicit: indexed retrieval is fast but can be stale or arbitrarily chunked; agentic search improves freshness and reference-following at the cost of tokens, latency, and uncertain coverage. Repository exploration consumed 56.2% of tool-use turns and 46.5% of main-agent tokens in one analysis. section 3.5.1

Repository exploration

An agent locates the function to change, searches for usage examples, reads related files, inspects error handling, and iterates when observations reveal missing context. section 3.5.1

Figure 3.7 Context-aware assistance flow. The developer's query is converted into an embedding, matched against the indexed codebase, and the most relevant chunks are injected into the prompt before the model generates its response.

Contrasts agentic context construction with embedding retrieval, where a query is matched against indexed chunks before generation. section 3.5.1

How Vibe Engineering covers it

How deep it goes
Explains the plan–act–observe mechanism and operational tradeoffs, but stops short of guaranteeing search coverage.
Examples
Uses glob, grep, file reads, repository references, and SWE-bench exploration measurements.
What it assumes
Contrasts indexed retrieval with live repository exploration and assumes familiarity with code search and AI-assisted development.
What you can do after
Apply it via live code search and iterative observation while accounting for token, latency, and coverage costs.
How it connects
Connects retrieval, RAG, embedding-based search, tool use, and context construction.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Vibe Engineering. The section links point to the parts of the book it draws on.