liveBook · Manning

Research agent

As explained in Build an AI Agent (From Scratch)

A research agent is an LLM agent that gathers and synthesizes information from multiple sources to produce a research report.

A research agent turns a request into a sequence of information-gathering and synthesis steps. Rather than relying only on an LLM’s training data, it can consult multiple sources, analyze what it finds, and produce a comprehensive answer. section 1.2.2

The LLM decides what to do next: which source to check, whether the results are sufficient, what to investigate further, and when to write. Tools provide actions such as web search, file access, and calculation; a loop lets the agent make further decisions as new information arrives. section 1.2.2 section 2.4.3

From question to report

Asked to summarize the 2024 Nobel Physics Prize winners’ research, an agent searches for the winners, explores academic papers and Wikipedia, then synthesizes a report on their achievements and effect on AI. section 1.2.2

Figure 1.2 User requests flow through the research agent, which branches into multiple searches and synthesis.

The branching searches show how one user request can require several information-gathering steps before synthesis. section 1.2.2

Measure progress against realistic questions with verifiable answers and varied difficulty, rather than judging improvements by prompt changes alone. GAIA provides such test cases. A tool-free LLM is a useful baseline, but training data is unreliable for precise, current, or verifiable answers; the agent needs external capabilities to address those gaps. section 2.4.1 section 2.4.3

How Build an AI Agent (From Scratch) covers it

How deep it goes
Explains decisions through the LLM-tool-loop structure and evaluation goals, but defers adding tools to the agent.
Examples
Uses a Nobel Physics Prize research report and a marathon-pace-to-Moon question as concrete requests.
What you can do after
Evaluate/understand it by comparing tool-free answers with verifiable research questions and identifying missing external capabilities.
How it connects
Links research agents to autonomous control flow, LLMs, tools, agent loops, and benchmark evaluation.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build an AI Agent (From Scratch). The section links point to the parts of the book it draws on.