AI System Design·Question 4 of 11Quick-fire

Design an insurance-claims agent that ingests a claim and outputs approve, deny, or needs-review.

Quick-fire answer from the Awesome Generative AI Guide (MIT)

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Requirements first: the accuracy and auditability bar is high and errors are costly, so this is a human-in-the-loop system by design. Use retrieval over policy documents and prior claims to ground each decision, structured tool calls to pull claim data, and a constrained output that returns a decision plus the cited evidence and a confidence signal. Route anything below a confidence threshold or above a value threshold to human review rather than auto-deciding, cap cost with a cheap model for triage and a stronger one only for hard claims, and add guardrails and full audit logging. Evaluate on labeled historical claims and monitor the approve/deny distribution for drift.

Full worked answer

Requirements first: the accuracy and auditability bar is high and errors are costly, so this is a human-in-the-loop system by design. Use retrieval over policy documents and prior claims to ground each decision, structured tool calls to pull claim data, and a constrained output that returns a decision plus the cited evidence and a confidence signal. Route anything below a confidence threshold or above a value threshold to human review rather than auto-deciding, cap cost with a cheap model for triage and a stronger one only for hard claims, and add guardrails and full audit logging. Evaluate on labeled historical claims and monitor the approve/deny distribution for drift.

Learn more: Production topic

What a good answer covers

  • Requirements first: the accuracy and auditability bar is high and errors are costly, so this is a…
  • Use retrieval over policy documents and prior claims to ground each decision, structured tool calls to…
  • Route anything below a confidence threshold or above a value threshold to human review rather than…
  • Evaluate on labeled historical claims and monitor the approve/deny distribution for drift

Key terms: Learn more

Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep