Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Human in the loop

Topic: AgentsAlso called HITL

Definition

A design in which a person reviews or approves an AI system's actions or outputs at defined points before they take effect.

In more detail

Typical checkpoints are before sending a message, spending money, deleting data or merging code. The approval step should show the person enough to make a real decision, not just an "OK" button.

Human oversight is also a governance requirement for some high-risk systems under the EU AI Act.

  • Excessive agency

    The risk that an AI system has more permissions, tools or autonomy than is safe, so a mistake or manipulation causes real harm.

  • Least privilege

    Granting an agent or tool only the permissions and data access its task requires, and nothing more, so a mistake does less damage.

  • Durable execution

    Running code so that its progress is recorded step by step, letting it resume after a crash or restart instead of starting again.

  • Elicitation (MCP)

    An MCP feature that lets a server ask the user for more information during a request, through a form in the client or a link to a web page.

  • Permission mode

    A setting in a coding agent that decides which actions it may take on its own, such as edits or shell commands, and which need approval.

  • Sampling (MCP)

    An MCP feature that lets a server ask the client's model to generate a response, so the server needs no model API key of its own.

  • Add human approval to agent actions

    Pause risky tool calls, show the exact arguments, resume on approve or reject, then log and test it.

    TutorialIntermediate1 h

  • AI governance

    Usage policies, risk frameworks and rules such as the EU AI Act, applied to real projects.

    SkillBeginner