Human in the loop
A person approves, edits or rejects the agent’s action before it takes effect.
Human in the loop means a person approves, edits or rejects an AI agent’s action before it takes effect. The agent prepares the email, the payment or the code change; a person decides whether it goes out. It is the main control for actions that are expensive or cannot be undone.
Approval gates sit where a mistake is expensive or irreversible: sending an email, paying, merging, deleting. Everything cheap and reversible can run on its own. The design question is where the gates go, not whether there is a human at all. With too many gates people approve by reflex, which looks like control and catches little. With too few, one wrong call reaches a customer. A process that waits hours for a manager cannot live in one server request, so approvals usually need durable execution and a screen that shows exactly what will happen, for example streamed over AG-UI.
Approving single actions differs from human evaluation, where people grade a sample of outputs to measure quality. Agent autonomy levels describe how much an agent may do between approvals, and the gates are one of the controls an AI governance policy asks for. Record who approved what and when, because auditors and customers ask.
Related terms
- AI agent: A model that decides its next step itself, calls tools and repeats until the task is done.
- Guardrails: Checks around a model that block, fix or flag inputs and outputs that break the rules.
- Evals: A repeatable test set that scores an AI feature, so changes can be measured instead of guessed.
- Durable execution: Running a long process so its progress is saved after every step, letting it survive crashes and pause for hours or days, then resume.
- Agent autonomy levels: How much an AI agent may do without a person: suggest only, act with approval, act and report, or act alone within limits.
- Human evaluation: People, ideally domain experts, grading AI outputs against a written rubric; the reference that automated metrics are checked against.
- AG-UI (Agent-User Interaction protocol): An open protocol for streaming an agent’s messages, state, tool calls and approval requests to a frontend as one ordered stream of typed events.
- AI governance: The rules and roles that decide which AI a company uses, on what data, with what checks: policy, inventory, risk tiers, approvals and monitoring.
