Forkit vs LangGraph for Human-in-the-Loop Agents
Forkit vs LangGraph looks like a comparison of two human-in-the-loop tools, and in a narrow sense it is. Both let an agent stop, wait for a person and continue. The difference is who writes the agent. LangGraph is what LangChain calls an agent runtime: you build the agent as a graph and decide where it pauses. Forkit adds pauses, an inbox and coordination to coding agents that already exist, such as Claude Code and Codex. This article explains each from its own material.
What LangGraph offers for human-in-the-loop
LangChain describes LangGraph as built for human-in-the-loop workflows from the start. The mechanism is persistence. At every step the graph reads from and writes to a checkpoint of its state. Because the checkpoint exists, execution can be paused partway and resumed later, and a human can edit the checkpoint before it resumes.
In December 2024 LangChain added interrupt, a function you call inside a node. It pauses the graph, surfaces a value to the person, and returns whatever the person supplies when the graph is resumed. The post compares it to Python's input(), but for production: the program does not have to stay in memory while it waits.
LangChain's post on ambient agents describes how this is used. Ambient agents listen to an event stream and act on it, possibly on many events at once. The post names three human-in-the-loop patterns:
- Notify: tell the user something matters without acting.
- Question: ask the user something that unblocks the agent.
- Review: have the user approve or edit an action before it happens.
The same post introduces an Agent Inbox as the interface for these interactions and uses an email assistant as the example.
What Forkit offers
Forkit is not a framework. You do not write agents with it.
- For Claude Code, a hook intercepts the moment a permission prompt would appear and sends the request to Forkit. Command rules answer first, then an optional orchestrator agent, then a person. If nobody answers in time, the hook steps aside and the normal prompt appears.
- An agent can ask a question with up to five one-click answers and wait with the
wait_for_replytool. - An agent can request review. Owners map file paths to approvers, and an approval is refused if the thread changed after the reviewer looked.
- The inbox shows the most urgent item first. A terminal version,
forkit watch, answers with single keys.
Those three kinds of items (permission, question, review) are close to LangChain's notify, question and review, which suggests the pattern is real and not one vendor's invention.
Forkit vs LangGraph, feature by feature
| LangGraph | Forkit | |
|---|---|---|
| What it is | An agent runtime, in LangChain's terms, on which you build agents | A hosted layer for existing coding agents |
| You write the agent | Yes | No |
| How a pause happens | You call interrupt in your graph |
A hook holds a permission request, or the agent calls a tool |
| What makes waiting possible | Checkpointed graph state | A long-poll held by the hook or tool, with a timeout |
| Human can edit state before resuming | Yes, by editing the checkpoint | No; a person allows, denies or replies |
| Inbox | Agent Inbox, described in the ambient agents post | Web inbox and forkit watch |
| Who answers | Whoever your application routes to | Rules, an orchestrator agent, the agent's person or a workspace owner |
| Domain | Any agent | Coding agents |
When LangGraph is the better choice
- You are building your own agent. An email assistant, a support agent, a research pipeline. LangGraph gives you the graph, the state and the pause. Forkit gives you none of that.
- You need to resume days later. Checkpointed state survives as long as you keep it. Forkit's permission wait is short by design (90 seconds by default) before control returns to the agent's own prompt.
- A person must be able to change what the agent will do. Editing the checkpoint before resuming is a LangGraph feature. Forkit can pass a note with a denial, which the agent reads, but it does not rewrite the agent's state.
- Your agents are not coding agents. Forkit's rules, file claims and review threads assume repositories, branches and commands.
When Forkit is the better fit
- You did not write the agent and do not want to. Claude Code and Codex are finished products. You cannot add an
interruptcall inside them. You can add a hook. - You need policy in front of the person. Forkit's layers mean most routine requests never reach anyone, and the sensitive ones cannot be answered by a rule.
- Several people share the queue. Routing by file ownership and by who owns the agent is built in.
- Agents coordinate with each other. Typed messages, file claims and fan-outs are outside what a single graph's interrupt covers.
A point of design both share
Both tools treat the human reply as different in kind from anything an agent says. In LangGraph, the resume value comes from outside the graph. In Forkit, a message from another agent lives in a separate table and can never answer a permission request, decide a review or resolve a thread. If you build your own system, keep that separation. The moment an agent's output can count as a person's approval, the approval means nothing.
Using both
A team can build its internal agents on LangGraph and still run Claude Code under Forkit. If your LangGraph agent speaks MCP, it can also use Forkit's endpoint to open a thread, ask a question and wait for a reply, which gives it the same inbox as your coding agents. That uses Forkit as the human-facing queue and LangGraph as the agent runtime.
Further reading: human-in-the-loop approval for coding agents for the general design, what is an agent inbox for what belongs in one, and Forkit vs CrewAI for a well-known agent framework.
Where Forkit fits
If you are writing an agent, use a framework. If you are supervising coding agents someone else wrote, Forkit gives them a place to ask and gives you one place to answer. It is free to try. More at forkit-mcp.com.
Sources
Read on 16 Nov 2026: