awslabs avatar

Aws Lambda Durable Functions

If you're building workflows that need to survive restarts, handle retries gracefully, or coordinate multi-step processes that run for days or months, this is worth learning. It's AWS's answer to durable execution patterns, letting Lambda functions checkpoint their progress and resume after interruptions. The replay model takes some getting used to (anything non-deterministic must go in a step, no nesting durable operations), but once you internalize those rules, you can build surprisingly resilient systems. Supports TypeScript, JavaScript, and Python. The skill covers the fundamentals plus practical patterns like saga compensation, human-in-the-loop callbacks, and parallel execution. Good for AI agents, approval workflows, or any serverless process that shouldn't start over from scratch when something fails.

GitHub stars
783
last updated
Jun 11, 2026

Install

$ npx -y skills add awslabs/agent-plugins --skill aws-lambda-durable-functions --agent claude-code

Installs into .claude/skills of the current project.

Files

AWS Lambda durable functions

Build resilient multi-step applications and AI workflows that can execute for up to 1 year while maintaining reliable progress despite interruptions.

Onboarding

Step 1: Validate Prerequisites

Before using AWS Lambda durable functions, verify:

  1. AWS CLI is installed (2.33.22 or higher) and configured:

    aws --version
    aws sts get-caller-identity
    
  2. Runtime environment is ready:

    • For TypeScript/JavaScript: Node.js 22+ (node --version)
    • For Python: Python 3.11+ (python --version. Note that currently only Lambda runtime environments 3.13+ come with the Durable Execution SDK pre-installed. 3.11 is the min supported Python version by the Durable SDK itself, however, you could use OCI to bring your own container image with your own Python runtime + Durable SDK.)
  3. Deployment capability exists (one of):

    • AWS SAM CLI (sam --version) 1.153.1 or higher
    • AWS CDK (cdk --version) v2.237.1 or higher
    • Direct Lambda deployment access

Step 2: Select language and IaC framework

Language Selection

Default: TypeScript

Override syntax:

Sponsors

Details

Repository
github.com/awslabs/agent-plugins
Categories
Backend & APIs, AI & Agent Building, Cloud & Infrastructure
License
Apache-2.0
First seen
Jun 11, 2026

More from awslabs/agent-plugins

All 32
1awslabs avataraws-lambda-managed-instancesawslabs/agent-plugins>0skills.sh installs
2bankrbot avatarBankr Dev - API Workflowbankrbot/claude-pluginsThis skill should be used when building the async job workflow, implementing polling loops, handling job status transitions, processing rich data, managing conv0skills.sh installs
3butterbase-ai avatarauth-setupbutterbase-ai/butterbase-skillsThis covers OAuth setup for Google, GitHub, Apple, X, and custom providers, plus JWT lifetime tuning and post-login hooks.0skills.sh installs
4butterbase-ai avatarjourney-authbutterbase-ai/butterbase-skillsUse as the auth build stage of the Butterbase journey, after journey-schema (and rls if separate). Implements the Auth section of 02-plan.md by delegating to au0skills.sh installs
5davila7 avatarBroken Authentication Testingdavila7/claude-code-templatesThis skill should be used when the user asks to "test for broken authentication vulnerabilities", "assess session management security", "perform credential stuf0skills.sh installs
6ghostsecurity avatarghost-proxyghostsecurity/skillsStarts and controls the reaper MITM proxy to capture, inspect, search, and replay HTTP/HTTPS traffic between clients and servers. Capabilities include starting/0skills.sh installs