---
type: "article"
title: "AWS Step Functions + Bedrock AgentCore: The Serverless AI Blueprint 🚀☁️ #104"
summary: "In the previous issue, OpenSearch is finally Serverless 🚀☁️ #103 looked at how AWS rewamped OpenSearch to make it Serverless.\n\n\n\n\n\n\n\n\n\n\nImage from Adobe Stock\nBuilding multi-turn AI agents—where an LLM loops through a series of think → call tool → observe cycles—historically required hosting your own runtime or wrapping agent loops inside AWS Lambda. For production workloads, that approach creates severe friction. Architecturally, this integration eliminates the primary friction points of building production AI by replacing custom state-management code with the native AgentCore InvokeHarness API. Instead of wrapping non-deterministic agent loops inside AWS Lambda—which constantly risks hitting the hard 15-minute execution ceiling and racks up expensive pay-for-idle compute costs while waiting synchronously for LLM streaming or external API tools—Step Functions offloads the multi-turn execution entirely to a managed, serverless microVM context provided by AgentCore. Step Functions acts as the deterministic coordinator handling routing, retries, and state data, while AgentCore executes the long-running think-action-observation cycles. This request-response handoff radically optimizes costs by charging only for state transitions and actual Bedrock token usage, giving you true pay-as-you-go scaling with zero infrastructure overhead.\nIn a real-world enterprise scenario like automated medical insurance claims processing, this integration allows you to coordinate a multi-agent system through a reliable state machine. The workflow begins when a claim is submitted, prompting Step Functions to invoke a specialized Document Extraction Agent that utilizes a cost-efficient model to extract and structure data from messy PDFs into clean JSON. Step Functions then triggers a native Parallel state to spin up two concurrent specialists—a Coverage Verification Agent to check database records for policy compliance and a Fraud Detection Agent to audit historical velocity patterns. If anomalies are flagged, the state machine utilizes per-invocation overrides to dynamically elevate the reasoning model and system prompt for a Review Agent Step, using a native RuntimeSessionId to seamlessly maintain context and memory across the entire execution. Finally, if the risk score surpasses a safe threshold, Step Functions acts as a deterministic guardrail, routing the payload to a Human Approval Step via Amazon SNS to pause the workflow until a claims adjuster can safely audit the trace.\n\n\n⭐ Pick of the month\nThis month’s Pick is “Workflows on Serverless”.\nHarpreet Siddhu is bringing in zero-cost approval workflows with AWS Lambda for an ETL pipeline that requires human-in-the-loop approval for processing 1k documents.\nRishi’s blog on Building Human-in-the-Loop E-Commerce Workflows with AWS Durable Lambda Functions explains the need for human-in-the-loop patterns and how durable functions fits in.\nJones Zachariah Noel’s blog series on AWS Step Functions covers different aspects of Serverless workflows from bringing use-cases with AI to features of Step Functions such as Jitter Strategy, HTTP invocation and more.\n\n\n🚀 AWSome content to learn from\nRaphael Moura explains that the bottleneck was never the load, it was the hot key for space-based architectures on Serverless breaking down the challenge and how to use Serverless services and why it’s an advantage.\nPubudu Jayawardana debunks an edge case with ESM triggers for durable functions and how to trigger Lambda Durable Functions from SQS and the approach of EventBridge Pipes.\nMichael Walmsley takes a look at Lambda in VPC more from an architectural POV, not with a performance-first POV, and how important it is to get the VPC configuration right.\nAnna Pastushko addresses the age-old question of whether you should use SQS or EventBridge with a use-case breakdown of what fits and what doesn’t, with a clear picture of the tradeoffs that have be done which choosing either.\nGhita’s blog on Smart Notification Routing on AWS with SNS, Lambda, and CDK where having a custom notification router for type of alerts, teams all with SNS and Lambda function.\n\n\n⚒️ What's happening with Serverless tools, samples, and projects\nSébastien Stormacq has built out Lambda Runtime Interface Client (RIC) for C.\nKenta Goto has published cdk-local.\nJohn Ajera has published terraform-aws-s3-vectors-rag-demo.\nJeremy Daly’s data-api-client now support Knex compatibility layer for MySQL and PGSQL.\n\n\n🎙️ Podcasts, videos, and live-streams \nOn the Serverless Office Hours, Erik Hanchett takes on building Agents with TypeScript.\nJaymitkumar Bhoraniya explains AWS API Gateway.\nHow to Fix Vercel Serverless Function Error Full Guide 2026.\n\n\n🗓️ Mark your calendars\nTech Harate on July 27th, 2026.\nAWS Community Days are happening -\n\nACD East Canada on June 20th, 2026.\n\nACD Midwest on June 24th, 2026. \n\nACD Kenya - Pwani Edition on July 4th, 2026.\n\nACD Bengaluru on July 11th, 2026.\n\nACD Ottawa on August 21st and 22nd, 2026.\n\nACD Singapore on August 22nd, 2026. CFP is currently open until June 7th, 2026.\n\nACD Poland on September 8th, 2026. CFP is currently open until July 6th, 2026.\n\nACD Sri Lanka on September 11th, 2026. \n\nACD DACH on September 15th, 2026. CFP is currently open until June 30th, 2026.\n\nACD Malaysia on September 26th, 2026. CFP is currently open.\n\nACD DMV on October 9th, 2026. CFP is currently open until August 15th, 2026.\n\nACD Armenia in October 2026. CFP is currently open until July 20th, 2026.\n\nACD South Florida on October 14th, 2026. CFP is currently open until August 15th, 2026.\n\nACD Mumbai on October 17th, 2026.\n\nACD Adria on October 22nd, 2026. CFP is currently open until June 15th, 2026.\n\nServerlessDays Milano on October 13th, 2026. CFP is currently open until June 15th, 2026.\nAWS North Community Conf on October 15th, 2026. CFP is currently open until June 30th, 2026.\n\n\n📢 What's new in Serverless \nAmazon Bedrock AgentCore Identity now allows you to bring your own secrets with AWS Secrets Manager.\nAWS Config now supports internal service linked rules.\nAWS Step Functions adds AgentCore-powered agentic reasoning step.\nAmazon Cognito now supports multi-Region replication.\nThe AWS MCP Server now supports cross-account and cross-role access.\nAmazon ECS with AWS Fargate now supports 32vCPU compute configurations.\nSimplified permissions for Amazon S3 Tables and Iceberg materialized views are now available in AWS GovCloud (US) Regions.\nAmazon Bedrock AgentCore Runtime introduces interactive shells for terminal access into agent sessions.\nAWS FinOps Agent is now available in preview.\nAmazon MWAA Serverless now supports Amazon EventBridge notifications.\n\n\n👨‍💻 Word from the author\nThanks for the support and let’s share more about Serverless!!! \nI’m open to feedback, so feel free to DM me on LinkedIn for any queries about AWS or Serverless.\nIf you are looking for any guidance or assistance with learning Serverless, my LinkedIn DMs are open for a chat! \nStay tuned and share with Serverless enthusiasts. Follow The Serverless Terminal on X (formerly Twitter) and Blog.\nThe Serverless Terminal Blog\nUntil next time, happy building on Serverless!\n\n\nThanks for reading The Serverless Terminal! Subscribe for free to receive new posts and support my work."
newsletter: "The Serverless Terminal"
newsletter_handle: "zachjonesnoel"
newsletter_url: "https://usecommune.com/n/zachjonesnoel"
author: "Jones Zachariah Noel N (@joneszachariahnoel)"
published: "2026-06-15T14:30:55.000Z"
canonical_url: "https://usecommune.com/n/zachjonesnoel/a/aws-step-functions-bedrock-agentcore-the-serverless-ai-bluep"
markdown_url: "https://usecommune.com/n/zachjonesnoel/a/aws-step-functions-bedrock-agentcore-the-serverless-ai-bluep.md"
chat_url: "https://usecommune.com/n/zachjonesnoel/a/aws-step-functions-bedrock-agentcore-the-serverless-ai-bluep/chat"
source_url: "https://www.theserverlessterminal.com/p/aws-step-functions-bedrock-agentcore"
body_source: "imported"
likes: 0
replies: 0
body_words: 1128
---

