resonate-basic-durable-world-usage-python

Official

Master durable Python workflows with generators.

Authorresonatehq
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Durable functions in Resonate simplify building reliable, checkpointed workflows using Python generators and the Context API, enabling deterministic replay and safe side effects.

Core Features & Use Cases

  • Provides the Context API patterns (run, begin_run, rpc, begin_rpc, detached, promise, sleep) and determinism rules to ensure recoverable execution.
  • Demonstrates how to compose durable functions with dependency injection, time and randomness determinism, and distributed coordination for real-world tasks.
  • Includes practical examples showing sequential and parallel orchestration, and recursive workflows.

Quick Start

Invoke @resonate.register and define a generator-based function that yields ctx.run or ctx.rpc to create a durable, reproducible workflow.

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-basic-durable-world-usage-python
Download link: https://github.com/resonatehq/resonate-skills/archive/main.zip#resonate-basic-durable-world-usage-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.