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

Official

Block workflows until external approvals arrive

Authorresonatehq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill lets durable Python workflows pause execution and await decisions or data that originate outside the worker process, removing brittle polling and enabling wake-on-event behavior for approvals, callbacks, and operator actions.

Core Features & Use Cases

  • Deterministic promise coordination: Create promise IDs from stable workflow inputs so external systems can reliably resolve or reject them.
  • Webhook and CLI integration: Resolve or reject promises from webhooks, UIs, or operator tooling using the Python SDK's prometes API.
  • Timeouts and error handling: Support absolute ms-since-epoch timeouts and natural try/except handling for rejected or expired promises.
  • Parallel approvers and fan-out patterns: Manage multi-approver workflows by composing multiple promises and aggregating decisions.

Quick Start

Start a workflow that yields ctx.promise with a deterministic id and resolve it from an external webhook using resonate.promises.resolve to unblock the worker.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: resonate-human-in-the-loop-pattern-python
Download link: https://github.com/resonatehq/resonate-skills/archive/main.zip#resonate-human-in-the-loop-pattern-python

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.