skillfed

llama-index-llms-bedrock-converse

llama-index llms bedrock converse integration

llama-index-llms-bedrock-converse v0.14.18 247.1K downloads/30d#8,700 on PyPI
Permissive license MIT Active released

What it is and what it does

This package bridges LlamaIndex and AWS Bedrock's Converse API, allowing you to build LLM applications that call foundation models (Claude, Command, Mistral) through Bedrock instead of directly. It wraps boto3 calls and integrates with LlamaIndex's LLM interface, so you can use Bedrock models anywhere LlamaIndex expects an LLM—in RAG pipelines, agents, or standalone completions.

The package supports the full Bedrock Converse feature set: streaming completions and chat, function calling with tool integration, prompt caching to reduce costs on repeated context, and async operations. You authenticate via AWS profiles, access keys, or session tokens, and can optionally route requests through Application Inference Profiles for provisioned capacity.

Use it for:

  • Build RAG pipelines using Claude or other Bedrock models within LlamaIndex without vendor lock-in to direct API calls.
  • Stream LLM responses in real-time chat applications by calling Bedrock's streaming endpoints through LlamaIndex.
  • Enable agents to call external functions via Bedrock's native function-calling support integrated with LlamaIndex tools.
  • Reduce inference costs on repeated queries by leveraging Bedrock's prompt caching with strategic cache points.
  • Use provisioned Bedrock capacity via Application Inference Profiles for predictable, scaled workloads.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Integrates AWS Bedrock's Converse API with LlamaIndex, enabling LLM applications to call foundation models like Claude through Bedrock with support for streaming, function calling, and prompt caching.

Yes. This is a straightforward, actively maintained integration with low install friction and no known vulnerabilities. Install it if you're already using LlamaIndex and want to run Bedrock models; skip it if you're calling Bedrock directly or using a different LLM framework.

Install

llama-index-llms-bedrock-converse on PyPI

pip

pip install llama-index-llms-bedrock-converse

uv

uv add llama-index-llms-bedrock-converse

poetry

poetry add llama-index-llms-bedrock-converse

Installing llama-index-llms-bedrock-converse

Before you install

Installs with low friction—only two runtime dependencies (boto3 and llama-index-core). Actively maintained with a recent release.

License in practice

MIT license permits commercial and private use with minimal restrictions.

Quickstart

from llama_index.llms.bedrock_converse import BedrockConverse

llm = BedrockConverse(
    model="anthropic.claude-3-haiku-20240307-v1:0",
    profile_name="your_aws_profile"
)
resp = llm.complete("Paul Graham is ")
print(resp)

Requires AWS credentials (profile, access keys, or session token) and Bedrock model access configured in your AWS account.

Verify before relying

  • Whether all Bedrock foundation models are supported or only specific ones.
  • Performance characteristics and latency when streaming large responses.
  • Cost implications of using Bedrock vs. direct API calls.

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — boto3, llama-index-core
Maintenance actively maintained — 10 days since the last release
First released
Downloads 247,061/month — #8,700 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: llama_index_llms_bedrock_converse-0.14.18-py3-none-any.whl

Tags

bedrock llm integrationaws bedrock conversellamaindex bedrockclaude via bedrockaws foundation modelsbedrock streaming chatfunction calling bedrock
bedrockllm-integrationaws

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

llama-index-embeddings-bedrock

Provides Amazon Bedrock embedding models…

permissive · top 5,000 on PyPI

llama-index-llms-bedrock

Integrates AWS Bedrock LLMs into LlamaIndex,…

permissive · top 15,000 on PyPI

llama-index-llms-openai

Integrates OpenAI's language models into…

permissive · top 1,000 on PyPI

llama-index-llms-litellm

Integrates LiteLLM with LlamaIndex to provide…

permissive · top 15,000 on PyPI

llama-index-llms-anthropic

Integrates Anthropic's Claude language models…

permissive · top 15,000 on PyPI

llama-index-llms-azure-openai

Integrates Azure OpenAI language models into…

permissive · top 15,000 on PyPI

llama-index-llms-ollama

Integrates local Ollama language models with…

permissive · top 15,000 on PyPI

openinference-instrumentation-bedrock

Automatically instruments AWS Bedrock API calls…

permissive · top 15,000 on PyPI

llama-index-llms-google-genai

Integrates Google's Gemini models into…

permissive · top 15,000 on PyPI

llama-index-llms-langchain

Bridges LlamaIndex with LangChain LLM…

permissive · top 15,000 on PyPI

Further reading