Technical · Use cases
Use cases
Systems we have built and run locally, written in the same shape as a case study.

Use these cases to ask what the implementation actually demonstrated. A scripted fixture, a saved run and a production result are different kinds of evidence. Each example names what was observed and the limits of what can be inferred.
A use case here is a system we built and ran, taken apart in the same shape as a case study: how it works, then how to run and extend it. A number on the page comes from that run or from a test. A wider reading is labelled as ours.
A read-only insurance service desk
One bound customer, a host gate that refuses a payment before any model call, and a citation kept only when a tool on that turn returned it.
A commercial placement harness
Two instructions, one model. The outbox stayed empty until a person approved the exact send.
A typed event stream makes the chat easy. The host still has to own the chart, the SQL and the write
AG-UI standardizes delivery. It does not make a model's chart, its SQL arguments or its write proposals safe to trust, so the host has to.
The model reads the enquiry. The host writes the price.
A B2B quote stays trustworthy when the model only turns prose into fields, and the one loop that does choose tools is fenced by what the tools actually returned.
On follow-up, two argument-free reads or an answer
A property-photo desk stays governable when, on a follow-up, the model may call get_report, call view_image, or answer, both tools take arguments , and the host owns the schema, the session and the budget.
The browser can say approved. Assignment only believes a flag.
Assignment stays governable when a write needs a confirmed tool argument plus an eligibility check against the store, and an answer is shown only after the store accepted the run.
Five business units, and the model cannot submit SQL
The model picks among owner-registered query tools and cannot submit SQL on a query tool. Shared code compiles the semantic query. Answer prose is still model text after the outcome marker is removed, while sources and steps come from tool messages.
Telling the model not to pay failed nine times. The same change hid the tool and said to decide first
An instruction not to propose reimbursement failed on nine of 36 runs. That change hid the payment tool on a plain review and rewrote the instructions to decide first.
An HR policy desk is only as safe as what the model cannot choose
The model picks which policy to read. The request fixes who is asking, a sensor checks every paragraph an answer that is not a refusal cites, and the hr_cases row waits for approval; the run's profile row is written when the run starts.
The live run never tried to apply. The gate is why that is not the safety story
A job-search agent drafts one application and stops. Its restraint in one live run proves little. The refusal written in code, and the test that calls it directly, prove the point.
A model may write the parser; only the host may trust it
A model drafts code that reads a new bank layout. The host tests it against the statement's own arithmetic, and nothing is imported until a person approves the exact bytes.
The model proposes the promotion; approval decides who files it
On 14 October the human-mode run called apply_ledger and the host denied it; the approved run never called it, and the host applied the ledger. The host renders the documents.
In a property marketplace the model writes the answer and the host enforces the checks
One model loop picks reads and phrases replies. Scope holds and quote fences are code; consent, comparison and save verdicts are a second model call the host enforces before a claim is shown.
Chat can propose a booking. Only an authenticated, hash-bound HTTP decision can buy it.
A trip assistant may read a traveller's bookings and prepare a pending action. Authority to approve and pay sits behind an authenticated, hash-bound endpoint the model cannot reach.
The served API writes no trust-assessment row; policy clearance is a phrase in `trust_question`, not a stored column
The owner-recorded row on the served path is a trust assessment. The notebook Agent is the component that chooses a tool, and the served workflow does not call it.
Empty rows stay empty until an owner writes them
GET /v1/records returns each stored row's id and created_at. The model call returns a Decision, and assess rejects a policy_id or approval_id that is not a retrieved node of the required kind.
Transaction truth before model prose
The model may classify intent and write empathy; it may not choose SQL, scope another customer's order, or promise timelines the tat_policy table does not allow.
The model may route. It may not sign.
A specialist may choose tools inside one list; Python owns the comparison and the ledger, and a draft memo is not an approval.
Governed retrieval before model judgment
The chat model may pick tools or draft prose, but entitlements, SQL guards, and chunk-id intersection must decide what data exists and what may be cited.
Niyati compliance stays governable when rules own the allow-lists
Deterministic modules own health bands, actions, and policy allow-lists. The model may fill constrained JSON fields, including an allow-listed next step, and cannot invent policy or send without the approval gate.
The host owns the status
Code chooses every step, and the API keeps a cited id only when this retrieval returned it. A caller can also pass extra_evidence, which the API does not expose. The models only fill the answer and review schemas.
Python keeps the ledger action
Analyst.turn may choose one allowlisted read or abstain; the host calls it only when unlocked_tools is non-empty, and does not reject an allowlisted name that the card did not unlock. apply_host_rules decides create, skip, or review, and no read writes a bill.
Task-tool confirmations come from the store; replay skips the model
A fresh turn may call DeepSeek once to pick one task tool or plain text. The same request id and input hash replays the saved receipt with zero provider requests. A tool message comes from execute; plain text stays the model string.
How is this page?
Last updated on