How it works
The model predicts the next text. Everything that makes that prediction an agent sits in the harness. Instructions say what the booking task is and what must not be promised. Tool definitions say which functions exist and how their results are shaped. The loop calls the model, runs a tool, appends the result and tests the stop. Context assembly chooses what is included when the message list grows. Memory holds facts from earlier conversations. Checks inspect a tool call or a draft reply and can block, rewrite or flag it. Change one of those parts and the agent changes, with no retraining.
On a restaurant booking the model may name hold_table, but the harness decides whether that tool is offered, whether the party size in the arguments matches the request, and whether a hold id counts as finished. If the tool result says success while the table was not held, the model will usually repeat that claim. The miss is in the result shape and the stop rule, which are harness parts.
A worked example
Friday table for four
A guest asks to move a Friday booking for Okonkwo from 18:00 to 19:30, still four people, at the same restaurant.
The instructions say never to confirm a time the diary has not held. The tool list exposes check_tables, hold_table and confirm_booking.
The model calls check_tables for Friday 19:30, party of four. The tool returns table 12 free. The model calls hold_table for table 12. The tool returns hold id H-12, not a generic success flag.
A check compares the party size on the hold with the four people in the request. It matches. The model calls confirm_booking with H-12. The tool returns booking B-19.
The loop treats the booking id as the finish. The reply quotes B-19 and 19:30. Memory is not consulted, because this change does not depend on an older visit.
Illustrative example, not a production trace and not a measured result.
What goes wrong
- hold_table is described as a walk-in tool, the model never selects it for a reservation change, and the guest is given a time that was only read, never held.
- confirm_booking returns success with an empty booking id, the loop treats success as done, and the restaurant diary has no row for Okonkwo at 19:30.
- Memory from yesterday's table for two overwrites the party size in context, the check is absent, and table 12 is confirmed for two people even though the guest asked for four.
How to measure it
For reservation changes, record whether a hold id and a booking id both exist before the reply says the table is confirmed. A confirmation sentence with only a check_tables result is a harness stop on the wrong signal.
When this part of the harness changes, compare finished reservations, the ones with a booking id the diary still shows, against the previous period for the same request. Read the conversations where the guest says the restaurant has no booking.
Further reading
How Abracadabra helps
The guest says the restaurant has no booking under Okonkwo, after the assistant had already confirmed Friday at 19:30 in the chat and quoted a table.
Abracadabra reads each conversation and labels the task, the step where it stopped, and signals such as repeated intents, user corrections and abandonment, pinned to the turn. After you change this part of the harness, compare task success for that task and cohort with the previous period. Experimentation and guarded rollouts are in early access.
Request access to read this on your own agent.