Skip to content

feat(aws): add Bedrock AgentCore Code Interpreter connector#6741

Merged
tshepomaredi merged 17 commits into
mainfrom
tshepo-aws-bedrock-codeinterpreter
Apr 22, 2026
Merged

feat(aws): add Bedrock AgentCore Code Interpreter connector#6741
tshepomaredi merged 17 commits into
mainfrom
tshepo-aws-bedrock-codeinterpreter

Conversation

@tshepomaredi
Copy link
Copy Markdown
Contributor

@tshepomaredi tshepomaredi commented Mar 20, 2026

Description

Implement custom connecter for AWS Bedrock AgentCore Code Interpreter

  • Execute Python code in AWS Bedrock AgentCore sandbox
  • 3-step API: start session → invoke (async streaming) → stop session
  • Session timeout configurable (default 300s)
  • Files returned as Camunda Documents with configurable limits (maxFiles, maxTotalBytes)
  • Template excluded from publishing via ignore-templates.json (pending 8.10)
  • 6/6 unit tests passing

Related issues

closes #6855

Checklist

  • Backport labels are added if these code changes should be backported. No backport label is added to the latest
    release, as this branch will be rebased onto main before the next release. Example backport labels:
    • backport stable/8.8: for changes that should be included in the next 8.8.x release.
    • or backport release-8.8.7: for changes that should be included in the specific release 8.8.7, and this
      release has already been created. The release branch will be merged back into stable/8.8 later, so the change
      will be included in future 8.8.x releases as well.
  • [ x] Tests/Integration tests for the changes have been added if applicable.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 20, 2026

CLA assistant check
All committers have signed the CLA.

@tshepomaredi tshepomaredi force-pushed the tshepo-aws-bedrock-codeinterpreter branch 2 times, most recently from 7ce0db4 to 11dda4f Compare March 24, 2026 08:51
@tshepomaredi tshepomaredi marked this pull request as ready for review March 24, 2026 09:14
@tshepomaredi tshepomaredi requested a review from a team as a code owner March 24, 2026 09:14
@maff maff requested review from maff and removed request for mathias-vandaele March 24, 2026 09:20
@maff maff removed the request for review from mathias-vandaele March 24, 2026 14:42
@tshepomaredi tshepomaredi force-pushed the tshepo-aws-bedrock-codeinterpreter branch 2 times, most recently from ee9858e to 3f95c4d Compare March 26, 2026 13:18
@YanaSegal
Copy link
Copy Markdown

connector icon please use AWS Bedrock official SVG
Arch_Amazon-Bedrock_32

@tshepomaredi
Copy link
Copy Markdown
Contributor Author

connector icon please use AWS Bedrock official SVG Arch_Amazon-Bedrock_32

Done

Copy link
Copy Markdown
Contributor

@nikonovd nikonovd left a comment

Choose a reason for hiding this comment

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

Generally looks good to me.

We should definitely sync with @gbetances089 regarding E2E test setup.

I added some minor comments. Please take a look ⛱️

Copy link
Copy Markdown
Contributor

@nikonovd nikonovd left a comment

Choose a reason for hiding this comment

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

Looks good to me so far, good work! 🚀

Please check the two open questions of mine regarding UX, that we could potentially improve here, otherwise it's looking good from my side

@ztefanie
Copy link
Copy Markdown
Collaborator

ztefanie commented Apr 2, 2026

@maff @nikonovd Is this connector owned by agentic-ai team? We might need to adjust the codeowners to reflect this.

@maff
Copy link
Copy Markdown
Member

maff commented Apr 2, 2026

@ztefanie I already adapted it in #6780, but right now I think we have a general issue with code owners as as @camunda/connectors is also included in the agentic AI code paths and you are spammed with our PRs. Not sure when this changed 🤔 In the PR linked above, I followed existing patterns to also include it.

…e retrieval

Drive the real InvokeCodeInterpreterResponseHandler with synthesized events
to cover stdout/stderr/exitCode accumulation, file listing + diff, maxFiles
and maxTotalFileSize limits, read-failure recovery, and resource content
extraction.

Replaces a handful of direct helper tests; getBlockSize and convertToDocuments
are now private again.
@sbuettner sbuettner added the qa:required Will trigger the QA workflow label Apr 21, 2026
@github-actions github-actions Bot temporarily deployed to connectors-tshepo-aws-bedr-c8sm April 21, 2026 12:14 Destroyed
@github-actions github-actions Bot temporarily deployed to connectors-tshepo-aws-bedr-c8sm April 21, 2026 12:20 Destroyed
@tshepomaredi tshepomaredi added this pull request to the merge queue Apr 22, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Apr 22, 2026
@github-actions github-actions Bot temporarily deployed to connectors-tshepo-aws-bedr-c8sm April 22, 2026 10:08 Destroyed
@github-actions github-actions Bot temporarily deployed to connectors-tshepo-aws-bedr-c8sm April 22, 2026 10:10 Destroyed
@github-actions github-actions Bot temporarily deployed to connectors-tshepo-aws-bedr-c8sm April 22, 2026 10:11 Destroyed
@tshepomaredi tshepomaredi added this pull request to the merge queue Apr 22, 2026
Merged via the queue into main with commit 605670d Apr 22, 2026
27 of 29 checks passed
@tshepomaredi tshepomaredi deleted the tshepo-aws-bedrock-codeinterpreter branch April 22, 2026 10:46
@github-actions
Copy link
Copy Markdown
Contributor

🎉 This pull request has been included in release 8.10.0-alpha1!

Thank you for your contribution! 🚀

@github-actions github-actions Bot added the version:8.10.0-alpha1 Released in version 8.10.0-alpha1 label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agentic-ai deploy-preview qa:required Will trigger the QA workflow version:8.10.0-alpha1 Released in version 8.10.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AWS AgentCore Code Interpreter