resonate-saga-pattern-python
OfficialDurable Python sagas with compensations.
Authorresonatehq
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Saga patterns enable durable, multi-step Python workflows by splitting processes into forward steps with compensating actions, ensuring consistency across failures.
Core Features & Use Cases
- Saga orchestration with forward steps and compensations to restore state after partial failures.
- Explicit step modeling using SagaStep objects to map forward and backward actions.
- Robust error handling using try/except and the ability to retry compensations safely.
- Support for sub-sagas and parallel fan-out while preserving correct compensation sequencing.
Quick Start
Register a saga with @resonate.register and yield ctx.run to execute forward steps while collecting completed steps for compensations.
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-saga-pattern-python Download link: https://github.com/resonatehq/resonate-skills/archive/main.zip#resonate-saga-pattern-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.