Human-in-the-loop approval tools for AI agents in 2026

The right tool depends on who approves and where the provider key lives. When the developer or the user in the conversation approves, your framework's own switch is enough, and when someone else approves or the agent must not hold the key, you need a service that holds the request. As of 2026-11-13 there are three kinds: framework switches, access and policy layers, and approval services.

A few lines on your server, then connect a user.

Last checked

2026-11-13. Each statement about another product was read on that product's own site or docs, and carries its date and source where it is made. One that could not be confirmed that day keeps its earlier date.

Most approval switches pause a tool call in your own process, and leave the rest to your code. Anlyon holds the exact request, asks the right person, makes the call itself and records what happened.

Definition

What a human-in-the-loop approval tool does

A human-in-the-loop approval tool stops an AI agent's action before it runs, shows it to a person, and lets it run only if that person approves. The action is usually a tool call: a refund, an email, a file change, a database write.

The tools below differ on four things that matter more than the button. What exactly the human approves: the model's proposed arguments, a summary, a role, or the exact request that will be sent. Where the paused call waits: in your process, in your database, or in a hosted service. Who holds the provider's key when the approved call runs. And what is recorded once it has run.

The landscape. Three kinds of tool

  1. 01

    Approval switches in agent frameworks

    LangGraph, the OpenAI Agents SDK, the Vercel AI SDK, the Claude Agent SDK, Mastra, Microsoft Agent Framework and the Cloudflare Agents SDK each ship a way to pause a tool call. The pause and the answer live in your application, which also runs the approved tool. They are free, close to the code, and the right default when the person approving is the developer or the end user in the conversation.
  2. 02

    Access and policy layers

    Arcade, Composio, Permit.io and AWS Bedrock AgentCore Policy decide whether an agent may see or call a tool, and several of them hold the provider token. Their approval unit is usually access: an OAuth grant, a role, a permit or forbid rule. Composio's docs also describe an experimental approval step for chosen tools. Check whether a person can approve one specific call with its arguments, and where that decision is enforced.
  3. 03

    Approval and execution services

    Hosted services that hold a request until an approver decides. Some return the decision to your code, which then makes the call. Anlyon also makes the call itself, with the key in its vault or the user's own connection, so the approval is bound to the exact request that runs and the outcome is recorded against it.

A pivot

What happened to HumanLayer's approvals API

HumanLayer published an approvals SDK for agents. A pull request merged in September 2025, titled "Clean up humanlayer sdk stuff, this is codelayer now", removed the SDK from the repository.

As of 2026-11-13, humanlayer.dev sells a multiplayer coding agent workspace, and the repository README describes a product that runs coding agents on your machines. That is a pivot, not a shutdown. If you are moving off the earlier SDK, the HumanLayer comparison page maps each of its jobs.

Checked 2026-11-13 · humanlayer.dev, humanlayer/humanlayer README, Pull request 646

Side by side

The same three questions, asked of each tool

Each cell summarises the tool's own documentation, with the page and the date under the row. Where we looked for something and did not find it, the cell says that and nothing stronger.

Human-in-the-loop approval tools for AI agents compared on what is approved, where the decision lives, and who holds the provider key
ToolWhat a human approvesWhere the paused call waitsWho holds the provider key
Approval switches in agent frameworks

LangGraph interrupt() and LangChain HumanInTheLoopMiddleware

In the LangGraph example, the notification and the audit log are functions you write. Reviewer authentication was not found in these docs as of 2026-11-13.

Checked 2026-11-13 · LangChain human-in-the-loop, LangGraph interrupts

The tool call the model proposed. The middleware's decisions are approve, edit, reject and respond. Edit changes the tool arguments before execution, and respond returns the human's message as the tool result without running the tool.

In graph state saved by a checkpointer you configure. The graph waits until your code resumes it with Command(resume=...).

The middleware executes approved or edited calls. Credential custody was not found in these docs as of 2026-11-13.

OpenAI Agents SDK needsApproval

Notifications, an audit record and a limit across runs were not found in these docs as of 2026-11-13.

Checked 2026-11-13 · Agents SDK (Python) human-in-the-loop, Agents SDK (JS) human-in-the-loop, Responses API MCP tool

One tool call with the arguments the model proposed. The documented decisions are approve and reject, for one call or always.

In a RunState your code serializes, stores and resumes. The docs tell you to authenticate the reviewer in your own app and not to take the reviewer's identity from the approval request body.

Credential custody for function tools was not found in these docs as of 2026-11-13. The MCP tool in the Responses API requires approval for each call by default.

Vercel AI SDK toolApproval

