CallMeMCP/call-me

Human in the loop for AI agents, when the human is not at the screen

·

Give AI your phone number. With the number you get from callmemcp.com, an agent that stops to ask a human can ring your phone and carry on with your spoken answer.

Every framework can pause for a human. LangGraph has interrupt(), the OpenAI Agents SDK has needs_approval, the Claude Agent SDK has canUseTool, MCP has elicitation. None of them reaches you when you're away from the screen. A phone call that rings and sends back what you said as text is one way to close the gap, and for most approvals a push is enough. I built /call-me, so weigh what follows with that in mind. I read every page linked below today, November 23, 2026.

How do you guys deal with agent approvals when you're not at your desk?

That's a real question from r/cursor, and the honest answer is that the pause is built in everywhere and the reaching is not. People bolt on one of four things.

A web inbox. LangChain's Agent Inbox lists interrupted LangGraph runs for you to answer, though its repo is archived now.

A chat app. n8n can send a tool approval to Slack, Telegram, Discord, Teams, WhatsApp, Gmail and a few more (n8n docs).

A push. Pushary does phone approvals, with a guide per framework and a pushary-langgraph package. ask-a-human.ai is one MCP server plus a site you pin to your iPhone home screen, with no account and end-to-end encryption, and you tap approve, decline or reply.

Or a call, which is what I built.

HumanLayer used to be the first name here. It launched on Hacker News in November 2024 as a "Human-in-the-Loop API for AI Systems" (HN). Its repo now runs coding agents for teams, and on November 4, 2026 Factory announced that HumanLayer is joining Factory, which will open source it (Factory).

How does interrupt work in LangGraph?

interrupt() stops the node, saves the graph state through the checkpointer and hands its value to whoever called the graph. You continue by invoking again with Command(resume=...) and the same thread_id, and the value you pass becomes what interrupt() returns (LangGraph docs). With version="v2", invoke gives you .interrupts with the pending questions. LangChain's prebuilt agents wrap the same thing in HumanInTheLoopMiddleware, where a reviewer can approve, edit, reject or respond to each tool call (docs).

Here's a small graph that stops before a risky deploy:

import json, os, re, urllib.request
from typing import TypedDict
from langgraph.graph import StateGraph, START, END
from langgraph.checkpoint.memory import InMemorySaver
from langgraph.types import interrupt, Command

API = os.environ.get("CALLME_API", "https://callmemcp.com")
TO = os.environ["CALLME_TO"]  # your 10-digit /call-me number

class State(TypedDict):
    change: str
    decision: str  # "yes", "no" or "no decision"

def ask(state: State):
    return {"decision": interrupt(state["change"] + " Deploy it to prod?")}

def deploy(state: State):
    if state["decision"] == "yes":
        print("deploying:", state["change"])
    else:
        print("holding:", state["decision"])
    return {}

g = StateGraph(State)
g.add_node("ask", ask)
g.add_node("deploy", deploy)
g.add_edge(START, "ask")
g.add_edge("ask", "deploy")
g.add_edge("deploy", END)
graph = g.compile(checkpointer=InMemorySaver())  # use a database checkpointer in production

And the driver that takes the question to your phone. It uses the plain /ring endpoint from the README: you POST to, text and from, it blocks until you answer or it gives up, and it returns status and transcript.

YES = {"yes", "yeah", "yep", "sure", "ok", "okay"}
NO = {"no", "nope", "not", "don't", "stop", "wait", "hold"}

def post(path, body):
    req = urllib.request.Request(API + path, data=json.dumps(body).encode(),
                                 headers={"content-type": "application/json"})
    with urllib.request.urlopen(req, timeout=330) as r:
        return json.load(r)

def ask_by_phone(question):
    r = post("/ring", {"to": TO, "text": question, "from": "Deploy bot", "timeout_s": 300})
    words = re.findall(r"[a-z']+", (r.get("transcript") or "").lower())
    decision = "no decision"  # missed, declined, timeout, failed, or not clear
    if r.get("status") == "completed" and words:
        if words[0] in YES and not NO & set(words):
            decision = "yes"
        elif words[0] in NO:
            decision = "no"
    if r.get("open"):  # the line stays open after your answer: hang up
        post(f"/aiphone/calls/{r['call_id']}/hangup", {"session_token": r["session_token"],
             "text": "Deploying now." if decision == "yes" else "Okay, holding the deploy."})
    return decision

config = {"configurable": {"thread_id": "deploy-42"}}
result = graph.invoke({"change": "The migration drops the coupon column from orders.",
                       "decision": ""}, config, version="v2")
while result.interrupts:
    decision = ask_by_phone(result.interrupts[0].value)
    result = graph.invoke(Command(resume=decision), config, version="v2")

