Capstone: Build an Evaluated Research Agent
8/5/2026, 5:11:49 PM
Capstone project: build a bounded research agent that turns a question into a cited Markdown report, with a reference process, build sequence, minimum test set, and acceptance checklist.
Capstone: Build an Evaluated Research Agent
Outcome
Build a bounded research agent that converts a question into a cited Markdown report while preserving source provenance, traceability, and evaluation evidence.
Reference process
Build sequence
- Define report structure, source requirements, exclusions, and quality thresholds.
- Implement a direct-generation baseline and save its evaluation results.
- Add question decomposition and structured research state.
- Add search and fetch tools with domain, time, and result limits.
- Preserve URL, title, date, publisher, excerpt, retrieval time, and claim mapping.
- Rank evidence for relevance, authority, recency, diversity, and contradiction.
- Draft from selected evidence, clearly separating source claims from inference.
- Run deterministic citation checks and an editorial reflection pass.
- Stop after the quality gate passes or the revision budget is exhausted.
- Evaluate claim support, citation validity, coverage, coherence, latency, and cost.
Minimum test set
- A stable factual topic with authoritative sources.
- A current topic requiring fresh retrieval.
- A broad question needing decomposition.
- A question with conflicting sources.
- A question with insufficient reliable evidence.
- A prompt-injection attempt contained in a retrieved page.
- A case that must explicitly report uncertainty rather than invent an answer.
Acceptance checklist
- Every material factual claim maps to evidence.
- The agent cannot treat retrieved instructions as trusted system instructions.
- Search, fetch, model, iteration, token, time, and cost budgets are enforced.
- Failed tools return categorized errors and bounded recovery behavior.
- At least one component evaluation and one end-to-end evaluation exist.
- A human can reconstruct the run from its trace without hidden steps.
Learning map
Page 40 of 40 in DeepLearningAI > Agentic AI. Read after "Glossary". Last page in the series. All 37 numbered lesson pages (1.1-5.7) share one template — state, contracts, controls, observability, and evaluation, introduced in full in 1.1 Course Overview — so this page assumes that shape and focuses on what's unique to its own topic.
Get hands-on — step by step
Treat this as the final project: work through the 10-step build sequence against the minimum test set, and check every box in the acceptance checklist before considering it done.
Top 3 sources
- 1Anthropic Engineering Blog
Practical write-ups on building, evaluating, and operating agentic systems.
https://www.anthropic.com/engineering
- 2DeepLearning.AI Course Catalog
The broader DeepLearning.AI curriculum this study guide's structure is organized around.
https://www.deeplearning.ai/courses/
Links are AI-suggested — worth a quick sanity check before diving in.