[{"data":1,"prerenderedAt":72},["ShallowReactive",2],{"pattern-lambda-durable-bedrock-agentcore-async":3},{"id":4,"title":5,"architectureURL":6,"cleanup":7,"contributors":10,"deploy":12,"description":17,"extension":18,"framework":19,"gitHub":20,"highlight":6,"introBox":26,"language":32,"level":33,"meta":34,"patternArch":35,"resources":53,"s3URL":6,"services":6,"stem":67,"testing":68,"videoId":6,"__hash__":71},"patterns\u002Fpatterns\u002Flambda-durable-bedrock-agentcore-async.json","Asynchronous Amazon Bedrock AgentCore integration with AWS Lambda durable functions",null,{"text":8},[9],"Delete the stacks: \u003Ccode>cdk destroy --all\u003C\u002Fcode>.",[11],"content\u002Fcontributors\u002Fben-freiberg.json",{"text":13},[14,15,16],"npm install","cd durable-lambda && npm install && cd ..","cdk deploy --all","Orchestrate parallel AI agent invocations on Amazon Bedrock AgentCore using AWS Lambda durable functions with context.map and waitForCallback","json","AWS CDK",{"template":21},{"repoURL":22,"templateURL":23,"projectFolder":24,"templateFile":25},"https:\u002F\u002Fgithub.com\u002Faws-samples\u002Fserverless-patterns\u002Ftree\u002Fmain\u002Flambda-durable-bedrock-agentcore-async","serverless-patterns\u002Flambda-durable-bedrock-agentcore-async","lambda-durable-bedrock-agentcore-async","lib\u002Fdurable-agent-stack.ts",{"headline":27,"text":28},"How it works",[29,30,31],"This pattern deploys an AWS Lambda durable function that orchestrates a long-running AI agent hosted on Amazon Bedrock AgentCore using the Strands Agents SDK.","The durable function uses context.map to fan out two trip-planning prompts in parallel, each using waitForCallback to pause while the agent processes the request. When both agents complete, the results are combined into a single response.","The agent runs as a containerized Python application on AgentCore, built with the Strands Agents SDK and deployed automatically via CDK. The durable execution SDK checkpoints progress so the workflow is fault-tolerant and resumable.","TypeScript","300",{},{"icon1":36,"icon2":41,"icon3":44,"line1":46,"line2":50},{"x":37,"y":38,"service":39,"label":40},18,50,"lambda","Lambda durable functions",{"x":38,"y":38,"service":42,"label":43},"bedrock-agentcore","Amazon Bedrock AgentCore",{"x":45,"y":38,"service":39,"label":40},82,{"from":47,"to":48,"label":49},"icon1","icon2","waitForCallback",{"from":48,"to":51,"label":52},"icon3","callback",{"bullets":54},[55,58,61,64],{"text":56,"link":57},"AWS Lambda durable functions documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-basic-concepts.html",{"text":59,"link":60},"Durable Execution SDK","https:\u002F\u002Fdocs.aws.amazon.com\u002Flambda\u002Flatest\u002Fdg\u002Fdurable-execution-sdk.html",{"text":62,"link":63},"Amazon Bedrock AgentCore documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Fbedrock\u002Flatest\u002Fuserguide\u002Fagentcore.html",{"text":65,"link":66},"AWS CDK Developer Guide","https:\u002F\u002Fdocs.aws.amazon.com\u002Fcdk\u002Flatest\u002Fguide\u002F","patterns\u002Flambda-durable-bedrock-agentcore-async",{"text":69},[70],"See the GitHub repo for detailed testing instructions.","qjhhmbRyI5rsvXM17ChR-M1sAesQ9vxf6tTXq102jAo",1781433314609]