Choose the model and tools for the job
We test candidate models on sample requests to see which reliably picks out the service and quantity. The harness is the software that connects the steps. It fetches the approved rate, uses a calculator for the total, and gives the model those figures to draft the reply.
At $120 per visit, the draft comes to $360. Reusing that lookup and sending only the relevant rate keeps token use down. A retry limit stops a failed lookup from running up costs.
Ground answers in evidence
To reduce hallucinations, the harness checks the draft against the approved rate and the calculator’s result. If the rate is missing, two records disagree, or a claim lacks support, the agent holds the reply. A staff member reviews the source, corrects the draft, and decides whether it can go out.
Trace every agent run
Every agent run leaves a trace. Each model call, tool lookup, and approval decision gets a timestamped entry called a span. An authorized reviewer can follow the work from request to outcome and see exactly where a quote paused.
- Rate lookup Found
- Calculate total Complete
- Send quote Awaiting approval
We log operational metadata such as tool names, timings, and outcomes. Patient information, personal identifiers, and credentials stay out of the trace.
Test the expected outcome and the exceptions
We build evaluations alongside the harness. Your team sets the expected outcomes. With the $120 rate on file, the agent should draft a $360 quote. With the rate missing, it should flag the request for staff and leave the quote unsent.
We rerun both cases when the model or tools change, checking the amount, the action taken, the elapsed time, and the tokens used.
Enforce permissions at each tool
You can give the quoting agent read-only access to approved prices. The application enforces that permission at the tool itself. Even if the email asks for a discount, the agent has no authority to edit the price list.
Match human approval to the risk
You set the approval rule. Standard quotes can go out automatically. If a customer asks for special terms, the harness can hold the draft until an authorized person approves or rejects it.