Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Amazon Bedrock SDKs - 10 languages recorded

Amazon Bedrock SDKs by language

Amazon Bedrock ships official SDKs for Python, TypeScript, Go, Java, C#, Ruby, PHP, Rust, Swift and Kotlin.

The Bedrock guide lists the AWS SDKs (C++, CLI, Go, Java, JavaScript, Kotlin, .NET, PHP, PowerShell, Python v4, Python (Boto3), Ruby, Rust, SAP ABAP, Swift) but no package names; per-language Bedrock Runtime package names come from the package registries. AWS docs also list an 'AWS SDK for Python v4' next to Boto3 whose package name was not confirmed today. Install is null where no verbatim command was found on an AWS or registry page.

Verified against each provider's own SDK docs and package registry pages. Status labels are the provider's own; no version numbers are recorded.

Amazon Bedrock's SDK docs: docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.html. Compare every provider in the SDK grid.

Official
the provider's own SDK.
Beta
the provider's own SDK, which it labels beta (Fireworks AI says alpha).
OpenAI SDK
the provider's docs point to the OpenAI SDK for this language.
Community
a library the provider's docs link but do not ship. Not official.
None
the provider's SDK docs list no SDK for this language.
-
Not recorded: no entry in the data for this language.

Python

Official SDK
Package
boto3 (client: boto3.client("bedrock-runtime"))
Install
Install
python -m pip install boto3
Repo
github.com/boto/boto3
Docs
docs.aws.amazon.com/sdk-for-python
Notes
Install line from the boto3 README on PyPI. Bedrock Runtime is a client inside boto3, not a separate package.

From the docs

AWS software development kits (SDKs) are available for many popular programming languages. Each SDK provides an API, code examples, and documentation that make it easier for developers to build applications in their preferred language.
docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.htmlpypi.org/project/boto3
Python SDKs from every provider

TypeScript and JavaScript

Official SDK
Package
@aws-sdk/client-bedrock-runtime
Install
Install
npm install @aws-sdk/client-bedrock-runtime
Repo
github.com/aws/aws-sdk-js-v3
Docs
docs.aws.amazon.com/sdk-for-javascript
Notes
Install line from the package README on npm.

From the docs

AWS software development kits (SDKs) are available for many popular programming languages. Each SDK provides an API, code examples, and documentation that make it easier for developers to build applications in their preferred language.
docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.htmlwww.npmjs.com/package/@aws-sdk/client-bedrock-runtime
TypeScript SDKs from every provider

Go

Official SDK
Package
github.com/aws/aws-sdk-go-v2/service/bedrockruntime
Install
See docs
Repo
github.com/aws/aws-sdk-go-v2
Docs
docs.aws.amazon.com/sdk-for-go

From the docs

AWS software development kits (SDKs) are available for many popular programming languages. Each SDK provides an API, code examples, and documentation that make it easier for developers to build applications in their preferred language.
docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.htmlpkg.go.dev/github.com/aws/aws-sdk-go-v2/service/bedrockruntime
Go SDKs from every provider

Java

Official SDK
Package
software.amazon.awssdk:bedrockruntime
Install
See docs
Repo
github.com/aws/aws-sdk-java-v2
Docs
docs.aws.amazon.com/sdk-for-java

From the docs

AWS software development kits (SDKs) are available for many popular programming languages. Each SDK provides an API, code examples, and documentation that make it easier for developers to build applications in their preferred language.
docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.htmlrepo1.maven.org/maven2/software/amazon/awssdk/bedrockruntime
Java SDKs from every provider

C# and .NET

Official SDK
Package
AWSSDK.BedrockRuntime
Install
See docs
Repo
github.com/aws/aws-sdk-net
Docs
docs.aws.amazon.com/sdk-for-net

From the docs

AWS software development kits (SDKs) are available for many popular programming languages. Each SDK provides an API, code examples, and documentation that make it easier for developers to build applications in their preferred language.
docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.htmlwww.nuget.org/packages/AWSSDK.BedrockRuntime
C# SDKs from every provider

Ruby

Official SDK
Package
aws-sdk-bedrockruntime
Install
See docs
Repo
github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-bedrockruntime
Docs
docs.aws.amazon.com/sdk-for-ruby
Notes
RubyGems summary: 'Official AWS Ruby gem for Amazon Bedrock Runtime. This gem is part of the AWS SDK for Ruby.'

From the docs

AWS software development kits (SDKs) are available for many popular programming languages. Each SDK provides an API, code examples, and documentation that make it easier for developers to build applications in their preferred language.
docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.htmlrubygems.org/gems/aws-sdk-bedrockruntime
Ruby SDKs from every provider

PHP

Official SDK
Package
aws/aws-sdk-php (namespace Aws\BedrockRuntime)
Install
See docs
Repo
github.com/aws/aws-sdk-php
Docs
docs.aws.amazon.com/sdk-for-php
Notes
PHP ships one package for all services; the Bedrock Runtime client lives in the Aws\BedrockRuntime namespace.

From the docs

AWS software development kits (SDKs) are available for many popular programming languages. Each SDK provides an API, code examples, and documentation that make it easier for developers to build applications in their preferred language.
docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.htmlpackagist.org/packages/aws/aws-sdk-php
PHP SDKs from every provider

Rust

Official SDK
Package
aws-sdk-bedrockruntime
Install
See docs
Repo
github.com/awslabs/aws-sdk-rust
Docs
docs.aws.amazon.com/sdk-for-rust

From the docs

AWS software development kits (SDKs) are available for many popular programming languages. Each SDK provides an API, code examples, and documentation that make it easier for developers to build applications in their preferred language.
docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.htmlcrates.io/crates/aws-sdk-bedrockruntime
Rust SDKs from every provider

Swift

Official SDK
Package
AWSBedrockRuntime (product in aws-sdk-swift)
Install
See docs
Repo
github.com/awslabs/aws-sdk-swift
Docs
docs.aws.amazon.com/sdk-for-swift

From the docs

AWS software development kits (SDKs) are available for many popular programming languages. Each SDK provides an API, code examples, and documentation that make it easier for developers to build applications in their preferred language.
docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.htmlgithub.com/awslabs/aws-sdk-swift/blob/main/Package.swift
Swift SDKs from every provider

Kotlin

Official SDK
Package
aws.sdk.kotlin:bedrockruntime
Install
See docs
Repo
github.com/awslabs/aws-sdk-kotlin
Docs
docs.aws.amazon.com/sdk-for-kotlin

From the docs

AWS software development kits (SDKs) are available for many popular programming languages. Each SDK provides an API, code examples, and documentation that make it easier for developers to build applications in their preferred language.
docs.aws.amazon.com/bedrock/latest/userguide/sdk-general-information-section.htmlrepo1.maven.org/maven2/aws/sdk/kotlin/bedrockruntime
Kotlin SDKs from every provider

More on Amazon Bedrock

Newsletter

Know when a provider ships a new SDK

One email per week. New models, new SDKs and the API changes that break your client, and what they mean for your stack.