AI SDK 6 introduced needsApproval on tool(). The current docs mark it deprecated in favour of toolApproval on generateText, streamText or ToolLoopAgent.

Checked 2026-11-13 · AI SDK tools and tool calling, AI SDK 6 announcement

The model's tool call. The answer carries approved and can carry a reason, and the docs say the reason does not modify the tool's input.

generateText and streamText do not pause. They return tool-approval-request parts, and your app adds a tool-approval-response to the messages for the next call.

Tools the AI SDK executes locally. The docs say tool code runs wherever your application runs, and a tool that needs a server-side value such as an API key gets it from toolsContext.

Claude Agent SDK permissions and canUseTool

A PermissionRequest hook can send a notification to Slack, email or push while Claude waits for approval.

Checked 2026-11-13 · Agent SDK permissions, Handle approvals and user input

A tool call Claude requests that no earlier rule settled, by tool name and input. Your canUseTool callback can allow it, allow it with changed input, or deny it.

In the callback you pass in. Hooks, deny rules, ask rules, the permission mode and allow rules are checked first, and a call none of them settles reaches canUseTool. A deny rule blocks a tool even in bypassPermissions mode.

Credential custody was not found in these docs as of 2026-11-13.

Mastra requireApproval

Reviewer identity and notifications were not found in these docs as of 2026-11-13.

Checked 2026-11-13 · Mastra agent approval

A tool call before its execute function runs, with the model's arguments. You approve or decline it, and a decline can carry a reason.

In a snapshot in your storage provider. The docs note that the default in-memory store loses snapshots when the process exits.

Credential custody was not found in these docs as of 2026-11-13.

Microsoft Agent Framework approval-required functions

Notifications and an audit record were not found in these docs as of 2026-11-13.

Checked 2026-11-13 · Agent Framework tool approval

A function call by name and arguments, approved or rejected. By default a response is honoured only when it matches a pending request in the same session.

The run completes with a request for input. Your code collects the decision and resumes the same session.

Credential custody was not found in these docs as of 2026-11-13.

Cloudflare Agents SDK

In the examples the approver is a value your code passes in.

Checked 2026-11-13 · Agents human-in-the-loop, Chat agents API reference

A tool call in a chat agent, through needsApproval, or a workflow step, through waitForApproval.

For a workflow, in a durable gate backed by Cloudflare Workflows, and the docs say the wait can continue for months or longer. Where a chat agent's pending needsApproval call is kept was not found in these docs as of 2026-11-13.

Credential custody was not found in these docs as of 2026-11-13.

CrewAI human feedback

A feedback history is kept on the flow. Notification senders are yours to write.

Checked 2026-11-13 · Human feedback in flows

The output of a Flow method, as free-text feedback that an LLM maps to an outcome you define. Approval of a specific tool call was not found in these docs as of 2026-11-13.

By default it blocks for console input. An async provider raises a pending state, and your code resumes the flow with the feedback.

Credential custody was not found in these docs as of 2026-11-13.

Access and policy layers

Arcade

Rate limits and execution logs are covered on our Arcade and Composio comparison page.

Checked 2026-11-13 · Contextual Access, Auth tool calling, Where are my tokens stored?

The end user approves an OAuth authorization. Contextual Access hooks can allow, deny or modify a call before it runs. A state that holds one call for a human decision was not found in Arcade's docs as of 2026-11-13.

Arcade calls your server at three hook points: when tools are listed, before execution and after execution.

Arcade. Its blog says tokens are stored in an encrypted vault for each user that the model never touches.

Composio

Rate limits and execution logs are covered on our Arcade and Composio comparison page.

Checked 2026-11-13 · Approvals, Composio enterprise page, HITL toolkit, Token custody

With Approvals, marked experimental in the docs, the user approves a call to a tool chosen by its hints. Always approve covers later calls to that tool on the same connected account for the rest of the session. The catalog also has a HITL toolkit that wraps a third-party service, HITL.sh.

In Composio, which does not run the call until the user answers. Your app shows the question, which follows the format of an MCP elicitation request. The HITL toolkit creates approval requests at HITL.sh that the agent then checks.

Composio. Its docs say that in the default cloud deployment Composio has custody of the credentials, and its enterprise page says it authenticates provider requests server-side.

Permit.io Access Request MCP

Checked 2026-11-13 · Access Request MCP, permit-mcp repository

A role. An approved access request assigns the requested role. An approved operation assigns an _Approved_ role that grants operate, and the docs say your tool removes it after the action succeeds to make the approval one-time.

In Permit. Your code calls permit.check(). Reviewers decide an access request in Permit's embedded element, through its API, or by an agent calling the approve tools.

Your tool checks the operate permission before the action runs. Holding provider keys was not found in these pages as of 2026-11-13.

