aws-lambda-durable-functions

Orchestrate long-running AWS Lambda workflows with durable execution patterns.

2|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/NagyVikt/codex-plugins --skill aws-lambda-durable-functions-nagyvikt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aws-lambda-durable-functions
Source: https://github.com/NagyVikt/codex-plugins/tree/main/plugins/aws/aws-serverless/skills/aws-lambda-durable-functions
Command: npx skills add https://github.com/NagyVikt/codex-plugins --skill aws-lambda-durable-functions-nagyvikt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @aws/durable-execution-sdk-js, @aws/durable-execution-sdk-js-testing, aws-durable-execution-sdk-python, aws-durable-execution-sdk-python-testing, and includes references (resource) components.

What problem does it solve?

This skill addresses the complexity of building stateful, multi-step applications in a serverless environment, solving issues related to execution timeouts, state persistence, and reliable error handling in distributed workflows.

Core Features & Use Cases

  • Orchestration: Manage complex, long-running workflows that can span up to one year.
  • Resilience: Implement automatic retry logic, checkpointing, and the saga pattern for compensating transactions.
  • Use Case: Ideal for orchestrating AI agentic loops, human-in-the-loop approval processes, or batch processing tasks that require reliable progress tracking despite potential interruptions.

Quick Start

Use the aws-lambda-durable-functions skill to generate a new TypeScript project template for a stateful workflow orchestration.

Frequently Asked Questions about aws-lambda-durable-functions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build long-running serverless workflows in AWS Lambda?

To build long-running serverless workflows in AWS Lambda, use the AWS Durable Execution SDK to manage state persistence, replay logic, and asynchronous callbacks for multi-step orchestration. This approach handles execution timeouts and distributed state tracking.

What is the saga pattern and when do I need it for serverless orchestration?

The saga pattern manages distributed transactions by applying compensating logic on failures. You need it for serverless orchestration when handling complex, multi-step workflows that require reliable error handling and automatic rollback across cloud environments.

Can I use AWS Lambda durable functions for human-in-the-loop approval processes?

Yes, AWS Lambda durable functions support human-in-the-loop approval processes. The orchestration pattern persists state indefinitely, allowing workflows to pause for external approvals and resume reliably upon callback without timing out.

Does the AWS Durable Execution SDK support Python for stateful task management?

Yes, the AWS Durable Execution SDK supports both TypeScript and Python for stateful task management. You can use the Python SDK to implement checkpointing, replay logic, and automatic retries within your serverless workflows.

What are the limitations of using serverless orchestration for distributed transactions?

Serverless orchestration limitations include reliance on the AWS Durable Execution SDK for state persistence and potential complexity in implementing the saga pattern for compensating transactions across highly distributed cloud environments.