This page covers all LangChain integrations with the Amazon Web Services (AWS) platform.Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Chat models
Bedrock chat
Amazon Bedrock is a fully managed service that offers a choice of high-performing foundation models (FMs) from leading AI companies likeSee a usage example.AI21 Labs,Anthropic,Cohere,Meta,Stability AI, andAmazonvia a single API, along with a broad set of capabilities you need to build generative AI applications with security, privacy, and responsible AI. UsingAmazon Bedrock, you can easily experiment with and evaluate top FMs for your use case, privately customize them with your data using techniques such as fine-tuning andRetrieval Augmented Generation(RAG), and build agents that execute tasks using your enterprise systems and data sources. SinceAmazon Bedrockis serverless, you don’t have to manage any infrastructure, and you can securely integrate and deploy generative AI capabilities into your applications using the AWS services you are already familiar with.
Bedrock converse
AWS Bedrock maintains a Converse API that provides a unified conversational interface for Bedrock models. This API does not yet support custom models. You can see a list of all models that are supported here.We recommend the Converse API for users who do not need to use custom models. It can be accessed using ChatBedrockConverse.
LLMs
Bedrock
See a usage example.SageMaker endpoint
Amazon SageMaker is a system that can build, train, and deploy machine learning (ML) models with fully managed infrastructure, tools, and workflows.We use
SageMaker to host our model and expose it as the SageMaker Endpoint.
See a usage example.
Embedding models
Bedrock
See a usage example.Document loaders
Amazon DocumentDB vector search
Amazon DocumentDB (with MongoDB Compatibility) makes it easy to set up, operate, and scale MongoDB-compatible databases in the cloud. With Amazon DocumentDB, you can run the same application code and use the same drivers and tools that you use with MongoDB. Vector search for Amazon DocumentDB combines the flexibility and rich querying capability of a JSON-based document database with the power of vector search.
Installation and setup
See detail configuration instructions. We need to install thepymongo python package.
Deploy DocumentDB on AWS
Amazon DocumentDB (with MongoDB Compatibility) is a fast, reliable, and fully managed database service. Amazon DocumentDB makes it easy to set up, operate, and scale MongoDB-compatible databases in the cloud. AWS offers services for computing, databases, storage, analytics, and other functionality. For an overview of all AWS services, see Cloud Computing with Amazon Web Services. See a usage example.Amazon MemoryDB
Amazon MemoryDB is a durable, in-memory database service that delivers ultra-fast performance. MemoryDB is compatible with Redis OSS, a popular open source data store, enabling you to quickly build applications using the same flexible and friendly Redis OSS APIs, and commands that they already use today. InMemoryVectorStore class provides a vectorstore to connect with Amazon MemoryDB.Valkey
Valkey is an open source, high-performance key/value datastore that supports workloads such as caching, message queues, and can act as a primary database. Use ValkeyVectorStore to connect with Amazon ElastiCache for Valkey or Amazon MemoryDB for Valkey.Retrievers
Amazon Bedrock (Knowledge bases)
Knowledge bases for Amazon Bedrock is anWe need to install theAmazon Web Services(AWS) offering which lets you quickly build RAG applications by using your private data to customize foundation model response.
langchain-aws library.
Tools
AWS lambda
We need to installAmazon AWS Lambdais a serverless computing service provided byAmazon Web Services(AWS). It helps developers to build and run applications and services without provisioning or managing servers. This serverless architecture enables you to focus on writing and deploying code, while AWS automatically takes care of scaling, patching, and managing the infrastructure required to run your applications.
boto3 python library.
Amazon Bedrock AgentCore Browser
Amazon Bedrock AgentCore Browser enables agents to interact with web pages through a managed Chrome browser for navigation, content extraction, and web automation.
Amazon Bedrock AgentCore Code Interpreter
Amazon Bedrock AgentCore Code Interpreter enables agents to execute Python, JavaScript, and TypeScript code in secure, managed sandbox environments for calculations, data analysis, and visualizations.
Sandboxes
AgentCoreSandbox
Amazon Bedrock AgentCore Code Interpreter sandbox backend for deepagents.
Graphs
Amazon neptune
Amazon Neptune is a high-performance graph analytics and serverless database for superior scalability and availability.For the Cypher and SPARQL integrations below, we need to install the
langchain-aws library.
Amazon neptune with cypher
See a usage example.Amazon neptune with SPARQL
Memory
Amazon Bedrock AgentCore Memory
Amazon Bedrock AgentCore Memory provides managed persistence for LangGraph agents, enabling conversation history and state management across sessions with automatic scaling and high availability.
- Managed infrastructure with no database setup required
- Automatic scaling and high availability
- Multi-agent support via
actor_idisolation - Encryption at rest and in transit
Amazon Bedrock AgentCore Memory Store
Amazon Bedrock AgentCore Memory Store provides long-term memory with semantic search capabilities for LangGraph agents, enabling storage and retrieval of user preferences, facts, and extracted memories across sessions.
Chains
Amazon Comprehend moderation chain
Amazon Comprehend is a natural-language processing (NLP) service that uses machine learning to uncover valuable insights and connections in text.We need to install the
boto3 and nltk libraries.
Runtime
Amazon Bedrock AgentCore Runtime
Amazon Bedrock AgentCore Runtime provides managed, serverless execution for LangGraph agents with built-in observability, automatic scaling, and seamless integration with other AgentCore services.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

