Where does the sufficiency decision sit in an agent loop, and which tool actions does it need?
The decision sits between intake and the first committing action, and works best as a small set of logged tool actions linked by case, document and requirement identifiers.
In an agent loop, the sufficiency decision sits between intake and the first action that commits something: scoring, approval, booking or dispatch. It is best exposed as a small set of tool actions so each step can be logged and replayed.
Typical tool actions:
- `get_case(case_id)` returns case type, status, policy version and customer-supplied context. - `list_documents(case_id)` returns document records with type, received date, page count and a legibility flag. - `get_requirements(case_type, policy_version)` returns requirement IDs, acceptable substitutes and age limits. - `record_sufficiency(case_id, outcome, gaps[])` writes `sufficient`, `insufficient` or `escalate`. - `send_request(case_id, gap_ids[], message)` creates the outbound request.
Link records by `case_id`, `document_id` and `requirement_id`. Each gap should point to the requirement it fails and, for conflicts, to both documents involved.
State to carry between turns includes the open gap list, requests already sent with timestamps, and the last evaluated document set. Without it, agents tend to re-ask for items already received.
A release can use JSONL for cases and events, with Parquet for larger tabular tables. Settle the exact tool signatures in a pilot so they match your own agent framework instead of assuming ours.
Expose sufficiency as explicit tool calls so every check, gap and request can be logged, replayed and scored.
- Audience:
- Agent developers
- Content type:
- Integration
- Buyer question:
- What it is and why it matters
Content release: r-a220eb6e099b243b
Related questions
- What does it mean for an agent to decide whether the supplied documents are enough?
- What does a sufficiency decision look like on a real loan application?
- How do I tell whether my process suits sufficiency-focused training or evaluation?
- Why not handle this with a fixed checklist or rules engine instead of an agent?
- How does a sufficiency decision map onto environment state and tool actions?
- What makes a sufficiency decision worth putting in a simulated environment?