glossary

Harness

Agent failure mode

An agent failure mode is a named, recurring way the agent misses the task, such as the wrong tool, bad arguments, a loop, missing context or a weak final answer, so a team can count that pattern instead of a single vague error.

Abracadabra Team Glossary

How it works

Name the mode from the trace, using a small fixed list. Wrong tool: the request was a part number and the model called a customer search. Bad arguments: the tool was right and the diameter was not. Loop: the same search ran again with no new information. Missing context: the pump model was in the first turn and absent later, so the choice was under-specified. Weak final answer: a price with no sku and no lead time, after the tools had both. A single bucket called error hides which of these the next edit should hit.

The mode is about the task and not the HTTP status. Sending 19mm when the request said 14mm is bad arguments. Calling search_customer instead of search_sku is the wrong tool. Count the names per task. When one name dominates, the fix is aimed: tool descriptions, argument checks, a stop rule, context assembly, or the shape of the closing reply.

A worked example

Wrong seal on a quote

A buyer asks for a quote on a pump seal, 14mm, for pump model P100, to be emailed to the maintenance desk.
The model calls search_sku with query seal 14mm P100. That tool is the right one. The catalogue row is sku S-14, 12 pounds, four days.
The model then calls price_sku with sku S-19, a 19mm seal at 15 pounds. The tool returns that price and a lead time of four days. The arguments do not match the 14mm request or the row just found.
The reply quotes 15 pounds and four days and never mentions S-14 or 14mm. The buyer writes back that the seal is the wrong size.
The mode on this attempt is bad arguments on price_sku. It is not a loop, the search ran once, and it is not a missing tool, because search_sku was available and was used first.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • Wrong tool: the model calls search_customer with the buyer's name, never calls search_sku, and quotes from a previous order that happened to be a seal.
  • Loop: search_sku with seal 14mm P100 runs three times, the result does not change, and price_sku is never called before the step budget ends.
  • Weak final answer: price_sku returns S-14 at 12 pounds and four days, and the reply says it will be something like 12 pounds, with no sku and no lead time the desk can order.

How to measure it

Label each failed quote with one primary mode from the fixed list, using the trace rather than the buyer's adjectives. Count the labels for this task over the period. The largest label is the one to open first.

Read a sample of each label. Confirm the tool name, the arguments and the final sentence actually match the label. A pile of bad-arguments labels that are really missing context means the names are not yet trustworthy enough to steer a fix.

Further reading

How Abracadabra helps

The buyer says the quote is for the wrong seal and pastes 14mm again, after the assistant gave a price that never named the sku.

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.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.