ai-python-durable-execution
Installation
SKILL.md
ai-python-durable-execution
Use durable execution when an agent run must survive restarts, worker moves, or long waits.
The SDK does not provide durability by itself. Build a custom Agent.loop, and
put side effects inside durable steps:
- model calls
- tool I/O
- approval or resume boundaries
Keep the workflow replayable. Durable steps should take JSON inputs and return JSON outputs.
Serialize messages like this: