Human-in-the-loop task orchestration
LangChain LangGraph has a clear lead for production-grade human-in-the-loop orchestration.
Since Jul 5Updated Nov 12, 2026Based on 173 AI answers
Reviewed by Dimitry Apollonsky
Brands AI mentions
Pausing agent execution for human input at critical steps
Human-in-the-loop flows, tools, guardrails, and agent handoffs
Human-in-the-loop orchestration for teams using Azure services
Also mentioned rarely: Microsoft, Pydantic AI, Agno, OpenAI, Mastra, Microsoft AutoGen, LlamaIndex Workflows, Dapr, LlamaIndex, Phidata, Google Agent Development Kit (ADK), CopilotKit, LangSmith, Sidsaladi (Substack), AG2, Celery, PostgreSQL, Restate, Dify, Galileo AI, MLflow, n8n, Github Openai, Arize Phoenix, Prefect, Slack, Vercel AI SDK, AutoGPT Platform, AWS, Camunda, Dagster, DeepEval, Cloudflare Agents, Diagrid, FastAPI, DeepAgents, SmolAgents, Hugging Face, HumanFirst, Inngest, Labelbox, Microsoft Learn, Semantic Kernel Process Framework, Letta, MindStudio, Model Context Protocol, NVIDIA, OpenTelemetry, Prefect Cloud, Pydantic, React, Redis, Swarm, Toloka, Trigger.dev, Vellum
- LangChain LangGraphChatGPTGoogle AI Mode
- CrewAIChatGPTGoogle AI Mode
- OpenAI Agents SDKChatGPTGoogle AI Mode
- Microsoft Agent FrameworkChatGPTGoogle AI Mode
- AutoGenChatGPTGoogle AI Mode
LangChain leads across the questions we checked.
Questions and answers
Google AI ModeNov 4, 2026
When building a human-in-the-loop (HITL) system for AI agents, the "best" framework depends on how granular your control needs to be and how state is managed.
The leading production-grade frameworks handle agent-human handoffs through distinct architectural paradigms:
1. LangGraph (by LangChain) — Best for Complex, Stateful Interruption
- How it works: LangGraph treats agent execution as a state graph. It features native, first-class support for dynamic interruptions via the
interrupt()function or static breakpoints before/after specific nodes. When an agent hits a condition requiring human input, graph execution completely pauses, and the exact state is serialized and saved via a persistence layer (Checkpointer). Resuming feeds the human's response back in as a command, picking up right where it left off. - Pros: Highly flexible; allows dynamic interrupts mid-node based on conditional logic; robust state checkpointing out of the box.
- Cons: Steeper learning curve if you aren’t already using the LangChain ecosystem.
2. LlamaIndex (Workflows / Human-in-the-Loop) — Best for Event-Driven Control
- How it works: LlamaIndex uses an event-driven workflow model. Handoffs are managed by emitting a specific event that pauses the workflow, saving the state artifact externally, and waiting for an external API trigger or human validation step to push a response event back into the loop.
- Pros: Very intuitive for developers familiar with standard async event loops or step-by-step sequential pipelines.
- Cons: Less inherently optimized for complex cyclic agent graphs compared to LangGraph.
3. CrewAI — Best for Role-Based Multi-Agent Approvals
- How it works: CrewAI includes a built-in
human_input=Trueflag on tasks and tools. When configured, it automatically prompts the human via the CLI (or a custom callback hook) to review the output of a specific agent's task before passing that data down the line to subsequent agents in the crew. - Pros: Extremely fast to set up if your architecture relies on defined multi-agent teams and hierarchical or sequential delegation.
- Cons: Less flexible for fine-grained, asynchronous web-app integrations where the human response might take hours or days via an external UI.
Core Design Patterns for Implementation
Whichever framework you choose, your architecture should implement one of these primary HITL patterns:
- Interrupt & Resume: The agent pauses mid-execution (e.g., before executing a high-risk tool like sending an email or charging a card). The human edits, approves, or rejects the action, and the graph resumes.
- Human as a Tool: The human is wrapped as a callable tool function. When the LLM decides it lacks information or confidence, it invokes the "human tool," which pings a notification system (Slack, dashboard) and yields execution until a reply comes back.
- Fallback Escalation: If the agent triggers high uncertainty, sentiment thresholds, or error loops, it exits the autonomous loop entirely and routes the conversation state to a human support queue.
To help narrow down the right choice, tell me:
- Are you building a single-agent or multi-agent system?
- Will the human interaction happen via CLI, a web chat UI, or asynchronous notifications (like Slack/Email)?
ChatGPTNov 4, 2026
Best framework for human-in-the-loop agent handoffs
My recommendation: LangGraph.
If you're building a system where an AI agent can:
- Recognize when it needs human assistance.
- Pause execution and ask a question.
- Request approval before taking an action.
- Let a human edit or correct its proposed action.
- Resume execution with the human's response.
- Preserve its state while waiting, potentially for hours or days.
LangGraph is probably the strongest starting point.
The key reason is that human intervention is a first-class orchestration primitive, rather than something you have to bolt onto an agent loop.
1. Framework comparison
Here are the frameworks I'd seriously consider in 2026:
Framework Best use case Handoff mechanism LangGraph Complex, stateful agents Interrupts + checkpoints OpenAI Agents SDK Lightweight agent delegation Handoffs + approval interruptions Microsoft Agent Framework Enterprise workflows Request/response + checkpoints Temporal Long-running, mission-critical workflows Durable signals PydanticAI Python agents with typed tools Deferred tool approval Mastra TypeScript agent applications Suspend/resume workflows Sources: official documentation for github.comopenai.github.iolearn.microsoft.comgithub.comgithub.com.
2. Why LangGraph is my first choice
LangGraph
(Best overall for HITL)
Python and TypeScript · Open source
Official interrupt documentation
Its most important feature is
interrupt().An agent can reach a point where it needs help, emit a request to your application, and suspend execution.
For example:
The workflow looks like this:
- Agent starts working on a task.
- Agent determines it needs human assistance.
- Agent calls
interrupt()with a question or proposed action. - Your application presents the request to a human.
- Human responds with an answer, approval, rejection, or correction.
- LangGraph resumes execution using the human's response.
The particularly useful feature is checkpointing: the graph state is persisted while waiting, so the workflow doesn't need to remain in a running process.
You resume using
Command(resume=...)with the same thread ID. One implementation detail: the interrupted node starts executing again from its beginning, so keep side effects before the interrupt idempotent or move them behind the approval gate.Example implementation
Here's the basic Python pattern:
pythonfrom langgraph.graph import StateGraph, START, END from langgraph.types import interrupt, Command from langgraph.checkpoint.memory import InMemorySaver from typing import TypedDict class AgentState(TypedDict): task: str result: str def agent_node(state: AgentState): # Agent determines that human help is needed question = "Should I proceed with this proposed action?" response = interrupt({ "type": "human_assistance", "question": question, "task": state["task"], "proposed_action": "Execute the requested operation" }) return { "result": f"Human response: {response}" } builder = StateGraph(AgentState) builder.add_node("agent", agent_node) builder.add_edge(START, "agent") builder.add_edge("agent", END) graph = builder.compile( checkpointer=InMemorySaver() ) config = { "configurable": {"thread_id": "task-123"} } # Start execution result = graph.invoke( {"task": "Complete my requested operation", "result": ""}, config=config ) # Later, resume after receiving human input result = graph.invoke( Command(resume="Yes, proceed"), config=config )Illustrative example. In production, use a durable database-backed checkpointer rather than InMemorySaver.
3. When I'd choose the alternatives
OpenAI Agents SDK
(Best for straightforward agent handoffs)
Choose this if you're already building around OpenAI agents and want a simpler tool-approval and agent-delegation model.
Supports approval interruptions, serialized run state, and resuming after approval or rejection.
Temporal
(Best for enterprise-grade durability)
Choose this when humans might take hours, days, or weeks to respond.
Workflows wait for external signals, handle timeouts, retry activities, and support escalation logic. It's particularly attractive for business-critical approval processes.
Microsoft Agent Framework
Good choice for Microsoft-centric enterprise environments. Provides request ports, approval-required tools, and checkpoint restoration.
PydanticAI
Great for Python applications that need typed tool definitions and approval before executing specific tools.
These are not necessarily mutually exclusive. In particular, LangGraph and Temporal can complement each other: one orchestrates agent reasoning, the other manages durable business processes.
4. The architecture I'd actually build
I would separate the agent's reasoning from the human interaction mechanism.
AI Agent
Executes task, reasons, uses tools
Handoff Manager
Detects when intervention is required
Continue
Agent handles task
Human needed
Pause and request help
Human Interface
Web app, Slack, Teams, email, etc.
Resume Agent
Inject human response into agent state and continue
I'd make the handoff manager support four interaction types:
Type Example questionAgent needs missing information approvalAgent wants permission to execute an action correctionHuman needs to modify the agent's output escalationAgent cannot solve the problem independently I'd also persist:
- Task and execution IDs.
- Agent's current state.
- Reason for requesting assistance.
- Context and proposed action.
- Human response and identity.
- Timestamp and audit history.
- Timeout and escalation status.
This gives you a reusable human-intervention layer rather than hardcoding human interaction into individual agents.
5. My final recommendation
I'd choose based on the following:
- LangGraph alone: Building a sophisticated agent that frequently asks humans for help.
- OpenAI Agents SDK: Building a relatively simple agent application with tool approvals and agent delegation.
- LangGraph + Temporal: Building a serious production platform with long-running tasks, durable execution, retries, and human approval workflows.
The third architecture is particularly compelling if you expect this to grow into a general-purpose agent platform.
One question that would help narrow this down
When you say the agent should ask for help, which scenario is closest to what you're building?
Interactive assistance
Agent gets stuck and asks a human a question, receives an answer, and continues.
Human approval
Agent proposes an action and waits for a human to approve, reject, or edit it.
Human takeover
Agent hands the task over to a human, who can work on it and return control later.
All of the above
A general-purpose human-in-the-loop infrastructure supporting all these patterns.
[Continue]
That distinction matters quite a bit: asking a human a question, getting authorization, and handing over an entire task are three different orchestration problems.
Pages cited in this answer9
- github.comdocs/src/oss/langgraph/interrupts.mdx at main · langchain-ai/docs · GitHub
- openai.github.ioHuman-in-the-loop - OpenAI Agents SDK
- learn.microsoft.comMicrosoft Agent Framework Workflows - Human-in-the-loop (HITL) | Microsoft Learn
- github.comdocumentation/docs/design-patterns/approval.mdx at main · temporalio/documentation · GitHub
- github.compydantic-ai/docs/deferred-tools.md at main · pydantic/pydantic-ai · GitHub
- docs.langchain.comInterrupts - Docs by LangChain
- langchain-ai.github.ioRedirecting...
- docs.temporal.ioTemporal Platform Documentation
- pydantic.devDeferred Tools | Pydantic Docs
- How it works: LangGraph treats agent execution as a state graph. It features native, first-class support for dynamic interruptions via the
Google AI ModeOct 5, 2026
Several orchestration frameworks and developer platforms natively support pausing agent execution (via checkpoints or durable state stores) and resuming it once a human intervenes.
The primary frameworks and engines that provide robust pause-and-resume capabilities for AI agents include:
1. LangGraph (by LangChain)
- How it works: LangGraph features a native
interrupt()function that can be called inside any graph node. When triggered, it serializes and saves the graph state using a persistence checkpointer (MemorySaveror a database saver) and stops execution. - Resuming: Execution is resumed by re-invoking the graph using a
Command(resume=...)payload containing the human's input or approval decision, continuing execution from the exact point of interruption. - Learn more: Check out the official LangGraph Interrupts Documentation.
2. Temporal
- How it works: While Temporal is a general durable execution engine rather than a specialized LLM framework, it is an industry standard for orchestrating long-running AI agents. It uses asynchronous Signals and
wait_condition()blocks to park workflows indefinitely without consuming active compute resources. - Resuming: An external API call sends a signal carrying the human operator's choice (e.g., approve, reject, or provide corrected input), which instantly wakes up the workflow to proceed down the appropriate branch.
- Learn more: Read the Temporal Resumable Activity Pattern Guide.
3. LlamaIndex Workflows
- How it works: LlamaIndex supports human-in-the-loop patterns in its event-driven workflow architecture. By utilizing state management middleware, the workflow can take a snapshot of its state mid-execution, serialize it, and pause execution while waiting for feedback.
- Resuming: The workflow can be re-instantiated and restarted/resumed from the saved snapshot data once the user action or approval is logged.
- Learn more: Explore the LlamaIndex Human-in-the-Loop Workflows Guide.
If you'd like to narrow this down, tell me:
- Are you deploying a stateful graph (like multi-agent handoffs) or a linear pipeline?
- What database/persistence layer (PostgreSQL, Redis, MongoDB) are you planning to use for state?
I can help recommend the best architecture for your specific tech stack.
Pages cited in this answer7
- developers.llamaindex.aiHuman-in-the-Loop Workflows | Developer Documentation
- medium.comMedium
- docs.langchain.comInterrupts - Docs by LangChain
- learn.temporal.ioPart 2: Adding Durable Human-in-the-Loop to Our Research Application | Learn Temporal
- docs.temporal.ioResumable Activity (AKA Pause On Failure) | Temporal Documentation
- workflowbuilder.ioWorkflow Builder - Temporal human-in-the-loop: what the engine gives you, what you build
- linkedin.comHow to pause and resume a LlamaIndex workflow | RS Rohan posted on the topic | LinkedIn
ChatGPTOct 5, 2026
Yes. The strongest options are:
- LangGraph — native
interrupt()pauses, persistent checkpoints, andCommand-based resume; excellent for complex agent workflows. - OpenAI Agents SDK — tools can require approval; runs expose interruptions and can be serialized/resumed with
RunState. - Temporal — durable workflow orchestration suitable for agents that may wait hours/days for human approval; also integrates with the OpenAI Agents SDK.
- Dapr Workflows / Restate — durable execution options supporting human-in-the-loop patterns, including approvals.
Recommendation: use LangGraph if HITL is central to your agent's control flow; use Temporal if you need enterprise-grade durable execution across long pauses and failures.
- How it works: LangGraph features a native
Google AI ModeOct 11, 2026
Yes,
several modern agent orchestration frameworks natively support human-in-the-loop (HITL) capabilities via state persistence and runtime execution interrupts.- LangGraph provides dynamic and static interruption mechanisms using checkpointers to serialize graph state. You can trigger programmatic pauses mid-node via the
interrupt()function and resume execution using theCommandprimitive once human input or approval is supplied. - Microsoft Agent Framework implements built-in HITL workflows utilizing request ports (
RequestPortorctx.request_info()). It automatically pauses agent execution during sensitive operations like tool calls and safely serializes pending request states until a response or approval event is routed back. - Temporal (frequently used as a durable execution layer for agent architectures) treats agent activities and workflows as long-running state machines. It handles task interruptions natively by waiting indefinitely on human signals or external asynchronous callbacks without losing execution context or memory.
- LlamaIndex Workflows support human intervention patterns by checkpointing state between event steps, enabling the workflow to halt for external authorization or data corrections before dispatching subsequent agent tasks.
If you'd like, let me know:
- Which LLM or agent orchestration library you are currently using
- Whether you need simple binary approval (yes/no) or state modification (editing tool arguments/memory mid-flight)
I can provide a targeted implementation example for your stack.
Pages cited in this answer4
ChatGPTOct 11, 2026
Yes. There are several frameworks specifically designed to support human-in-the-loop (HITL) agent workflows, including interrupting execution, requesting human approval, collecting feedback, persisting state while a task is paused, and resuming execution afterward.
The key architectural distinction is between a framework that merely lets an agent ask a question and one that can durably suspend an in-progress workflow and resume it later without losing its state.
Frameworks worth evaluating
1. LangGraph
(Best for explicit interruptions)
LangGraph provides an
interrupt()primitive, checkpoint-based persistence, and resumable execution. You can pause a graph for human approval, let a reviewer edit proposed tool arguments, or request additional input before continuing. Interruptions can last minutes, hours, or days when backed by suitable persistence.Best fit: Stateful agents, multi-step plans, conditional workflows, and human approval gates.
Docs:
2. OpenAI Agents SDK
Best for tool-level approval in an agent SDK
Tools can declare that they require approval. When approval is pending, the run surfaces an interruption; you can serialize the run state, approve or reject the proposed action, and resume execution. The same pattern works with nested agents and handoffs.
Best fit: Agents already built around the OpenAI SDK that need approval before consequential tool calls.
Docs:
3. Microsoft Agent Framework
Best for structured workflows and enterprise integrations
Supports human requests and tool-approval workflows through request/response events. Pending requests can be saved in checkpoints and restored, allowing the workflow to continue after a human responds.
Best fit: .NET or Python applications that use structured agent orchestration and explicit workflow events.
Docs:
4. CrewAI
Best for multi-agent processes with review stages
CrewAI supports human feedback in Flows, including approval decisions, rejection, revision, and routing based on feedback. Its documentation also describes webhook-based human input for asynchronous integrations in its Enterprise offering.
Best fit: Teams of agents that produce outputs which need human review before downstream work proceeds.
Docs:
How the interruption pattern works
Regardless of framework, a robust implementation typically follows this lifecycle:
1. Agent executes
Plans, reasons, and proposes a tool call or action
2. Interruption policy evaluates
Continue automatically, or request human intervention
3. Suspend and persist state
Save execution context and create a pending review request
Approve
Execute action
Edit
Revise and continue
Reject
Cancel or replan
4. Resume the workflow
Continue from the persisted execution state using the human's decision
This pattern is directly supported by LangGraph, the OpenAI Agents SDK, and Microsoft Agent Framework, although their APIs and persistence models differ.
What should you choose?
If your main requirement is… Start with Explicit pause/resume anywhere in a stateful agent graph LangGraph Approval gates for tools in an OpenAI-based agent OpenAI Agents SDK Typed workflow events and structured orchestration Microsoft Agent Framework Multi-agent workflows with human feedback and review routing CrewAI Three architectural considerations
- Durable persistence: Store the workflow state and pending approval so a process restart doesn't lose the task.
- Asynchronous delivery: Treat a human review as a pending request that can be delivered through a web UI, Slack, Teams, or a webhook, rather than blocking a server thread while waiting.
- Safe resumption: Make approval handling idempotent and revalidate sensitive actions before execution. A resumed workflow must not accidentally repeat a payment, database write, or external API operation.
One important distinction: these frameworks primarily orchestrate the interruption and resumption. You may still need to build the reviewer interface, authentication, authorization, notifications, and audit trail yourself.
Let’s narrow it down to your architecture
What is your agent stack currently built on?
1. Current stack
LangChain / LangGraph
OpenAI Agents SDK
CrewAI
Custom Python agent
Custom TypeScript / Node.js agent
Other framework
2. What kind of intervention do you need?
Approve or reject a tool call
Ask a human for missing information
Edit a plan or intermediate result
Pause until an external event or operator takeover
All of the above
3. Execution environment
Short-lived, synchronous requests
Long-running or asynchronous tasks that may wait hours or days
Distributed workers with durable execution and retries
[Recommend an architecture]
With those details, I can narrow this down to the best framework and show how to implement its interruption and resume flow in your agent architecture.
Pages cited in this answer9
- github.comdocs/src/oss/langchain/human-in-the-loop.mdx at main · langchain-ai/docs · GitHub
- reference.langchain.cominterrupt | langgraph | LangChain Reference
- docs.langchain.comInterrupts - Docs by LangChain
- github.comopenai-agents-python/docs/human_in_the_loop.md at main · openai/openai-agents-python · GitHub
- openai.github.ioHuman-in-the-loop - OpenAI Agents SDK
- learn.microsoft.comMicrosoft Agent Framework Workflows - Human-in-the-loop (HITL) | Microsoft Learn
- github.comcrewAI/docs/v1.10.0/en/learn/human-in-the-loop.mdx at main · crewAIInc/crewAI · GitHub
- github.comcrewAI/docs/v1.15.12/en/concepts/flows.mdx at main · crewAIInc/crewAI · GitHub
- docs.crewai.comHuman-in-the-Loop (HITL) Workflows - CrewAI
- LangGraph provides dynamic and static interruption mechanisms using checkpointers to serialize graph state. You can trigger programmatic pauses mid-node via the
Google AI ModeSep 19, 2026
When building AI agents that require both robust tool-use and human approval steps (Human-in-the-Loop, or HITL), a few frameworks stand out for natively supporting pauses, state persistence, and explicit approval policies.
The top frameworks suited for this exact pattern include:
- LangGraph (by LangChain)
- Why it fits: LangGraph treats agent execution as a state machine with native persistence. It features built-in LangGraph Human-in-the-loop middleware and
interrupt()primitives. When an agent proposes a sensitive tool call (e.g., modifying a database or sending money), the graph can automatically pause execution, save the exact state to a database, and wait. - The Approval Experience: A human can review the proposed action and choose to approve, reject with feedback , or edit the tool's parameters before resuming execution.
- Why it fits: LangGraph treats agent execution as a state machine with native persistence. It features built-in LangGraph Human-in-the-loop middleware and
- Microsoft Agent Framework / Semantic Kernel
- Why it fits: Microsoft’s agent orchestrations support native tool-approval request patterns. When an agent attempts to invoke a function/tool flagged as approval-required, the workflow halts and emits a specific event payload (such as a function approval request).
- The Approval Experience: Your host application intercepts this event, presents the payload to an interface or user, and feeds the authorization decision back into the workflow to either proceed or abort the tool call.
- CrewAI (with Flows / Enterprise)
- Why it fits: CrewAI supports human-in-the-loop patterns through its task/flow configuration and decorators (like
@human_feedback). While standard crew runs can prompt for human validation during task output review, its enterprise tier provides an email-first HITL system that routes asynchronous approval requests directly to designated reviewers. - The Approval Experience: Reviewers can approve or reject actions directly via dashboard or email links without needing to stay actively logged into an interactive CLI or session.
- Why it fits: CrewAI supports human-in-the-loop patterns through its task/flow configuration and decorators (like
Quick Comparison for Selection
- Choose LangGraph if you want maximum programmatic control over state, fine-grained pause/resume logic per tool call, and a local/open-source persistence layer.
- Choose Microsoft Agent Framework if you are building within an enterprise C# or Python ecosystem and need event-driven infrastructure for tool validation.
- Choose CrewAI if you prefer a role-based multi-agent setup that can natively ping external stakeholders via email for asynchronous sign-off.
If you can share:
- Your preferred programming language (Python vs. C#)
- Whether the human approval needs to happen synchronously (in a chat UI) or asynchronously (via email/external dashboard)
I can recommend the ideal framework and architectural pattern for your project.
Pages cited in this answer5
- docs.langchain.comHuman-in-the-loop - Docs by LangChain
- learn.microsoft.comMicrosoft Agent Framework Workflows - Human-in-the-loop (HITL) | Microsoft Learn
- github.comsemantic-kernel-docs/agent-framework/journey/adding-tools.md at main · MicrosoftDocs/semantic-kernel-docs · GitHub
- docs.crewai.comHuman-in-the-Loop (HITL) Workflows - CrewAI
- docs.crewai.comHITL Workflows - CrewAI Documentation
ChatGPTSep 19, 2026
For tool use plus explicit human approval steps, I’d generally choose LangGraph if you’re building a stateful production workflow, and OpenAI Agents SDK if you want a simpler agent loop and are already centered on OpenAI.
Framework Tool use Human approval Durable pause/resume Best fit LangGraph Strong First-class interrupts Excellent Complex, stateful workflows OpenAI Agents SDK Strong Native needs_approvalGood via RunStateSimpler OpenAI-centric agents CrewAI Strong Supported Moderate Role-based multi-agent systems AutoGen Strong Supported More conversational Multi-agent experimentation Why LangGraph: you can model the process explicitly as:
agent → tool call → approval gate → tool execution → next stepIts interrupt/checkpoint model is particularly useful when approval might happen minutes or days later, because the workflow can be paused and resumed with its state intact.
Why OpenAI Agents SDK: approval is particularly straightforward at the tool boundary. A tool can declare
needs_approval=True(or a function that decides dynamically), the run returns an interruption, and you approve/reject it and resume the sameRunState. This also works for tools nested inside other agents.My rule of thumb
- “I need a workflow engine with approvals, retries, branching, and durable state.” → LangGraph
- “I need an agent with tools and occasional approval prompts, without much orchestration machinery.” → OpenAI Agents SDK
- “I primarily want several role-playing agents collaborating.” → CrewAI
- “I’m experimenting with conversational multi-agent systems.” → AutoGen
If your approval step is something like “the agent may draft an email, but a human must approve before sending”, the OpenAI Agents SDK is unusually clean. If it's “pause a long-running business process, wait for a human decision, then resume exactly where it left off”, I'd lean toward LangGraph.
Pages cited in this answer4
- LangGraph (by LangChain)
Also asked as
- Best agent framework for tool use + human review?
- I need a specialized Python library for orchestrating "human-in-the-loop" review of AI tasks.