Skip to content

[codex] Add Amazon Bedrock LLM provider support#538

Open
littlebullGit wants to merge 1 commit into
THU-MAIC:mainfrom
littlebullGit:feat/bedrock-llm-provider
Open

[codex] Add Amazon Bedrock LLM provider support#538
littlebullGit wants to merge 1 commit into
THU-MAIC:mainfrom
littlebullGit:feat/bedrock-llm-provider

Conversation

@littlebullGit
Copy link
Copy Markdown

Summary

  • Adds Amazon Bedrock as a text LLM provider for OpenMAIC.
  • Supports server-side Bedrock configuration through env vars and YAML provider config.
  • Adds Bedrock model metadata, localized provider labels, README/.env documentation, and focused tests.

Scope

This is intentionally limited to text generation. Bedrock speech/Nova Sonic and AWS Polly TTS are separate audio-provider work and are not included here.

Closes #536

Validation

  • pnpm check
  • pnpm test tests/ai/bedrock-provider.test.ts tests/server/provider-config.test.ts
  • Live Bedrock smoke with us.anthropic.claude-opus-4-7 returned bedrock-ok
  • Previously ran pnpm test, pnpm build, npx tsc --noEmit, pnpm run check:i18n-keys, and pnpm test:e2e

OpenMAIC can now route text generation to Amazon Bedrock using the Vercel AI SDK Bedrock provider. The change adds provider registry metadata, server env/YAML activation, model resolution, localized provider labels, docs, dependency lock updates, and focused provider-config tests.

The scope is intentionally text LLM support. Bedrock speech and AWS Polly TTS should remain separate follow-up work because they use a different audio provider path and would widen the upstream review surface.

Constraint: First upstream contribution targets Bedrock text generation for Claude Opus/Sonnet access

Rejected: Implement Polly or Nova Sonic TTS in this PR | audio generation is a separate OpenMAIC provider abstraction

Confidence: high

Scope-risk: moderate

Directive: Keep Bedrock media and TTS integrations separate unless the provider abstractions are redesigned

Tested: pnpm check; pnpm test tests/ai/bedrock-provider.test.ts tests/server/provider-config.test.ts; live Bedrock smoke with us.anthropic.claude-opus-4-7 returned bedrock-ok

Tested: previously ran pnpm test, pnpm build, npx tsc --noEmit, pnpm run check:i18n-keys, and pnpm test:e2e

Not-tested: Upstream GitHub Actions before PR creation
@littlebullGit littlebullGit marked this pull request as ready for review May 9, 2026 03:37
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.

[Feature]: Add Amazon Bedrock support for LLM text generation

1 participant