AWS Bedrock AgentCore Policy

Temporal counts are per session. AWS's docs say starting a new session begins a new count.

Checked 2026-11-13 · AgentCore Policy, Temporal policies, General availability, AgentCore Identity data encryption

No reviewer step is built in. Policies permit or forbid each call. A temporal policy can require an earlier approval call in the same session, such as approve_claim returning approved: true within the last hour. The docs show that call as another tool behind the gateway.

At the AgentCore Gateway, which evaluates every request against Cedar or Dogwood policies. AWS announced general availability on 2026-03-03.

AgentCore Identity's token vault. AWS's docs say data in a token vault is encrypted at rest with an AWS owned KMS key or a customer managed key.

Approval and execution services

gotoHuman

SDKs for TypeScript and Python, an HTTP API and an MCP server.

Checked 2026-11-13 · gotohuman.com, gotoHuman docs

A review form you design, where a reviewer can edit the content before approving. Its docs list agent tool calls as a use: the agent creates a review URL for the action and returns it to the user for approval.

In gotoHuman's hosted inbox, with optional email digests and Slack notifications. Completed reviews are sent to your workflow by webhook.

Its site does not say who makes the provider call after approval. Credential custody was not found on its site as of 2026-11-13.

HITL.sh

Monthly plans with a request allowance, and a free plan.

Checked 2026-11-13 · hitl.sh, HITL.sh docs

A request your agent or workflow creates, answered in the HITL app for iOS and Android, a web inbox or a Telegram mini app.

In HITL.sh's hosted service. Your agent reads the answer when it lands, or receives it at a callback URL.

Credential custody was not found on its site as of 2026-11-13.

Anlyon

Approval and execution service

Adds a limit per user or per environment, reserved before dispatch, and a receipt with a grade.

One exact request. The approval is bound to a SHA-256 digest of the request, target, versions, preconditions and expiry, and Anlyon recomputes it before dispatch and refuses on any difference. The approver approves or denies with a note and cannot edit the request.

In Anlyon. On a call for one of your users, that user decides in your app. For your team, requests notify over Slack, email, Discord or a webhook, and the decision happens with the buttons on a Slack request, in the console or through the API.

Anlyon, in a write-only vault or as the user's own connection, and Anlyon makes the call. With the local approvals.gate() wrapper, your process keeps the key and runs the function.

Choosing

How to choose

  1. 01

    Who approves?

    If it is the developer or the user in the conversation, a framework switch is enough and costs nothing. If it is someone else, you need reviewer authentication, a notification, and a decision recorded against the request. The frameworks leave those to your code.
  2. 02

    Where does the provider key live?

    With a framework switch, your application runs the approved tool, so the key it uses sits where your application can read it. Arcade, Composio and AgentCore hold tokens on your behalf. Anlyon holds the key and makes the call for actions routed through it.
  3. 03

    What exactly is approved?

    A proposed tool call, a role, a session rule, or the exact request that will be sent. A role or a session rule approves more than one call. Edit-then-approve, which LangChain's middleware and the Claude Agent SDK offer, changes the arguments between review and run, so decide which one you want.
  4. 04

    What happens after the approval?

    If the approved call times out, does something resend it? Does a second agent with a fresh session get a fresh allowance? None of the framework switches answer those, by design. Check how your choice records the outcome.

Approval tools, answered. Short answers, with the dates they were checked on.

Anything still unanswered is worth an email.

support@anlyon.com

Email us

It depends on who approves and where the key lives. When the developer or the user in the conversation approves, use your framework's switch: LangGraph interrupt(), OpenAI Agents SDK needsApproval, Vercel AI SDK toolApproval or Claude Agent SDK canUseTool. When a second person approves, several agents share a limit, or the agent must not hold the key, use a service that holds the request. Anlyon also makes the approved call and records a graded receipt.

As of 2026-11-13, humanlayer.dev sells a multiplayer coding agent workspace. Its approvals SDK was removed from the repository in September 2025. That is a pivot to coding agents, not a shutdown.

Not by itself. In the framework docs we read on 2026-11-13, credential custody was not found, and the Vercel AI SDK's docs say tool code runs wherever your application runs. Keeping the key out of the agent's process needs a service that holds it and makes the call.

It is a policy layer. As of 2026-11-13 its policies permit or forbid each call at the AgentCore Gateway. A temporal policy can require an earlier approval call in the same session, and the docs show that call as another tool behind the gateway, with no reviewer step of its own.

Let your agent act for your users, safely.

A few lines of server code, then send a user a connect link. Nothing to host.

$ claude mcp add --transport http anlyon https://api.anlyon.com/mcp