AI Cloud Architect

[Launched] Generally Available: langchain-azure-cosmosdb python package for Azure Cosmos DB

MicrosoftAnnouncementAzure updates

You can now build production-ready AI and agent applications faster using the new LangChain and LangGraph integration for Azure Cosmos DB. This Python package enables you to directly use Cosmos DB for vector and hybrid search, semantic caching, chat history storage, checkpointing, and long-term memory, all within familiar LangChain and LangGraph workflows. You can store and retrieve embeddings, combine full-text and vector search for more relevant results, cache LLM responses to reduce cost…

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Cosmos DB now works as a backend for LangChain and LangGraph through a new Python package, covering vector and hybrid search, LLM response caching, chat history, checkpointing and long-term memory.

Who it is for

Python teams building RAG or agent apps on Azure Cosmos DB who want retrieval, memory and agent state in one database.

Key points

  • Generally available as the langchain-azure-cosmosdb Python package
  • Supports vector search, full-text plus vector hybrid search, and semantic caching of LLM responses

The same at other vendors

Same approach

GoogleBlog post

Introducing the MongoDB Integration for Google's ADK

AI:Both are database-vendor integration packages that let an agent framework store sessions, long-term memory and search data in the database (MongoDB for ADK, Cosmos DB for LangChain).

Timeline

  1. Customer storyThe data behind the design: How Pantone built agentic AI with an AI-ready database · Microsoft · Customer story
  2. This post[Launched] Generally Available: langchain-azure-cosmosdb python package for Azure Cosmos DB

Go deeper