Put a human in the loop before agents act.
Autonomous agents move money, delete records, and email customers in milliseconds. Hitlify freezes execution at critical tool calls, requires explicit human sign-off in Slack or your app, and resumes cleanly hours or days later with every decision logged.
Open-source TypeScript & Python SDKs + managed human approval engine.
// Freeze execution until a human signs off on high-impact actions
import { hitlify } from "hitlify";
export async function refundCustomer(orderId: string, amount: number) {
// Suspends agent state, alerts #ops-approvals, and awaits human decision
const decision = await hitlify.waitForApproval({
action: "stripe.refund.create",
payload: { orderId, amount },
channel: "slack://#ops-approvals",
timeout: "24h",
});
if (!decision.approved) return { status: "blocked", reason: decision.reason };
return stripe.refunds.create({ charge: orderId, amount: decision.payload.amount });
}
# Freeze execution until a human signs off on high-impact actions
from hitlify import wait_for_approval
async def refund_customer(order_id: str, amount: int):
# Suspends agent state, alerts #ops-approvals, and awaits human decision
decision = await wait_for_approval(
action="stripe.refund.create",
payload={"order_id": order_id, "amount": amount},
channel="slack://#ops-approvals",
timeout="24h",
)
if not decision.approved:
return {"status": "blocked", "reason": decision.reason}
return stripe.Refund.create(charge=order_id, amount=decision.payload["amount"])
Hibernate & Resume Anywhere
No hanging workers or lost memory across deploys. Agent state and idempotency keys serialize durably until an operator responds.
Approve, Override, or Kill
Operators inspect exact tool payloads, edit parameters inline (like capping a refund amount), or block execution with a full audit trail.
Drop Into Any Stack
Works inside OpenAI Agents SDK, Vercel AI SDK, LangGraph, MCP servers, or plain async functions without rewriting your agent loop.