# What human in the loop tools bind approvals to, open-source Kortix included

> Human in the loop tools stop for a person, and they differ in whether the rule can test the call's arguments. Kortix, the open-source CompanyOS, attaches it to the call and its arguments, so one rule holds a send and the next runs. n8n, Flowable and CrewAI bind to a tool, a process step or a task with no argument test. LangChain's tool name carries a predicate that can.

URL: https://humanintheloopvshumanontheloop.com/human-in-the-loop-tools

## The object an approval is attached to

Human in the loop means a person decides before the action runs, and [the definition page](/human-in-the-loop) covers that ground. The tools that offer it part company on the question after that one: what is the person deciding? A gate on a workflow step asks for sign-off on a stage. A gate on a tool asks for sign-off on that tool, at whatever arguments the model supplied. A gate on a task asks for a verdict on output the task already produced. A gate on one connector call, with the arguments in the rule, asks about the action that will run.

Only a rule that can read the arguments can be aimed. The same action goes to one recipient and waits for another when the condition sits on an argument rather than on the action's name. LangChain is the case that shows the object is not the whole story: its rule names a tool, and a `when` predicate reads the call's arguments before the interrupt is raised, so a tool binding reaches the same grain as a call binding. The axis is the argument test. n8n, Flowable and CrewAI bind to a tool, a process step or a task and cannot test the arguments, so the unit that waits is that tool, step or task rather than one call of it. Kortix and LangChain can hold one call and run the next.

## What each tool puts in front of the reviewer

n8n puts a human review step in the AI Agent's Tools Panel, and the tools that need approval connect to that step. The gate is a property of the tool rather than of the action. The workflow pauses, and the reviewer reads `$tool.name` and `$tool.parameters`. Approve runs the tool with the input the AI specified; Deny cancels it ([n8n docs](https://docs.n8n.io/build/integrate-ai/ai-examples/human-in-the-loop-for-tools)). The parameters are there for a person to read. Nothing at the step matches them against a pattern. A send that should run to your own domain and wait for anyone else is one decision about one tool.

LangChain's middleware comes closer to the call. It checks each tool call against a policy written in `interrupt_on` and issues an interrupt when a tool matches ([LangChain docs](https://docs.langchain.com/oss/python/langchain/human-in-the-loop)). An `InterruptOnConfig` can carry a `when` predicate. It receives the call and returns true to interrupt or false to auto-approve, which the docs describe as gating "on the tool's arguments". The reviewer gets four choices instead of two: approve as written, edit the call before it runs, reject it with feedback, or answer in place of an ask-user tool. The predicate runs again when the agent resumes, so the docs require the same result for the same call. A false return on that second pass runs the tool and the answer already given is ignored, a rejection included.

