a human api for agents
Build and ship production agents with a second thought. Call ask() and a real human sanity-checks your agent's work.
One SDK · Humans included · Works with any agent framework
Works with your stack
How it works
One function call. That's it.
Your agent calls await ask(). Looper finds a human, gets the answer, and your agent keeps going.
1import { ask } from "looper"23async function handleRefund(order) {4 if (order.amount > 500) {5 // One line. Looper handles everything.6 const ok = await ask("Approve this refund?")78 if (!ok) return { status: "denied" }9 }1011 await payments.refund(order.id)12 return { status: "refunded" }13}Capabilities
Everything agents need to ask.
One function call. Looper provides the humans, handles the logistics, and returns the answer.
Durable pause & resume.
Your agent calls ask() and suspends. Looper handles the rest -- finding a human, getting the answer, and waking your agent back up exactly where it stopped.
Humans on demand.
You don't recruit reviewers. Looper provides trained humans who handle your agent's questions -- approvals, classifications, content checks, whatever you need.
Built-in retries & SLAs.
Responses come back fast. If they don't, Looper retries, reassigns, or returns a configurable fallback. Set your SLA per ask() call.
Branch on human input.
Route your agent's execution based on the response. Approve, deny, escalate -- each path is just code, not config.
Audit trail by default.
Every ask(), every response, every decision is logged with timestamps and full context. Compliance-ready out of the box.
Framework agnostic.
Works with LangChain, CrewAI, AutoGen, or plain Python. Looper is infrastructure -- it plugs into whatever you're already building.
Observability
Trace every decision, human and machine.
See exactly when your agent paused, how fast a human responded, and what happened next. Every ask() is a traceable event in your execution timeline.
Total
48s
Run ID
run_9xK3nR
Infrastructure
Built for production agents.
You write the agent. Looper provides the humans and the infrastructure to connect them.
Durable execution.
Agent state is persisted automatically. Restarts, deploys, even crashes -- your agent picks up where it left off.
Sub-minute responses.
Looper's human workforce is always on. Most questions get answered in under 60 seconds -- no waiting on your own team.
Humans included.
You don't hire, train, or manage reviewers. Looper provides on-demand human intelligence matched to your task type.
Webhooks & callbacks.
Get notified on every event -- ask sent, human responded, timeout, fallback. Pipe results into any system.
Give your agents a second thought.
Install the SDK, add one ask() call, and Looper's humans handle the rest.