Home / Glossary

Human in the loop

Human in the loop is the pattern where an autonomous system defers to a person, either by pausing for approval or by refusing to act until a human review has been recorded. For an AI sales agent, the loop is almost always a write: the agent has already classified a lead, and the only question left is whether that classification reaches the record unchecked.

Fathom is not open yet, so anything on this page about what it does is what it is being built to do.

What human in the loop means

Human in the loop is a design pattern in which an automated system will not complete a decision on its own: it either suspends execution until a person approves, or it refuses the write until an acknowledgement that a person reviewed the decision is supplied alongside it. The term predates agents. Agent frameworks adopted it because a language model loop, unlike a batch job, decides and acts in the same breath, so the only place to intervene is between the model's output and the side effect.

In agent orchestration libraries the mechanism is usually an interrupt: the graph stops at a node, surfaces the pending action, and resumes when a human returns a decision. That works while a person is watching the run. It stops working the moment the agent is a service that runs unattended at three in the morning, which is what an AI SDR or a churn-scoring loop actually is.

The example worth being concrete about

An agent reads an inbound lead, scores it 95, and calls a qualify action. Downstream, that status decides whether a human ever contacts this person, which route they enter, and what price they see. Nothing about the write is technically difficult. What is difficult is answering, six months later, who stood behind that classification and on what basis the data was processed at all.

Under GDPR Article 22, decisions made solely by automated means that produce legal or similarly significant effects on a person are restricted, and meaningful human involvement is one of the things that changes the analysis. That is a question for your own counsel, not a setting. But it is the reason an approval step in an agent pipeline is a data structure and not a dialog box: the interesting artefact is the record that a human was involved, not the pause itself.

Three places the approval can sit

Blocking approval before the write

The agent stops, a person reads the proposed action, and the write happens after they click. Highest assurance, and the reason most agent pipelines quietly drop it: throughput collapses to the reviewer's working hours, and a queue of pending actions becomes its own system to build and monitor.

Required acknowledgement at the write

The action is rejected unless the caller supplies a reference to the human review that took place, plus the lawful basis for processing. The agent can run unattended, but it cannot classify a person without naming who reviewed the decision, so the approval becomes a field on the request rather than a pause in the loop.

Review after the fact

The agent writes freely and a person samples the log later. Cheapest to build, weakest to defend, because an automated decision that has already changed how a person is treated was not reviewed by anyone at the time it was made.

Related terms

  • Automated decision making. A decision reached without meaningful human involvement. The term matters because it is the trigger for the Article 22 analysis, not a description of how the software feels to use.
  • Lawful basis. The ground on which you process someone's personal data. In an agent pipeline it is a value that should travel with the write, because the agent is the only thing present when the write happens.
  • Human review acknowledgement. The recorded fact that a person reviewed a classification, expressed as a field on the request rather than as UI state. Covered in detail on our page about the human review gate on automated lead qualification.
  • Tool use and function calling. The vendor terms for exposing an action to a model as a JSON schema. An approval requirement that lives only in your prompt is not a gate; a required parameter in the schema is closer, and a server-side check is the only version an agent cannot route around.
  • Audit trail. The append-only record of which key, which agent, and which acknowledgement produced a classification. Without it, a human in the loop is an assertion.

For how the same fields apply to a churn-scoring loop, see our page on automated churn-risk flagging. For the regulation itself and what an agent has to record, see our guide to GDPR Article 22 and automated decisions in sales.

Questions

Is human in the loop the same as an approval queue?

No. An approval queue is one implementation, the blocking kind, where the agent waits for a person. Human in the loop is the broader requirement that a person is meaningfully involved in a decision, which can also be satisfied by refusing the write unless a reference to a completed human review is supplied.

Does an AI agent writing to a CRM need an approval step?

It depends on what the write decides. Logging an interaction or creating a contact changes a record. Qualifying a lead, flagging a person as a churn risk or assigning ownership changes how a person is treated, which is the category regulators look at. Take the specifics to your own counsel; the engineering answer is to gate the classifying actions and leave plain CRUD alone.

Can the model itself be the human in the loop?

No. A second model reviewing the first is still solely automated processing. The point of the acknowledgement field is to name a person, not another step in the pipeline.

What fields does a human review acknowledgement need?

At minimum, an identifier for the human review that took place and the lawful basis for processing the personal data involved. Fathom requires both on qualify_lead, flag_churn_risk and assign_owner, and rejects the action server side when either is missing.

Why enforce this in the data layer rather than the agent framework?

Because the framework is yours to change and the data layer is the last thing in the path. A prompt instruction, a wrapper function or a linting rule can all be bypassed by the next agent someone adds. A required field checked on the server applies to every caller holding a key.

Sources

Tell us which endpoint you need first

Join the waitlist with the objects, actions and event types your agents are blocked on today. We read every response and it shapes what ships in what order.

One email when it launches, and one now to confirm your address. Unsubscribe any time. Privacy.