Skip to Content
Recodocs

A read-only insurance service desk

The model may choose a lane. It may not choose the customer, take a payment, or cite a record it did not retrieve.

6 min read

A customer asking whether a claim is open needs a factual status, not a decision about coverage or a promise of payment. This case distinguishes the evidence an assistant can read from the decisions reserved for an authorized person.

Maria Costa asks whether claim CLM-1001 is still open. A router chooses the claims lane. A specialist reads that claim and one wording passage. The host keeps both ids, because both came back from tools on that turn, and says the claim is under review. The status does not authorise a repair. She decides.

Ask the same desk to take the premium and no model runs. The host writes a ticket and stops.

The claim is that a first-phase service desk is safe only when the host owns identity, money and citation, and the model owns nothing else. A better model does not change that split. This page is that argument, against one local desk we built and ran on 10 November 2026. The customer and the records are synthetic. Positions on the figures are our design, marked illustrative, not a score.

The argument

  1. High-stakes choices are not model choices. Who the customer is, and whether money moves, are decided before any request.
  2. The model’s job is a lane and a read. It picks among tools it was given. It does not invent a new authority.
  3. A citation is an intersection, not a style. An id survives only if a tool on this turn returned it. None left means no answer.
  4. One live turn is not a rate. Five scripted tests show the guards. One Grok turn shows the happy path once.

Who is allowed to decide

The usual design puts every choice in the model and then asks the prompt to behave. That fails in a specific way. A prompt can be talked out of a payment. A missing tool cannot be called. A gate that returns before the client is constructed cannot be reached by the model at all. Those are three different strengths, and only the last two are in this desk.

What crosses the desk boundaryA bound customer sends a question into a dashed process. Inside, in order, are the host gate, a router, one specialist and a citation check. A payment never enters. SQLite returns record ids. Grok returns a lane or a tool call. The host sends back either a grounded answer or a refusal.CustomerMaria CostaSession id is fixed.She cannot rename it.Stopped herePay, file, changeNo model request.This processThe deskHost gatebefore any model callRouterone request, no toolsOne specialistonly that lane’s readsCitation checkoverlap, or no answerRecordsSQLiteClaims, bills, passages.Tickets and the audit.ModelGrokPydantic AIThe only network call.questionanswerrefusedreadidscalls

The dashed line is the process. Everything inside it is ordered: the gate, then the router, then one specialist, then the citation check. Maria stays outside it. Her session id is fixed, so a tool argument that names another customer is ignored. SQLite is outside the model. It returns ids. It does not take instructions from a passage. Grok is the only network call, and Pydantic AI is the loop that makes that call. The arrows name the payload, not a mood: a question in, an answer or a ticket out, reads one way, ids the other, calls to the model and back.

The orange card is the path that never becomes those arrows. Pay, file a claim, or change cover stops on the left. A test sends "Take the premium payment." to a model function that raises if it runs. It does not run. model_calls is 0. There is no payment tool on the other side of the line for the model to discover.

Inside, the router has no tools and one request. It returns a lane. The host calls one specialist, and that specialist’s tools are that lane plus a wording search. Claims cannot read the bill. That is the only place this system is an agent: a model chooses among reads it was given.

Our assessment

The fault line is whether a refusal lives in the prompt or in the control flow. A prompt is a wish. A test where the model is not allowed to run is a guard. Confidence is high for the sentences and the fake citation we tested, and low as a general account of intent. A paraphrase such as "sort the direct debit" is not caught. That gap is real, and the fix is another host rule with a test, not a longer instruction.

What the evidence shows

It is easy to describe five mechanisms and sound as if each was measured. They were not. The figure separates a guard we executed from a story about the model.

From the sentence back to the rowFour zooms. The answer says the claim is under review and marks a citation. That mark resolves to the id CLM-1001. A second proposed id, K-FAKE, is outside the highlight and is dropped. CLM-1001 resolves to the claim row, status under review. The row is supported by the wording passage that says under review does not authorise a repair.under review1CLM-1001K-FAKEdroppedclaimsCLM-1001under_reviewopened 2026-10-02wording passageunder reviewdoes not authoriseK-CLAIM-STATUS-1Answerthe sentenceIdskept or droppedClaim rowthe status fieldPassagewhat the word meansThe highlight is the only path. K-FAKE never enters the row or the passage.