# AWS Step Functions + Bedrock AgentCore: The Serverless AI Blueprint 🚀☁️ #104

In the previous issue, [OpenSearch is finally Serverless 🚀☁️ #103](https://www.theserverlessterminal.com/p/opensearch-is-finally-serverless) looked at how AWS rewamped OpenSearch to make it Serverless.

[![](https://substackcdn.com/image/fetch/$s_!okKQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7ea951-14fb-4ace-a767-7c1dc130343b_1200x628.png)](https://substackcdn.com/image/fetch/$s_!okKQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fdc7ea951-14fb-4ace-a767-7c1dc130343b_1200x628.png)

*Image from Adobe Stock*

Building multi-turn AI agents—where an LLM loops through a series of *think → call tool → observe* cycles—historically required hosting your own runtime or wrapping agent loops inside AWS Lambda. For production workloads, that approach creates severe friction. Architecturally, this integration eliminates the primary friction points of building production AI by replacing custom state-management code with the native AgentCore InvokeHarness API. Instead of wrapping non-deterministic agent loops inside AWS Lambda—which constantly risks hitting the hard 15-minute execution ceiling and racks up expensive pay-for-idle compute costs while waiting synchronously for LLM streaming or external API tools—Step Functions offloads the multi-turn execution entirely to a managed, serverless microVM context provided by AgentCore. Step Functions acts as the deterministic coordinator handling routing, retries, and state data, while AgentCore executes the long-running think-action-observation cycles. This request-response handoff radically optimizes costs by charging only for state transitions and actual Bedrock token usage, giving you true pay-as-you-go scaling with zero infrastructure overhead.

In a real-world enterprise scenario like automated medical insurance claims processing, this integration allows you to coordinate a multi-agent system through a reliable state machine. The workflow begins when a claim is submitted, prompting Step Functions to invoke a specialized Document Extraction Agent that utilizes a cost-efficient model to extract and structure data from messy PDFs into clean JSON. Step Functions then triggers a native Parallel state to spin up two concurrent specialists—a Coverage Verification Agent to check database records for policy compliance and a Fraud Detection Agent to audit historical velocity patterns. If anomalies are flagged, the state machine utilizes per-invocation overrides to dynamically elevate the reasoning model and system prompt for a Review Agent Step, using a native RuntimeSessionId to seamlessly maintain context and memory across the entire execution. Finally, if the risk score surpasses a safe threshold, Step Functions acts as a deterministic guardrail, routing the payload to a Human Approval Step via Amazon SNS to pause the workflow until a claims adjuster can safely audit the trace.

***

#### ⭐ Pick of the month

This month’s Pick is “**Workflows on Serverless**”.

*Harpreet Siddhu* is bringing in [zero-cost approval workflows with AWS Lambda](https://dzone.com/articles/zero-cost-approval-workflow) for an ETL pipeline that requires human-in-the-loop approval for processing 1k documents.

*Rishi*’s blog on [Building Human-in-the-Loop E-Commerce Workflows with AWS Durable Lambda Functions](https://dev.to/aws-builders/building-human-in-the-loop-e-commerce-workflows-with-aws-durable-lambda-functions-3n3m) explains the need for human-in-the-loop patterns and how durable functions fits in.

*Jones Zachariah Noel’s* blog series on [AWS Step Functions](https://blog.theserverlessterminal.com/series/aws-step-functions) covers different aspects of Serverless workflows from bringing use-cases with AI to features of Step Functions such as Jitter Strategy, HTTP invocation and more.

***

#### 🚀 AWSome content to learn from

*Raphael Moura* explains that [the bottleneck was never the load, it was the hot key for space-based architectures on Serverless](https://raphamoura.dev/en/blog/space-based-architecture-serverless/) breaking down the challenge and how to use Serverless services and why it’s an advantage.

*Pubudu Jayawardana* debunks an edge case with ESM triggers for durable functions and [how to trigger Lambda Durable Functions from SQS](https://pubudu.dev/posts/lambda-durable-functions-triggered-by-sqs/) and the approach of EventBridge Pipes.

*Michael Walmsley* takes a look at [Lambda in VPC](https://serverlessdna.com/strands/lambda/vpc) more from an architectural POV, not with a performance-first POV, and how important it is to get the VPC configuration right.

*Anna Pastushko* addresses the age-old question of [whether you should use SQS or EventBridge](https://annpastushko.substack.com/p/should-you-use-sqs-or-eventbridge) with a use-case breakdown of what fits and what doesn’t, with a clear picture of the tradeoffs that have be done which choosing either.

*Ghita*’s blog on [Smart Notification Routing on AWS with SNS, Lambda, and CDK](https://builder.aws.com/content/2zqGUHcig1wXQl4fZEmd0DNPUCf/smart-notification-routing-on-aws-with-sns-lambda-and-cdk) where having a custom notification router for type of alerts, teams all with SNS and Lambda function.

***

#### ⚒️ What's happening with Serverless tools, samples, and projects

*Sébastien Stormacq* has built out [Lambda Runtime Interface Client (RIC) for C](https://github.com/sebsto/demo-s3-archiving/blob/feat/c-contender/contenders/c/sebsto/src/runtime.h).

*Kenta Goto* has published [cdk-local](https://github.com/go-to-k/cdk-local).

*John Ajera* has published [terraform-aws-s3-vectors-rag-demo](https://github.com/jajera/terraform-aws-s3-vectors-rag-demo).

*Jeremy Daly*’s [data-api-client now support Knex compatibility layer for MySQL and PGSQL.](https://github.com/jeremydaly/data-api-client/releases/tag/v2.3.0)

***

#### 🎙️ Podcasts, videos, and live-streams

On the Serverless Office Hours, *Erik Hanchett* takes on [building Agents with TypeScript](https://www.youtube.com/watch?v=5KWIf0mFzy8).

*Jaymitkumar Bhoraniya* explains [AWS API Gateway](https://www.youtube.com/watch?v=yLqVjv2-YK4).

[How to Fix Vercel Serverless Function Error Full Guide 2026](https://www.youtube.com/watch?v=YydHhBsuGq8).

***

#### 🗓️ Mark your calendars

T[ech Harate](https://tally.so/r/xXa4E9) on July 27th, 2026.

AWS Community Days are happening -

- [ACD East Canada](https://awscommunitydayeast.ca/) on June 20th, 2026.
- [ACD Midwest](https://www.midwestcommunityday.com/) on June 24th, 2026.
- [ACD Kenya - Pwani Edition](https://vybes.africa/en/vybes/community-day-kenya-pwani-edition) on July 4th, 2026.
- [ACD Bengaluru](https://acd.awsugblr.in/) on July 11th, 2026.
- [ACD Ottawa](https://awscommunityday.ca/) on August 21st and 22nd, 2026.
- ACD Singapore on August 22nd, 2026. [CFP](https://forms.gle/57XPBe3YhAibW8jy8) is currently open until June 7th, 2026.
- [ACD Poland](https://awscommunity.pl/en/) on September 8th, 2026. [CFP](https://sessionize.com/aws-community-day-poland-2026/) is currently open until July 6th, 2026.
- ACD Sri Lanka on September 11th, 2026.
- [ACD DACH](http://aws-community-day.de) on September 15th, 2026. [CFP](https://sessionize.com/aws-community-day-dach-2026) is currently open until June 30th, 2026.
- ACD Malaysia on September 26th, 2026. [CFP](https://forms.gle/aUwUzuXm9PSXbCot7) is currently open.
- [ACD DMV](http://dmvcommunityday.com) on October 9th, 2026. [CFP](https://sessionize.com/aws-dmv-community-day-2026/) is currently open until August 15th, 2026.
- ACD Armenia in October 2026. [CFP](https://docs.google.com/forms/d/e/1FAIpQLSdbseOPrKQOSgkIpTANgfy8JXYGMR3A6EytlyXThWMtTjPpvQ/viewform) is currently open until July 20th, 2026.
- [ACD South Florida](https://awscommunitydaysoflo.com/) on October 14th, 2026. [CFP](https://cfp.awscommunitydaysoflo.com/aws-cd-soflo-2026/submit/KGGW0U/info/) is currently open until August 15th, 2026.
- [ACD Mumbai](https://acd.awsugmum.in/) on October 17th, 2026.
- [ACD Adria](https://awscommunityadria.com/) on October 22nd, 2026. [CFP](https://sessionize.com/aws-community-day-adria-2026/) is currently open until June 15th, 2026.

[ServerlessDays Milano](https://milan.serverlessdays.io/) on October 13th, 2026. [CFP](https://forms.zohopublic.eu/overnet/form/CFPServerlessDays1310/formperma/PxdFEPzD1aumi1bdUp2dJrzqOhd3uxRpGpM_0A-XX-g) is currently open until June 15th, 2026.

[AWS North Community Conf](https://www.northcommunityconf.com/) on October 15th, 2026. [CFP](https://sessionize.com/aws-north-community-conference-2026/) is currently open until June 30th, 2026.

***

#### 📢 What's new in Serverless

[Amazon Bedrock AgentCore Identity now allows you to bring your own secrets with AWS Secrets Manager](https://aws.amazon.com/about-aws/whats-new/2026/06/agentcore-identity-secrets-manager/).

[AWS Config now supports internal service linked rules](https://aws.amazon.com/about-aws/whats-new/2026/06/aws-config-supports-internal-service-linked-rules/).

[AWS Step Functions adds AgentCore-powered agentic reasoning step](https://aws.amazon.com/about-aws/whats-new/2026/06/aws-step-functions-agentcore/).

[Amazon Cognito now supports multi-Region replication](https://aws.amazon.com/about-aws/whats-new/2026/06/amazon-cognito-multi-region/).

[The AWS MCP Server now supports cross-account and cross-role access](https://aws.amazon.com/about-aws/whats-new/2026/06/aws-mcp-server/).

[Amazon ECS with AWS Fargate now supports 32vCPU compute configurations](https://aws.amazon.com/about-aws/whats-new/2026/06/amazon-ecs-fargate-32vcpu/).

[Simplified permissions for Amazon S3 Tables and Iceberg materialized views are now available in AWS GovCloud (US) Regions](https://aws.amazon.com/about-aws/whats-new/2026/06/gdc-s3tables-simplified-permissions-in-aws-govcloud/).

[Amazon Bedrock AgentCore Runtime introduces interactive shells for terminal access into agent sessions](https://aws.amazon.com/about-aws/whats-new/2026/06/amazon-bedrock-agentcore-runtime/).

[AWS FinOps Agent is now available in preview](https://aws.amazon.com/about-aws/whats-new/2026/06/aws-finops-agent-preview/).

[Amazon MWAA Serverless now supports Amazon EventBridge notifications](https://aws.amazon.com/about-aws/whats-new/2026/06/amazon-mwaa-serverless-eventbridge/).

***

#### 👨‍💻 Word from the author

Thanks for the support and let’s share more about Serverless!!!

I’m open to feedback, so feel free to DM me on [LinkedIn](https://www.linkedin.com/in/jones-zachariah-noel-n) for any queries about AWS or Serverless.

If you are looking for any guidance or assistance with learning Serverless, my [LinkedIn DMs](https://www.linkedin.com/in/jones-zachariah-noel-n) are open for a chat!

Stay tuned and share with Serverless enthusiasts. Follow ***The Serverless Terminal*** on [X (formerly Twitter)](https://twitter.com/theslsterminal) and [Blog](https://blog.theserverlessterminal.com/).

[The Serverless Terminal Blog](https://blog.theserverlessterminal.com/)

Until next time, happy building on Serverless!

Thanks for reading The Serverless Terminal! Subscribe for free to receive new posts and support my work.

***

## Discussion

No replies yet.
