Skip to content

feat: add AWS Bedrock provider#6285

Open
alpar wants to merge 1 commit intokeephq:mainfrom
alpar:feat/bedrock-provider-5190
Open

feat: add AWS Bedrock provider#6285
alpar wants to merge 1 commit intokeephq:mainfrom
alpar:feat/bedrock-provider-5190

Conversation

@alpar
Copy link
Copy Markdown
Contributor

@alpar alpar commented Apr 23, 2026

Summary

Adds an AWS Bedrock provider so Keep workflows can query foundational models through AWS.

Resolves #5190

What it does

  • Queries Bedrock models via bedrock-runtime.InvokeModel
  • Supports Claude, Llama, Mistral, Cohere Command, and Titan model families
  • Auth via explicit AWS credentials or IAM role (leave keys empty on EC2/ECS/EKS)
  • Structured output support (same structured_output_format interface as OpenAI provider)

Files

  • keep/providers/bedrock_provider/ — provider implementation (183 lines)
  • tests/providers/bedrock_provider/ — unit tests with mocked boto3
  • docs/providers/documentation/bedrock-provider.mdx — usage docs
  • keep-ui/public/icons/bedrock-icon.png — provider icon

Notes

Previous attempts (#5210, #6122) were closed. This is a leaner take — the provider follows the same pattern as the existing OpenAI provider and keeps the code straightforward.

Adds a Bedrock provider that lets Keep workflows query AWS foundational
models (Claude, Llama, Mistral, Cohere, Titan) through the
bedrock-runtime API.

Auth supports both explicit AWS credentials and IAM role fallback
(leave access_key/secret_access_key empty for EC2/ECS/EKS).

Resolves keephq#5190
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. Documentation Improvements or additions to documentation Feature A new feature Provider Providers related issues labels Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements or additions to documentation Feature A new feature Provider Providers related issues size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[➕ Feature]: AWS Bedrock Provider

1 participant