shannon icon indicating copy to clipboard operation
shannon copied to clipboard

[FEATURE]: Add Bedrock as inference provider

Open mehmetozturk4705 opened this issue 9 months ago • 3 comments

Is your feature request related to a problem? Please describe.

Currently there is no way to directly integrate with Bedrock provided models. AWS Bedrock is a strong provider that has a robust compliance with enterprise environments; but as a limitation, Shannon cannot integrate with AWS Bedrock.

Describe the solution you'd like

Addition of Bedrock support with minimum viable authorization support as:

  • Authorize with bare AWS credentials
  • Authorize with AWS Profiles and SSO

Also as inference:

  • To be able to use Claude models.

Describe alternatives you've considered

  • OpenRouter -> does not have straightforward AWS infra setup.
  • Bedrock-mantle -> Still needs an IT setup on enterprise to authorize. The supported models are less promising yet.

Additional context

No response

mehmetozturk4705 avatar Feb 20 '26 22:02 mehmetozturk4705

We had a preliminary PR for this, but we realized that Bedrock uses different model names. That means we need to refactor and maintain two sets of model names: one for Bedrock and one for standard Anthropic. This is a more involved project than simply exposing Bedrock API support.

Also, we currently use only the Sonnet model, but we have already been doing internal work to use Haiku and Opus for tasks that are better suited to them. Because of that, it is not as simple as exposing a single model field as a parameter, but to maintain Bedrock specific mappings.

We are going to put this on the back burner for a bit until we have the bandwidth to pick it up. Thanks for your understanding.

keygraphVarun avatar Feb 24 '26 02:02 keygraphVarun

Good news - we have a preliminary PR on this and will be merging to main after testing. https://github.com/KeygraphHQ/shannon/pull/177

keygraphVarun avatar Mar 03 '26 03:03 keygraphVarun

Lovely! @keygraphVarun Let me know If I can help out anything on it.

mehmetozturk4705 avatar Mar 03 '26 17:03 mehmetozturk4705