aws_sdk_bedrock_runtime
aws_sdk_bedrock_runtime client
What it is and what it does
aws_sdk_bedrock_runtime is an official AWS SDK client for Python that wraps the Amazon Bedrock runtime API. It lets you invoke foundation models hosted on Bedrock—such as Claude, Llama, or other providers—directly from Python code without managing the underlying model infrastructure. The package is built on the Smithy framework (smithy-core, smithy-aws-core, smithy-http) and handles request serialization, authentication, and response parsing automatically.
The package is currently in pre-alpha (version 0.9.0) and under active development, meaning the API may change significantly before reaching 1.0.0. It requires Python 3.12 or later and has low installation friction as a pure Python wheel. It is suitable for prototyping, integration into data pipelines, and production use once the API stabilizes, but you should expect to pin versions and review release notes carefully during the pre-1.0 phase.
Use it for:
- Build Python applications that invoke AWS foundation models (Claude, Llama, etc.) for text generation, summarization, or analysis.
- Integrate Bedrock model inference into data processing pipelines or batch jobs without managing model infrastructure.
- Prototype and test generative AI features in development before deploying to production.
- Create chatbots or conversational agents that delegate inference to managed Bedrock models.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client for interacting with Amazon Bedrock's runtime API to invoke foundation models and manage model interactions.
Yes, if you need to invoke Bedrock models from Python and are comfortable with a pre-1.0 API. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Pin the version to avoid unexpected breaking changes, and review the migration guide when upgrading toward 1.0.0.
Install
aws-sdk-bedrock-runtime on PyPI
pip
pip install aws-sdk-bedrock-runtimeuv
uv add aws-sdk-bedrock-runtimepoetry
poetry add aws-sdk-bedrock-runtimeInstalling aws_sdk_bedrock_runtime
Before you install
Low friction installation with pure Python wheels. Active development status means the API may change before version 1.0.0, so pin versions carefully if stability is critical.
License in practice
Apache-2.0 permissive license allows commercial use, modification, and distribution with minimal restrictions—suitable for most production scenarios.
Quickstart
pip install aws-sdk-bedrock-runtime
from aws_sdk_bedrock_runtime import BedrockRuntime
client = BedrockRuntime()
response = client.invoke_model(modelId='model-id', body=b'request')
Requires Python 3.12 or later; AWS credentials must be configured (via environment variables, config file, or IAM role).
Verify before relying
- Whether the package is feature-complete for all Bedrock runtime operations or if certain model types or invocation modes are not yet supported.
- Specific breaking changes expected between 0.9.0 and 1.0.0 and their migration path.
- Performance characteristics and rate-limiting behavior when invoking multiple models concurrently.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — smithy-aws-core, smithy-core, smithy-http |
| Maintenance | actively maintained — 1 days since the last release |
| First released | |
| Downloads | 227,870/month — #9,164 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_sdk_bedrock_runtime-0.9.0-py3-none-any.whl
Keywords: aws_sdk_bedrock_runtime, smithy
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
agent-framework-bedrockConnects Microsoft Agent Framework applications…
permissive · top 15,000 on PyPI
bedrock-agentcore-starter-toolkitProvides a Python CLI and SDK for scaffolding,…
permissive · top 5,000 on PyPI
smithy-aws-coreProvides core runtime components and protocol…
permissive · top 15,000 on PyPI
openinference-instrumentation-bedrockAutomatically instruments AWS Bedrock API calls…
permissive · top 15,000 on PyPI
awslabs.bedrock-kb-retrieval-mcp-serverAn MCP server that connects AI tools to Amazon…
permissive · top 15,000 on PyPI
llama-index-embeddings-bedrockProvides Amazon Bedrock embedding models…
permissive · top 5,000 on PyPI
bedrock-agentcoreDeploy AI agents to AWS Bedrock AgentCore with…
permissive · top 5,000 on PyPI
aws_sdk_transcribe_streamingProvides a Python client for AWS Transcribe…
permissive · top 15,000 on PyPI
smithy-coreProvides core Python interfaces and components…
permissive · top 15,000 on PyPI
smithy-jsonProvides JSON serialization and deserialization…
permissive · top 15,000 on PyPI