Browse Engineering journal
AI & machine learning

Give a research agent a finish line

On this page

A document lookup task needs evidence of completion, a budget and a distinct outcome for missing evidence.

Artificial Intelligence Engineering · Dec 4, 2026 · 2 min read

“Find the maintenance window” sounds like a single tool call. In a real document collection, a search can return last quarter’s schedule, a proposal and an approved notice bearing the same service name. A fluent answer conceals the difference. Define completion before choosing how much control to hand to a model.

Make the result inspectable

For this task, require a service identifier, a start and end with time zones, the approved document revision and a passage supporting the interval. The application can check that the revision exists and that the referenced passage occurs in it. A reviewer must still judge whether the passage applies to this service. A matching string establishes provenance while leaving interpretation open.

A fixed workflow is sufficient when each service has one known schedule register. Look up the register, validate the fields, show the citation. When naming varies across acquisitions and several archives may hold the notice, letting the model choose its next search can save the cost of encoding every route. Anthropic’s account distinguishes prescribed workflows from loops whose next action is model-directed. It also describes grounding each step in tool results and setting iteration limits. Anthropic on workflows, agents and stopping conditions.

Evaluate the empty answer

Give the system four fixtures. One has an approved notice, one only a draft, one two conflicting approvals and one no record. Score each outcome separately. A policy that always quotes the nearest date will look excellent on a collection containing only approved notices. On the other three fixtures it can create inaccurate operational instructions.

Keep “no approved notice found,” “sources conflict” and “search budget exhausted” distinct in the interface. The first may call for a missing document, the second an owner decision and the third another search. Recording which searches ran makes that next action possible.

Count the retries hiding in your call stackA gateway, client library and storage adapter can turn one user request into twelve downstream attempts.What can your release flag actually undo?Switch the old reader back on after the new writer has produced data. The result tells you what the rollout control is worth.

Search ObjectFAQ