Human in the loop for AI agents: the phone call as a worked example

Most writing on human in the loop is about approval: an agent proposes, a person clicks yes. Agents that act in the world need something more. Some steps have to be done by a person. A phone call to a business is a clear case, and it shows how to design the hand-off so the agent gets back something it can trust.

Two kinds of loop: approving and doing

In the approval loop, a person checks the agent's plan before it runs. That works when the action is cheap to describe and easy to judge, such as sending an email draft.

In the doing loop, a person carries out the step. The agent hands over a task, the person does it, and the agent picks up the result. This fits steps where the world talks back in ways nobody can script. An ordinary business phone line is one of them. There is no API, the person who answers may ask a question you did not expect, and what is said on the call matters.

Where a person adds judgment, disclosure and accountability

Take an agent that needs to know whether Fieldwork Printing can turn round 500 flyers by Friday (example data). Here is what a person brings to that call.

  • Judgment. The business says the Friday slot depends on paper stock. A person asks the follow-up, notes the condition and does not turn a maybe into a yes.
  • Disclosure. At HumanCalls, your caller says who they are and who they are calling for, and tells the business the call is recorded. They never pretend to be you.
  • Accountability. The result comes with a recording and a transcript, and the caller reviews it before it is final. If the answer is questioned later, there is a record of what was said.

There are also limits a person holds firmly. Callers do not buy, book or agree to anything the customer did not authorize. Some requests are not accepted at all, including sales, debt collection, political calls and cold calls to consumers. Tasks are checked before dialing, and prohibited ones are declined without charge. See trust and process for the full list. For the trade-offs against a synthetic voice, read a human caller or an AI voice agent.

Designing the hand-off: four rules

  1. A clear task. State the business, the number, who the call is for and the goal in one sentence. Add context the caller needs, such as an order number.
  2. Limits. Cap the time and say what the caller may not do. An open-ended task invites an open-ended bill and an answer you cannot use.
  3. A typed result. Name the fields you want back and their types. The agent should read values, not parse prose.
  4. Uncertainty kept visible. An unknown should look different from a no. The format must leave room for missing and unclear answers.

Here is how those rules map onto a HumanCalls request. Everything below is example data.

Request (example data)
{
  "to": "+12065550142",
  "business": "Fieldwork Printing",
  "on_behalf_of": "Lakeside Hardware",
  "goal": "Ask whether 500 A5 flyers can be ready by Friday, and the price",
  "context": "Artwork is ready as a PDF. Do not place an order.",
  "max_minutes": 8,
  "collect": {
    "ready_by_friday": {"type": "boolean", "required": true},
    "price_usd": {"type": "number"},
    "conditions": {"type": "string", "description": "Anything the date depends on"}
  },
  "delivery": {"mode": "polling"}
}

goal and context carry the task. max_minutes is the limit, and credit for it is reserved up front, then released if unused. collect defines the typed result. The context line repeats the authority limit in plain words, which helps the caller and anyone reading the task later.

Reading uncertainty in the result

When the call ends, outcome holds the typed values. An optional field the caller could not get comes back as null, so your agent must treat null as unknown rather than false. outcome_notes holds anything that did not fit a field, and summary gives a short account.

You can also pass optional checklist items. The result then reports each as confirmed, missing or unclear, with evidence from the transcript. Progress events can arrive early, but the agent should wait for a terminal status before acting, because that is the caller-reviewed result.

Uncertainty can also show up before the call. A task may be held for review if details are unclear, and you can add missing details before the first dial. Never send passwords, verification codes, card numbers or Social Security numbers.

Cost and where to start

$1 per connected minute, rounded up. Unanswered, declined and canceled calls cost $0, and a new workspace gets 10 free minutes once the owner verifies their email. See pricing.

Developers can start from the docs or the REST API page. Chat apps connect over MCP at https://humancalls.ai/mcp; see connect a chat app. If this kind of hand-off fits your team's work, operations teams are a good place to see it in practice.

Questions

What does human in the loop mean for AI agents?
A person takes part in the agent's work, either by approving what it plans or by carrying out a step it cannot do well, such as phoning a business. The agent then continues with the result.
Is the person on the call a real human or an AI voice?
A real person makes every call. They say who they are and who they are calling for, and tell the business the call is recorded.
What happens if the caller cannot get an answer?
Optional fields come back as null, and the notes and summary explain what happened. If nobody answers, the task ends as no_answer and costs $0.
Can the caller agree to a price or place an order for me?
No. Callers do not buy, book or agree to anything you did not authorize. They gather the answers and report back.

Related

  • How to make an AI agent call a businessThree ways to make an AI agent phone a business: build a voice agent, hand the call to a person over an API, or do it yourself. Includes a worked example.
  • A human caller or an AI voice agent?When should an AI agent's phone call be made by a real person, and when by an AI voice agent? An honest comparison of cost, speed, accuracy and disclosure.
  • An MCP server for phone callsThe HumanCalls MCP server lets Claude, ChatGPT and other clients ask a real person to phone a business. Address, sign-in and the seven tools.

Try it with 10 free minutes

$1 per connected minute after that, and nothing when nobody picks up.

Request a callConnect a chat app