Skip to content

feat(sfn): AWS Step Functions + Amazon Bedrock AgentCore Harness optimized integration (CDK)#3166

Open
NithinChandranR-AWS wants to merge 1 commit into
aws-samples:mainfrom
NithinChandranR-AWS:NithinChandranR-AWS-feature-sfn-bedrockagentcore-harness-cdk
Open

feat(sfn): AWS Step Functions + Amazon Bedrock AgentCore Harness optimized integration (CDK)#3166
NithinChandranR-AWS wants to merge 1 commit into
aws-samples:mainfrom
NithinChandranR-AWS:NithinChandranR-AWS-feature-sfn-bedrockagentcore-harness-cdk

Conversation

@NithinChandranR-AWS

Copy link
Copy Markdown
Contributor

Description

First CDK pattern using the AWS Step Functions optimized integration for Amazon Bedrock AgentCore Harness. Zero AWS Lambda — returns Converse-shaped responses with aggregated token metrics and CloudWatch reasoning traces.

Architecture

User Input → AWS Step Functions → Amazon Bedrock AgentCore Harness (optimized) → Formatted Output

Services

  • AWS Step Functions (Standard)
  • Amazon Bedrock AgentCore (Harness)

Testing performed

  • Deployed to us-east-1, execution SUCCEEDED
  • Response: 5,202 tokens, 20.7s latency, end_turn stop reason
  • Error handling: throttle retry with exponential backoff, ResourceNotFoundException catch

@bfreiberg bfreiberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great already, minor changes required

@@ -0,0 +1,81 @@
{
"title": "AWS Step Functions with Amazon Bedrock AgentCore Harness Optimized Integration (CDK)",
"description": "Invoke Amazon Bedrock AgentCore harness directly from AWS Step Functions using the optimized integration — zero Lambda, Converse-shaped responses, aggregated token metrics, and CloudWatch reasoning traces.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Description needs to be 175 characters or less

```

----
Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copyright 2026 Amazon.com, Inc. or its affiliates. All Rights Reserved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants