aws avatar

Aws Lambda Durable Functions

This walks you through AWS Lambda's durable execution SDK for building multi-step workflows that can run up to a year with automatic state persistence. The skill covers the replay model (critical: non-deterministic code like Date.now() must live inside steps or you'll corrupt state), step operations, wait/callback patterns for human-in-the-loop scenarios, and the saga pattern for compensating transactions. It includes specific guardrails like the requirement for qualified ARN invocation and the no-nesting rule for durable operations. Useful if you're building order processing, approval workflows, or AI agent orchestrations where you need reliable progress tracking and automatic retries without managing your own state machine infrastructure.

skills.sh installs
6.2K
GitHub stars
3.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add aws/agent-toolkit-for-aws --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.

Works best with the AWS MCP server but is not required. All AWS interactions in this skill use standard AWS CLI commands that work in any environment with configured AWS credentials.

Critical Rules

Read these before writing any code. Each one is a constraint that will silently break a function if violated.

Sponsors

Details

Repository
github.com/aws/agent-toolkit-for-aws
Categories
Backend & APIs, Testing & QA, AI & Agent Building, Debugging, Automation & Workflows, Cloud & Infrastructure
First seen
Jul 14, 2026

More from aws/agent-toolkit-for-aws

All 56
1forcedotcom avatarplatform-metadata-api-context-getforcedotcom/sf-skillsREQUIRED companion for Salesforce metadata generation — load this schema/API-context skill in the SAME turn as ANY metadata generation skill; if you load a gene6.2Kskills.sh installs
2aws avataraws-lambda-managed-instancesaws/agent-toolkit-for-awsEvaluates, configures, and migrates workloads to AWS Lambda Managed Instances (LMI). Runs Lambda functions on EC2 instances in the user's account while AWS mana6.2Kskills.sh installs
3affaan-m avatarredis-patternsaffaan-m/eccRedis data structure patterns, caching strategies, distributed locks, rate limiting, pub/sub, and connection management for production applications.5.7Kskills.sh installs
4github avatarwinmd-api-searchgithub/awesome-copilotFind and explore Windows desktop APIs. Use when building features that need platform capabilities — camera, file access, notifications, UI controls, AI/ML, sens5.7Kskills.sh installs
5affaan-m avatarx-apiaffaan-m/everything-claude-codex api4.5Kskills.sh installs
6softaworks avatardatabase-schema-designersoftaworks/agent-toolkitDesign robust, scalable database schemas for SQL and NoSQL databases. Provides normalization guidelines, indexing strategies, migration patterns, constraint des4.4Kskills.sh installs