resonate-human-in-the-loop-pattern-python

Installation
SKILL.md

Resonate Human-in-the-Loop Pattern — Python

Overview

A human-in-the-loop workflow suspends on a durable promise that is resolved (or rejected) by something outside the Resonate worker set — a person clicking an Approve button, a webhook from a third-party system, an operator running a CLI command. The worker doesn't poll or sleep; it opens a ctx.promise() and awaits it, and Resonate wakes it when the promise settles.

When to use

  • Approval gates in business workflows (expense approval, content moderation, deploy gate)
  • Waiting on third-party callbacks (Stripe webhooks, DocuSign signature events)
  • Operator-driven unblock steps (break-glass in incident runbooks)
  • Any workflow step where the data or decision comes from outside the Resonate worker

Basic shape

Installs
1
GitHub Stars
6
First Seen
Aug 10, 2026
resonate-human-in-the-loop-pattern-python — resonatehq/resonate-skills