Two details matter. Every /call-me call stays open after your answer, with "open":true and a call_id, so an agent can keep talking. This one asks once, so it hangs up with a last line that says what happens next. And only a completed call with a clear answer decides anything. missed, declined, timeout and failed resume the graph with "no decision", which holds the deploy, and so does "yes, but wait". Don't resume with None for that: in langgraph 1.2.24, Command(resume=None) threw an error when I tried it.

I ran both blocks today with langgraph 1.2.24 against a local stand-in for /ring. An answer of "Yes, ship it" printed deploying and hung up; a missed call printed holding: no decision and left the line alone.

The approval came 6 hours later and the server had restarted. Now what?

That one is from r/AI_Agents, and LangGraph's answer is the checkpointer. InMemorySaver dies with the process, which is why the docs say to use a persistent one, backed by a database, in production. Then a restart loses nothing: the same thread_id brings the pending interrupt back.

The ring sits in the driver, between two invokes, and not inside a node. On resume, LangGraph runs the interrupted node again from its first line, so a side effect placed before interrupt() happens twice. And on LangGraph Cloud, tool calls that run past about 180 seconds get re-executed from the last checkpoint while the first one is still going (#7417, open since April 5, 2026). /ring can wait 300 seconds, so a ring inside a node could reach you twice. The ring itself is there to turn six hours into a minute.

Do you prefer to make human in the loop approvals on your phone or PC?

That's r/LangChain, and my answer is that most approvals only need a push. When the phone is in your hand, or the agent only wants to say it's done, a banner is right and costs nothing: ntfy takes a plain HTTP POST with no sign-up, and Telegram's bot platform is "free for both users and developers" (Telegram).

A ring is for the decision that blocks the work while you aren't looking at the phone. You might be driving, or the banner might be held back: Anthropic's own docs warn that on iOS, Focus modes and notification summaries "can suppress or delay pushes" (Remote Control docs). It rings like a normal call, through AirPods or CarPlay, you answer out loud, and the agent gets your words as text. One number works for every agent you give it to.

Is there an MCP server that asks a human?

Yes, several, and they differ in where the question lands. MCP's own answer is elicitation: a server asks for input "from users through the client", as a form or a URL (spec). That works while someone sits at the client, and leaves the same gap when nobody does.

The ask-human servers move the question out of the client. ask-human-mcp writes it into a markdown file and waits for you to replace PENDING with your answer. GongRzhe's server shows dialogs on the same computer and is archived now. KOBA789's asks in Discord. call-a-human-mcp has ask_human and request_approval tools that block until you answer in Slack, Telegram or a macOS dialog. Pushary and ask-a-human.ai are MCP servers too.

/call-me is one at https://callmemcp.com/mcp, and its call tool rings you, reads the question and returns what you said (setup per client). I went through the push servers in MCP push notifications or a phone call?

How do I add human approval in the OpenAI Agents SDK?

Mark the tool with needs_approval=True. When the model calls it, the run stops and result.interruptions lists the pending calls. You turn the result into a RunState with result.to_state(), call state.approve(...) or state.reject(...), and run again (Agents SDK docs). The docs say RunState "is designed to be durable": state.to_json() goes into a database, and for "browser or mobile approval interfaces" the snapshot stays on your server. A worker that rings you and then resumes the stored state fits that advice. I didn't run this one, because it needs an OpenAI key.

The others have the same shape. In the Vercel AI SDK, toolApproval returns tool approval requests, and you call again with the answer; the older needsApproval is deprecated (AI SDK docs). The Claude Agent SDK calls your canUseTool callback for permission prompts and for its AskUserQuestion tool, and pauses until the callback returns (Agent SDK docs). CrewAI has a @human_feedback decorator for review in the console, and webhook approvals on its Enterprise side (CrewAI docs). Temporal brings the answer in as a Signal and "can wait for approval for hours, days or indefinitely" (Temporal). Inngest's step.waitForEvent() waits for a matching event or a timeout, seven days in its approval example, and hands back the event or null (Inngest). In each of them the call goes where your code asks the person.

How long should an approval for an agent action stay valid?

Short, and silence never counts. That question is from r/AI_Agents, and my rule is one ring, then one text, then stop. A missed call comes back as missed with an empty transcript, and a sender you blocked in the app gets exactly the same, on purpose (README). So the code can't tell a sleeping human from a blocked agent, and it shouldn't try: both are no decision.

After a miss, send one /text saying what's on hold, and don't ring in a loop. If you'd rather ask again later than give up, don't resume at all: with a persistent checkpointer, the interrupt waits under its thread_id until the driver runs again.

Can Claude Code run overnight?

Yes, and people do. "I let Claude Code on web run overnight while I sleep" is a whole thread on r/ClaudeCode. What stops the run is the one permission prompt at 3 am. For Claude Code I wrote a PermissionRequest hook that rings you and turns your yes or no into allow or deny, in Claude Code notifications on your phone. The Codex version is in Codex remote control from your phone.

All posts

Give your AI a number to call you

Get the app, give your agent the number, and it can ring you or text you.