View a markdown version of this page

AI framework connectors for DynamoDB - Amazon DynamoDB

AI framework connectors for DynamoDB

AI agents need durable storage for everything they must remember: conversation state that survives a restart, chat history that spans sessions, and long-term memories they can recall in later conversations. Open source connectors, maintained by AWS and by the framework communities, integrate DynamoDB with popular AI agent frameworks so that state lives in a serverless database with single-digit millisecond latency, in your own AWS account.

The following table summarizes the available connectors and what each one stores.

Framework

Package

What it stores in DynamoDB

Languages

Strands Agents

strands-dynamodb-storage

Session state, long-term memories, transcripts, and oversized tool results, through the SDK's unified storage contract

Python, TypeScript

LangChain

langchain-community, langchain-aws

Chat message history, and documents with embeddings for vector similarity search

Python, JavaScript

LangGraph

langgraph-checkpoint-aws

Agent checkpoints (short-term conversation state) and long-term, cross-thread memories

Python