JOBS
Which setup should I use to add human approval to an agent?
These setups pause a run until a person approves, rejects or edits a proposed action. Some pauses are enforced in code. Some are a review of a diff, a draft or a saved plan. The table names the approval step on each page. Rows appear when the setup's own page is due.
Comparison
| Setup | What it does | Where the human approves | Source project and license | Link |
|---|---|---|---|---|
| Build a first agent with the OpenAI Agents SDK | Install the OpenAI Agents SDK for Python, run a first agent, add a tool that waits for your approval and check the pause without spending a token. | A tool with needs_approval=True (close_ticket) pauses the run until your code approves or rejects. lookup_ticket and any tool without needs_approval run as soon as the model calls them. Instructions such as "close a ticket only when asked" are model guidance, not enforcement. | based on OpenAI Agents SDK, by OpenAI. MIT. Models are OpenAI's paid hosted service under OpenAI's terms. | /kits/openai-agents-sdk/ |
| Make a LangGraph agent survive restarts with a SQLite checkpointer | Triage one support message, draft a reply and stop for a person to approve or reject it. The pause is saved to SQLite, so the decision can come from a different process later. | interrupt() in the approve node; the run stops until a resume value arrives. A developer can inspect, edit or fork the saved state before deciding. | based on LangGraph, by LangChain. MIT. | /kits/langgraph-checkpointer/ |
| Run Codex CLI, OpenAI's coding agent, on a real repo | Take one small repository task, edit files inside the workspace, run the documented checks and report what changed. A person reviews the diff before any commit. | Writes outside the workspace or network use need the developer's yes (on-request). The developer reads the patch and re-runs checks before any commit. | based on Codex CLI, by OpenAI. Apache-2.0. Models are OpenAI's paid hosted service. | /kits/codex-cli/ |
| Add the GitHub MCP server to Claude Code | Answer questions about your GitHub repositories, issues and pull requests from inside Claude Code by calling read-only GitHub tools. Writes stay off until you turn them on, and then each one waits for your approval. | Write tools are not offered while X-MCP-Readonly is true. If you turn writes on, each write tool call waits for your yes. Merge, delete, push, fork and repository creation are denied. | based on GitHub MCP Server, by GitHub. MIT. | /kits/github-mcp-claude-code/ |
| Give Claude Code a browser with Playwright MCP | Open a web page, read it through accessibility snapshots, fill in and submit one form field, and report what changed. Page reads run freely; clicks and typing ask first; running arbitrary JavaScript and uploading files are denied. | Every click, typed text, form fill or key press waits for your yes. | based on Playwright MCP, by Microsoft. Apache-2.0. | /kits/playwright-mcp/ |
| Draft daily social posts from Slack links | Collect channel links, inspect source content, generate drafts and interrupt for human review before optional publishing schedules. | The generate_post flow interrupts for review. Accept and Edit both schedule publishing; this is not a draft-only sandbox, and direct upload API access bypasses that workflow path. | based on Social Media Agent, by LangChain. MIT. | /kits/slack-social-drafts/ |
| Run OpenCode 2 on a Real Repo With Approvals On | OpenCode is an open-source AI coding agent for the terminal, and its version 2 starts with a permissive policy: most actions are allowed without asking. Before you point it at a real repository, add a few permission rules so it asks before running shell commands or editing files, and start sessions in the read-only Plan agent. | Add permission rules so it asks before running shell commands or editing files; start in the read-only Plan agent; review, undo and commit yourself. | based on OpenCode, by Anomaly and the OpenCode contributors, MIT, v2.2.0. | /guides/opencode-safe-setup-real-repo/ |
| GitHub Spec Kit: Write the Spec, Approve Each Stage | GitHub Spec Kit makes your coding agent write a specification, a technical plan and a task list before it writes code. The value comes from a person reading and fixing each of those files before the next step runs, so run the stages one at a time and keep implementation behind your say-so. | A person reads and fixes the spec, plan and task list before the next step; keep implementation behind your say-so. | based on Spec Kit, by GitHub and contributors, MIT, specify-cli v1.2.5. | /guides/github-spec-kit-spec-first/ |
| Playwright Test Agents: Draft E2E Tests, Then Review | Playwright's three test agents (planner, generator and healer) can draft end-to-end tests for your app from a plain request. Run them against a test environment, then review the plan, the test files and every test the healer changed or marked test.fixme() before you merge. | Review the plan, the test files and every test the healer changed or marked test.fixme() before you merge. | based on Playwright, by Microsoft, Apache-2.0, v1.64.1. | /guides/playwright-test-agents/ |
| Agno Agent With Memory: Review What It Keeps | An Agno agent can remember facts about each user across conversations by storing them in a database such as SQLite. Set it up so a person confirms any tool call that changes something, and so someone can list and delete what the agent has stored about a user. | A person confirms any tool call that changes something, and can list and delete stored facts. | based on Agno, by Agno and contributors, Apache-2.0, v3.1.11. | /guides/agno-agent-memory-approval/ |
| Pause a Mastra Workflow for Human Approval | In Mastra, a workflow step can call suspend() to stop and wait for a person, then continue when your app calls resume() with their answer. With storage configured, the paused run is saved, so the approval can come minutes or days later from a different process. | A step calls suspend() and continues when your app calls resume() with the person's answer. | based on Mastra, by Kepler Software, Inc. and contributors. Apache-2.0 outside ee/ directories. | /guides/mastra-workflow-human-approval/ |
| Vercel AI SDK Agent Loop: Step Limits and Approvals | The Vercel AI SDK's ToolLoopAgent lets a model call your tools in a loop until the job is done. Give it a step limit with stopWhen, and set toolApproval so any tool that writes, sends or deletes waits for a person to say yes. | toolApproval so any tool that writes, sends or deletes waits for a person to say yes. | based on AI SDK, by Vercel, Inc. and contributors, Apache-2.0, package ai 7.0.156. | /guides/vercel-ai-sdk-agent-loop/ |
| Strands Agents: Build a Tool-Using Agent With Approval | To build a tool-using agent with Strands Agents, install strands-agents, decorate Python functions with @tool, and pass them to Agent(tools=[...]). Tools run as soon as the model calls them, so add a BeforeToolCallEvent hook that calls event.interrupt() on risky tools and waits for a person's answer. | A BeforeToolCallEvent hook calls event.interrupt() on risky tools and waits for a person's answer. | based on Strands Agents SDK, by Amazon and contributors, Apache-2.0. | /guides/strands-agents-tool-approval/ |
| Run LangChain Deep Agents With an Approval Step | To run LangChain Deep Agents, call create_deep_agent() with a model and your tools, then invoke it with a message. To make it stop before risky tools, list them in interrupt_on and add a checkpointer. The run pauses, a person approves, edits or rejects, and you resume with Command(resume=...). | Human approval: every tool you list in interrupt_on waits for a person's decision. | based on Deep Agents, by LangChain, MIT. | /guides/langchain-deep-agents-approval/ |
| Add Human Review to a CrewAI Flow | To add human review to a CrewAI Flow, put the @human_feedback decorator on the step that produces a draft, list the outcomes in emit, and attach a @listen handler to each one. Always set default_outcome to a safe choice like rejected, because in our test an empty Enter with no default picked the first outcome in the list. | Human approval: a reviewer reads the draft in the console and types a reply. An LLM maps that reply to one of your outcomes. | based on CrewAI, by crewAIInc and contributors, MIT. | /guides/crewai-human-feedback/ |
| Add Human Approval to Trigger.dev Background Jobs | To add human approval to a Trigger.dev task, create a waitpoint token with wait.createToken(), show its ID to a reviewer, and pause the run with wait.forToken() until your backend completes the token. Then check the reviewer's answer yourself, because result.ok only means the token was completed, not that anyone said yes. | Human approval: a signed-in reviewer approves or rejects the draft. Your backend records their name and completes the token. | based on Trigger.dev, by Trigger.dev (triggerdotdev), repository Apache-2.0 and @trigger.dev/sdk MIT. | /guides/trigger-dev-waitpoint-approval/ |
| Pause an Inngest Function Until a Person Approves | To make an Inngest function wait for a person, call step.waitForEvent() with a timeout and a match field, then send an approval event from your backend when the reviewer decides. A timeout returns null, so treat null and anything other than a clear yes as "don't send". | Human approval: a signed-in reviewer approves or rejects the draft. Your backend checks who they are and sends a support/reply.reviewed event with the decision. | based on Inngest, by Inngest, Inc., TypeScript SDK Apache-2.0. | /guides/inngest-wait-for-event-approval/ |
| OpenAI Agents SDK With Temporal Approval Steps | To hold a risky agent action for a person in Temporal, mark the tool with needs_approval=True in the OpenAI Agents SDK, then have the workflow wait for a reviewer's signal with workflow.wait_condition() and a timeout. Approve or reject the paused tool call from that signal, and resume the run. | Human approval: a signed-in reviewer sees the pending refund and your backend sends a review signal with their decision and name. | based on the Temporal Python SDK, by Temporal and contributors, and the OpenAI Agents SDK, by OpenAI and contributors. | /guides/temporal-openai-agents-approval/ |
| Add an Approval Step to a Langflow Flow | To add human approval to Langflow, put a Human Input node between the step that drafts something and the step that acts on it, run the flow in background mode, and resume it with the person's choice. Each choice, such as Approve or Reject, becomes its own branch, so only the path the reviewer picked runs. | The human-in-the-loop guide describes two ways to pause a run. The first is the Human Input component, a node on the canvas with one output per choice. The second is the "Requires approval" toggle on an agent's tools, described on the agent tools page, which pauses the run when the agent tries to call that tool. The Workflow API that resumes a paused run is marked Beta in the Workflow API reference. | based on Langflow, by Langflow and contributors. | /guides/langflow-human-input-approval/ |
| AgentScope: First Local Agent With a Confirm Step | We built a first AgentScope 2.0 agent on a local model, gave it a file Read and Write tool, and sent it the same five tasks under four permission set-ups. BYPASS wrote a .env file and a config file. An allow rule for one folder in DONT_ASK mode wrote only the summary, until we ran the same script from inside the work folder, when a config write and a file clear got through too. | The human step: a person picks the permission mode, writes the allow rules and the confirm rule, and decides which folder the agent runs from. In this test a script answered every confirm request with a fixed rule. | based on AgentScope, by the AgentScope team and contributors, under the Apache-2.0 licence. Checked 2026-10-31 with agentscope 2.0.11 (PyPI). | /guides/agentscope-first-agent-local-model/ |
| CrewAI vs LangGraph: One Local Task, Built Twice | We built the same shop support agent in CrewAI and in LangGraph, on the same local model, with a review step before any refund. Both ran the 19 EUR refund our review script allowed and stopped the 500 EUR one. LangGraph pauses the run and waits for an answer; CrewAI's hook can only block the call, and its reply to the customer was then misleading. | The human step: a person approves every refund before it runs. In this test a script answered for the person: review() in shop.py allowed only the known 19 EUR duplicate charge on A-1002. | based on CrewAI, by CrewAI and contributors, under the MIT licence, using its tool call hooks, and LangGraph, by LangChain and contributors, under the MIT licence, using its interrupts. Checked 2026-10-31 with CrewAI 1.15.33 and LangGraph 1.2.19. | /guides/crewai-vs-langgraph-human-review/ |
| FastMCP: Read-Only Notes Tools and a Confirmed Delete | FastMCP turns Python functions into MCP tools with a decorator. We built a notes server with two read-only tools that cannot leave one folder, and one delete tool that asks a person before it removes anything. In our test the file was deleted only when the person said yes, and a client that could not ask got an error, not a deletion. | Human approval: delete_note sends a confirm question through MCP elicitation. Nothing is removed unless the person accepts and ticks confirm. | based on FastMCP, by Jeremiah Lowin, Nate Nowack and contributors. | /guides/fastmcp-read-only-server-confirm-delete/ |
| Run Open Interpreter Locally With a Sandbox and Approvals | Open Interpreter is no longer the Python chat tool many guides describe: version 0.0.56 is a Rust coding agent forked from OpenAI's Codex CLI, and it runs against a local Ollama model with no account. In our test, its workspace-write sandbox blocked writes outside the project folder, and with -a on-request a command outside the sandbox ran only after we chose Yes. | Human approval: with -a on-request, anything that needs to leave the sandbox stops at "Would you like to run the following command?" until you pick Yes (y) or No (Esc). | based on Open Interpreter, by the Open Interpreter team and contributors, built on Codex CLI by OpenAI. | /guides/open-interpreter-local-sandbox-approvals/ |
| Inspect AI: Test an Agent on Your Tasks, Approve Deletes | Inspect is an open-source framework for testing what a model or agent does on tasks you write. We ran it with no key, against a small local model, on two everyday tasks: answer a question from notes, and delete a note. With no approval policy the delete just happened. With a one-file policy, read tools ran automatically and the delete waited for a person. One detail matters: at that prompt, pressing Enter approves. | Human approval: an approval policy sends delete_note calls to a person, who approves, rejects or stops the run. Everything else is approved automatically and logged. | based on Inspect, by the UK AI Security Institute, Meridian Labs and contributors. | /guides/inspect-ai-agent-eval-human-approval/ |
| Send Approval Requests to Your Phone With ntfy | ntfy is an open-source push notification server: anything that can send an HTTP request can put a notification on your phone. Its action buttons can send an HTTP request back when tapped, which makes a simple approval step for an agent. We self-hosted version 2.35.0, locked it so only the agent can post and only the person can read, and had a small agent ask before deleting three files. Approve deleted them. Reject, no answer and a replayed tap all left them in place. | Human approval: a person taps Approve or Reject. Each button works once, the request expires after a set time, and no answer means nothing happens. | based on ntfy, by Philipp C. Heckel and contributors. Dual licensed under Apache-2.0 and GPLv2. | /guides/ntfy-agent-approval-phone-buttons/ |
| LangGraph Interrupt: Pause an Agent for a Human Yes | Human in the loop AI means the agent stops before an action and waits for a person. In LangGraph that is one call, interrupt(), plus a checkpointer that remembers where the run stopped. We paused a local agent before a refund and tried the three answers a person usually needs: approve, edit and reject. All three worked. Two details caught us: the tool's code runs again on resume, and after an edit the agent described the wrong amount. | A person approves, changes or refuses every refund before any money moves. The run waits until they answer. | based on LangGraph, by LangChain and contributors. MIT licence per GitHub on 2026-10-30. | /guides/human-in-the-loop-ai-langgraph-interrupt/ |
How to choose
If you are writing a Python agent and want a tool that cannot run until your code says yes, start with the OpenAI Agents SDK kit, or with the LangGraph checkpointer kit if the pause has to survive a process restart.
If the work is a coding agent in a repo, use Codex CLI with workspace-write and on-request approvals, or OpenCode with approvals turned on, and review the diff yourself before any commit.
If the work is a workflow or background job (Mastra, Trigger.dev, Inngest, the Vercel AI SDK loop, Strands, CrewAI, Deep Agents), pick the page for that tool and use the pause API it documents. Do not treat a prompt that says "please ask first" as the same thing as a coded interrupt.
If the agent talks to GitHub or a browser from Claude Code, keep writes behind ask rules, as in the GitHub MCP and Playwright MCP kits.