Skip to content

[Platform][BedrockMantle] Add OpenAI-compatible Bedrock Mantle platform#2263

Open
aszenz wants to merge 1 commit into
symfony:mainfrom
aszenz:main
Open

[Platform][BedrockMantle] Add OpenAI-compatible Bedrock Mantle platform#2263
aszenz wants to merge 1 commit into
symfony:mainfrom
aszenz:main

Conversation

@aszenz

@aszenz aszenz commented Jul 1, 2026

Copy link
Copy Markdown
Contributor
Q A
Bug fix? No
New feature? yes
Docs? yes
Issues Fix #2256
License MIT

Add a dedicated symfony/ai-bedrock-mantle-platform bridge for the AWS Bedrock Mantle endpoint, which exposes OpenAI-compatible APIs (Chat Completions and Responses) for models served through Bedrock. It shares no code with the SigV4/SDK-based Bedrock bridge (Nova/Claude/Llama), so it lives in its own package and reuses the Generic and OpenResponses bridges over the plain OpenAI wire protocol; the base URL is derived from the AWS region.

  • Factory: Chat Completions route (Generic completions client and converter)
  • Responses\Factory: Responses API route (OpenResponses wire protocol)
  • Two authentication modes, with the API key taking precedence: a Bedrock API key sent as a bearer token, and AWS SigV4 signing via the standard AWS credential chain when no key is provided
  • Dedicated ModelCatalogs registering the verified models for each route
  • Runnable examples under examples/bedrock/ for both auth modes

Add a dedicated symfony/ai-bedrock-mantle-platform bridge for the AWS Bedrock
Mantle endpoint, which exposes OpenAI-compatible APIs (Chat Completions and
Responses) for models served through Bedrock. It shares no code with the
SigV4/SDK-based Bedrock bridge (Nova/Claude/Llama), so it lives in its own
package and reuses the Generic and OpenResponses bridges over the plain OpenAI
wire protocol; the base URL is derived from the AWS region.

 * Factory: Chat Completions route (Generic completions client and converter)
 * Responses\Factory: Responses API route (OpenResponses wire protocol)
 * Two authentication modes, with the API key taking precedence: a Bedrock API
   key sent as a bearer token, and AWS SigV4 signing via the standard AWS
   credential chain when no key is provided
 * Dedicated ModelCatalogs registering the verified models for each route
 * Runnable examples under examples/bedrock/ for both auth modes

Fix symfony#2256
@carsonbot carsonbot added Status: Needs Review Feature New feature Platform Issues & PRs about the AI Platform component labels Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature Platform Issues & PRs about the AI Platform component Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Platform] Support AWS Bedrock Mantle Endpoints

2 participants