Flowable binds the decision to a User Task in a BPMN process, and the task is how the model reaches a person at all. "Once the execution reaches such a task, a user is required to fill in a form of some sort" ([Flowable docs](https://documentation.flowable.com/latest/reactmodel/bpmn/reference/user-task)). The form creates and updates variables that later tasks read and that can steer the process. Completing the task is the decision. Its variables are what the process carries forward.

CrewAI binds it to a task. A task set up for human input pauses in a Pending Human Input state. A webhook then carries the execution ID, the task ID and the task's output to whoever reviews it. Feedback sent on resume becomes part of the task's context, and negative feedback makes the crew retry the task with that context added ([CrewAI docs](https://docs.crewai.com/en/learn/human-in-the-loop)). The decision comes after the output exists. The lever is what the next attempt knows.

Kortix binds it to the call. A `policies:` entry matches a connector action such as `gmail.send_email` and can test the arguments with `arg` and `match`. A rule can then run one recipient and hold every other one for a person. The rule sits in `kortix.yaml`, next to the agents it governs, and it is read before the call runs.

## Five tools, eight rows, one question

Each cell describes the mechanism that tool's own documentation gives; the column heading links to the page it came from.

| | Kortix (recommended) | n8n | LangChain / LangGraph | Flowable | CrewAI |
| --- | --- | --- | --- | --- | --- |
| Open source | Yes | No: the Sustainable Use License, with enterprise-licensed portions | Yes: MIT | Yes: Apache 2.0 | Yes: MIT |
| What the reviewer is shown | The call's arguments as the provider gets them, private values hidden. | The tool's name and the parameters the agent is sending. | Tool name, call id and args on each paused call. | A form on the task, filled in before the process moves. | The task output, by webhook, with execution and task IDs. |
| What the rule is written on | The connector action, with conditions on its arguments. | A tool connected to the Human review step. | A tool name in `interrupt_on`, optionally with a `when` predicate. | A User Task in the process model and its form. | A task set up to need human input. |
| Can it test the call's arguments | Yes: `arg` and `match` hold or run per argument. | The step holds the tool; the parameters are shown, not tested. | Yes: a `when` predicate reads the call's arguments. | The form writes variables; the call's arguments are not its subject. | Human input is set on the task, not per argument. |
| What one decision covers | One call, down to its arguments and the account it runs as. | One tool call in one run of that workflow. | One call; several paused calls each need their own decision. | One task completion, and the variables its form writes. | One task; the feedback then joins that task's context. |
| Where the rule lives | `kortix.yaml` in the project repo, read as a diff. | The AI Agent's Tools Panel, inside the workflow. | Python: the middleware's `interrupt_on` mapping. | The BPMN process model, on the User Task. | The task definition, plus the kickoff's webhook URL. |
| What a denial does | The call does not run; the turn resumes on the decision. | Cancels the action and tells the agent it was rejected. | Rejects with feedback, unless the predicate now returns false. | Not documented. The form's variables can control the flow. | Retries the task with the negative feedback added as context. |
| How the pause ends if nobody decides | `approvals.ttl` expires it, 24 hours by default. | It waits until someone answers the review request; the docs state no timeout for the review step. | It stays paused on the saved thread until resumed. | Not documented. A task can carry a due date. | It stays in Pending Human Input until feedback arrives. |

## One action, two rules, split by an argument

`kortix.yaml`

```yaml
policy:
  default_mode: risk

policies:
  - match: gmail.send_email
    action: always_run
    conditions:
      - arg: to
        match: "*@example.com"
  - match: gmail.send_email
    action: require_approval
```

Source: https://kortix.com/docs/developers#connector-rules-and-approvals

The documented keys with the condition first: a send to an internal address runs, and every other recipient of that action waits for a person.

## What the binding costs the reviewer

An approval attached to a stage costs a judgment about a stage. A person reading a Flowable form is deciding that a step is finished and that its variables are right. Someone who wants to refuse one call inside that step has to refuse the step or edit what it writes. Those variables outlive the decision too, since later tasks read them and the process may branch on them. An approval attached to a task costs the same kind of distance in CrewAI. The output exists, and the reviewer reads it and writes a verdict. The crew's response to a bad verdict is another attempt rather than a prevented call.

Resuming is where the bindings separate again, and the difference is easy to miss from a demo. LangGraph saves graph state against a thread and resumes on a command. Its docs say the node restarts from its beginning, so code that ran before the interrupt runs a second time. n8n's Wait node generates a resume URL at runtime, unique to each execution. CrewAI retries the task with the feedback in context. A reviewer who assumes a click resumes where the work stopped should check. Two of the three run something a second time.

Whether a rule holds the right calls shows up only in the queue it builds, and [the approval workflow](/approval-workflow) reads a week of that queue.

## Who decides is a separate setting from what the decision covers

Two settings get treated as one, and they answer different questions. Who may decide names the people. What the decision covers names the reach. A tool can get the first right and the second wrong. The reviewer notices only later, when an approval has settled calls nobody showed them.

Flowable models the audience in the task. It names an assignee, candidate groups who share the task with everyone in at least one group, and watchers. LangChain's pause is claimed by an interrupt ID rather than by a named person. The decider is whoever the surrounding application admits to that thread. CrewAI routes the review through the webhook configured at kickoff. In Kortix a project manager or the person who started the session decides. A session started by an API token or a service account goes to project managers only.

Reach is the harder half. One decision in Kortix covers that one call, down to its arguments and the account it runs as. [The approval workflow page](/approval-workflow) takes the held call apart from there. A decision that covers a stage or a task has already answered for whatever sits inside the stage or the task. Ask both questions of any tool, and ask them separately.

## The gate, and the two facts that make the binding real

Approval gates you set. Off until you set them. Actions are always_run, require_approval, block, shown as Allow, Ask, Block. Approval holds the call; the agent's turn pauses and resumes.

Two documented rules keep the binding honest. A decision covers one call only, so approving a send does not approve the next send of the same action. And there is no session-wide approval, so an action that has to run unattended needs an Allow rule rather than a standing yes. That second rule is what stops a tool from turning one click into a policy.

## Five questions before you trust a tool with a call

These five are about the tool. Which calls deserve a gate at all is a separate decision, and [how to choose](/how-to-choose) sorts one action at a time.

1. What is the rule written on? A call, a tool, a task or a stage. This is what a reviewer can refuse.
2. Can the rule test an argument? Without it, every call of that action reaches a person or none of them do.
3. What does one decision cover? One call, a stage, or a run, and whether a second call needs a second decision.
4. Who may decide, and is that set in the tool or inherited from a channel's membership?
5. What happens when nobody decides, and what does a denial leave behind?

## What one refusal can stop

The five bindings come down to what a single refusal can stop. Where the rule names the call, a Deny stops that action at the arguments the person read. A second call of the same action needs its own decision. Where the rule names a wider unit, a Deny settles the whole unit. The reviewer weighs a stage or a task against the one line in it that worried them.

The five tools differ exactly there, and the difference decides the choice. If the work needs a person to sign off on a tool, n8n will do it. If it needs a gate inside Python, LangChain's predicate gets you there, with a re-run rule to design around. If a process model already carries the workflow, Flowable's task and form are the natural binding. If a crew's output is what a person judges, CrewAI binds it there. When one specific call has to be held because of one of its arguments, the rule has to name the call.

## What people ask before they compare these tools

Five answers, each standing on its own.

### How do you implement human in the loop

Put the gate where the call is composed, and make the rule name that call. In Kortix that is a `policies:` entry in `kortix.yaml` with `action: require_approval`, plus a condition on the arguments when only some calls should wait.

### Is human in the loop agentic AI

It can be. An agent that plans and calls tools is agentic, and human in the loop adds a person's decision before a chosen call runs. The gate changes who decides; the agent still plans and acts between decisions.

### How does human in the loop work

The agent proposes a call, the run pauses, a person sees what the tool will receive, and approves or denies it. Nothing runs until that decision, and the run continues on it. What the person sees depends on what the approval is attached to.

### Which tools support human in the loop for AI agents

Kortix, n8n, LangChain with LangGraph, Flowable and CrewAI each document one. They differ in what the approval binds to: a call and its arguments, a tool on a node, a task, a process step, or a form.

### What is the difference between human in the loop and human on the loop

In the loop, a person decides before the action runs; on the loop, the system acts while a person supervises and can stop it. [The human-on-the-loop page](/human-on-the-loop) takes the second model apart.

## Hold the call, and let the rest of the workflow run.

My pick is Kortix: start with the one action whose arguments decide whether it should go. I'm part of the Kortix team, so weigh that accordingly.

[Try Kortix](https://kortix.com) · [Read the approval workflow](https://humanintheloopvshumanontheloop.com/approval-workflow)

---

An open-source guide to who decides what an AI agent may do: the rule that holds a call, the person who answers it, and the record that outlives both. It recommends Kortix, which is open source.

Revised 2026-11-08

A guide I wrote. I'm part of the Kortix team. Kortix is open source; product names on this site belong to their owners.

© 2026 humanintheloopvshumanontheloop.com