The cones are the check. The sentence "under review" is allowed to point at CLM-1001, because get_claim returned that row, status under_review, opened 2 October 2026. The passage K-CLAIM-STATUS-1 is what the words mean: the status does not authorise a repair. K-FAKE is proposed in a test and dropped. It never reaches the row or the passage, and the model's sentence is not shown. The terminal reason is no_evidence.

The same tests fix the other boundaries. The claims specialist is offered get_claim, list_claims and search_knowledge, not the policy or billing tools. Search for "excess" on this tenant returns the motor passage and not the other tenant's fleet passage. A missing index is retrieval_unavailable, which is not the same result as no hit.

A prompt is not evidence. The live turn, correlation 6df32e4855bd4dc68ac5b6cdf4a4ab47 on grok-4.7, is one question. It used 4 requests, 7,884 input tokens and 810 output tokens. The lane was claims. The tools were get_claim and search_knowledge. The citations were CLM-1001 and K-CLAIM-STATUS-1. That shows the path can complete. It does not show how often the router asks which claim when Maria has two, and it does not show that a confidence floor of 0.6 is the right switch. We chose 0.6. We did not measure it.

What would falsify the claim is a run in which a payment sentence calls the model, or a displayed answer cites an id no tool returned. Neither happened in the tests. What would strengthen it is a set of live turns, including the ambiguous claim and a paraphrase of "pay", scored against those same terminal reasons. We have not run that set.

Our assessment

Report the tests as tests and the live turn as one observation. A heat map of model quality would be a different study, and we do not have one. Confidence is high on the guards that threw, and deliberately low on the model’s judgement.

The turn we ran

The sequence is the happy path only, after the gate has allowed the question. Twelve steps, six participants. Grok is called for the lane and again inside the specialist. SQLite is the only store. The last arrow is the host, not the model: it emits the answer only after the citation intersection is non-empty.

Sequence

The live claim turn

Read the numbered messages from top to bottom.

Scroll horizontally to explore the full diagram.

The live claim turnSequence diagram with 6 participants: Customer, Host, Router, Claims, SQLite, Grok. Messages: 1, Customer to Host: claim question. 2, Host to Router: classify. 3, Router to Grok: one request. 4, Grok to Router: lane: claims. 5, Router to Host: decision. 6, Host to Claims: brief. 7, Claims to SQLite: get_claim. 8, SQLite to Claims: CLM-1001. 9, Claims to SQLite: search wording. 10, SQLite to Claims: passage id. 11, Claims to Host: both ids. 12, Host to Customer: grounded answer.1claim question2classify3one request4lane: claims5decision6brief7get_claim8CLM-10019search wording10passage id11both ids12grounded answerCustomerHostRouterClaimsSQLiteGrokGrokObserved path for claim CLM-1001. The gate had already allowed the turn.CallReturnActive participant

Clarify and escalate are the paths not drawn. Both stop after the router. A mutation stops before the router. Drawing them on the same lifelines would hide the point of the gate, which is that some turns never become a sequence.

The one check to copy

Copy the intersection, not the insurance nouns. Each read adds its record id to a set the model cannot edit. After the specialist returns, keep only proposed ids that are in that set. If nothing remains, do not show the draft.

def keep_citations(proposed: list[str], evidence_ids: set[str]) -> tuple[str, ...]:
    return tuple(item for item in proposed if item in evidence_ids)

The same shape fits a benefits question. The employee id is session state. A payroll change is refused before the model. Leave and cover are separate tool lists. Wording is searched inside the employer, not across employers. We have not built that desk. The insurance names are not the result.

Close

A service desk is tempting to describe as a model with tools. The evidence we have describes a narrower thing. The model chose a lane and two reads. The host decided who Maria was, that no money would move, and that a made-up citation could not be shown. That is the first phase. Add a payment only when a host-owned tool exists, an approval names the amount, and a test shows the tool is absent until that approval is real.

How is this page?

Last updated on