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.
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
- High-stakes choices are not model choices. Who the customer is, and whether money moves, are decided before any request.
- The model’s job is a lane and a read. It picks among tools it was given. It does not invent a new authority.
- 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.
- 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.
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.
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.
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.
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.
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.
The companion code is examples/insurance-service-desk on the feat/insurance-service-desk branch of the public agent-kit repository. It is the package that was run on 10 November 2026, with the synthetic seed and the five tests. It does not contain a key. The main branch does not have this example until pull request 5 merges. The labs checkout of the same package is agents/insurance-service-desk.
Tests are tests/test_service_desk.py: five cases, one pass, 0.44 seconds, no network. The live receipt is correlation 6df32e4855bd4dc68ac5b6cdf4a4ab47, model grok-4.7, Pydantic AI 2.66.0, Python 3.13.5. Figures that place a decision in a cell are our design, not a measurement.
How is this page?
Last updated on