resonate-basic-ephemeral-world-usage-python
OfficialLaunch and manage Resonate Python workflows
Authorresonatehq
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Many Python processes need to start, coordinate, and monitor durable workflows but lack a deterministic, crash-safe client-side API to do so; this Skill explains how to reliably initialize a Resonate client, register generator-based durable functions, invoke them across process boundaries, and manage their lifecycle from ephemeral code.
Core Features & Use Cases
- Client initialization: local and remote Resonate client construction for tests, scripts, and production processes.
- Function registration: register Python generator functions as durable workflows and control their RPC identity.
- Invocation patterns: synchronous and asynchronous same-process and remote invocations (run, begin_run, rpc, begin_rpc), subscription to existing invocations, and invocation options (timeout, retry policy, tags, idempotency, version).
- Dependency & promise management: set heavy ephemeral dependencies for durable code to reference and create/resolve external promises for human-in-the-loop or webhook-driven flows.
- Worker lifecycle: run long-polling workers in remote mode and integrate with web frameworks or background loops.
- Use case: an HTTP handler that begins a background order-processing workflow and returns immediately while the durable generator consumes external approvals via promises.
Quick Start
Initialize a Resonate client in Python, register a generator function to process orders, and run it with a stable invocation id to start durable processing.
Dependency Matrix
Required Modules
None requiredComponents
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-basic-ephemeral-world-usage-python Download link: https://github.com/resonatehq/resonate-skills/archive/main.zip#resonate-basic-ephemeral-world-usage-python Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.