Azure Cosmos DB Blog
The latest news, updates and technical insights from the Azure Cosmos DB team
Featured posts

Announced at MS Build 2026: Azure Cosmos DB MCP Toolkit, Semantic Reranking, Global Secondary Indexes, and more!
Microsoft Build 2026 has officially started and we’re excited to announce new capabilities for Azure Cosmos DB! We’ve launched new features to help developers b...
Latest posts
Announcing the Public Preview of Integrated Embeddings in Azure Cosmos DB: Build AI Apps With Embeddings That Stay in Sync
AI applications built on Azure Cosmos DB depend on embeddings for grounded results. Keeping them in sync with your data is the hard part: it means building and operating a separate data pipeline to track changes, call an embedding model, and write the results back to Azure Cosmos DB. In practice, that pipeline also has to handle failures and retries, throttling, scaling, and monitoring as your data and traffic grow. Integrated Embeddings in Azure Cosmos DB, now in Public Preview, removes that heavy lifting. Azure Cosmos DB automatically generates and maintains the embeddings for you as items are written and upda...
Introducing OmniVec: An Open-Source Embedding Platform for AI Apps on Azure
Today we are open-sourcing OmniVec, a platform for building and operating the embedding pipelines that keep the vector representation of your operational data in sync as it changes. You register data sources, embedding model(s), vector stores (destination), and OmniVec does the rest: initial backfill, change tracking, model invocation to geenrate, and writing them back to your vector store. We are shipping this with support for Azure Cosmos DB, PostgreSQL, SQL Server (source and destination), and Azure Blob Storage (destination). You deploy OmniVec in your own Azure subscription, and use the web UI, CLI, or the ...
Azure Cosmos DB All Versions and Deletes Change Feed Mode is Now Generally Available
Modern applications don't just write data and move on. They react to it. A new order triggers an inventory update. A profile change syncs to a search index. A deleted record kicks off a compliance workflow. Azure Cosmos DB's change feed makes this possible by giving you a real-time stream of every change happening in your container, and it's one of the most powerful capabilities of the platform. Today, we're excited to announce that all versions and deletes change feed mode is generally available in Azure Cosmos DB for NoSQL! This mode gives you the full picture of what's changing in your data, including deletes ...
Change Partition Keys in Azure Cosmos DB is Now Generally Available
We're excited to announce the general availability of Change Partition Key in Azure Cosmos DB for NoSQL, now with online copy support. You can repartition containers directly in the Azure portal with near-zero downtime and without stopping writes to the source container. Why Partition Key Choice Matters In Azure Cosmos DB, the partition key is one of the most important design choices you make. It affects how data is distributed across physical partitions, how queries are routed, and how well your application performs at scale. But applications change over time. A partition key that worked well at launch can ...
Public Preview: AI-powered Azure Cosmos DB Migration Assistant for RDBMS to NoSQL
Today, we are excited to announce the public preview of the Azure Cosmos DB Migration Assistant for RDBMS to NoSQL, now available in the Azure Cosmos DB extension for Visual Studio Code. 📈 Modernize with confidence Why migrate from RDBMS to Azure Cosmos DB? Modernizing relational workloads has traditionally been complex, time-consuming, and risky. This new AI-assisted, phase-based workflow replaces manual analysis with structured recommendations and helps you navigate key design choices such as denormalization, partitioning, and NoSQL data modeling. It helps you move from relational databases (SQL Se...
Announcing the General Availability of Per Partition Automatic Failover for Azure Cosmos DB NoSQL
Today, we are excited to announce the General Availability of Per Partition Automatic Failover (PPAF) for Azure Cosmos DB NoSQL API. PPAF is a significant advancement in how Azure Cosmos DB delivers availability and resilience for mission-critical workloads running on single-write-region accounts. If you rely on Azure Cosmos DB to be always on for your mission-critical applications — PPAF is built for you. With PPAF, Azure Cosmos DB can automatically recover affected partitions by failing over writes to a secondary region within 3 minutes at P99, without requiring application changes. A smarter, more granu...
Azure Cosmos DB MCP Toolkit Is Now Generally Available — Bringing Your Database to AI Agents at Scale
Since we introduced the Azure Cosmos DB MCP Toolkit at Ignite 2025 in preview, the response has been clear: developers want a straightforward way to connect AI agents to their production databases. Customers asked for stability, broader embedding provider support, and a smoother path from experimentation to production. Today, we're announcing the general availability of the Azure Cosmos DB MCP Toolkit (v1.1.2), now with deeper Microsoft Foundry integration, multi-provider embedding support, and the reliability improvements you asked for. The Problem: Getting AI Agents to Talk to Your Data Is Harder Than I...
Announcing General availability of the Azure Cosmos DB vNext emulator
The Azure Cosmos DB vNext emulator is generally available today. It ships as a Docker image that runs on Linux, macOS, and Windows, on both x64 and ARM64 architectures, giving you a local Cosmos DB instance you can develop and test against. Use it for inner-loop development on your laptop, in CI integration tests, and anywhere else you’d rather not use a live account. You can get started right away with a couple of simple commands: A lot has shipped since the preview announcement: broader feature and API coverage, an embedded shell, vector search, and OpenTelemetry support. The rest of this post walks throu...
Announcing the Public Preview of Semantic Reranker in Azure Cosmos DB for NoSQL
Today we’re thrilled to announce the public preview of Semantic Reranker in Azure Cosmos DB for NoSQL,a new AI-powered capability that improves the relevancy of your search results with just a few lines of code. If you’ve ever run a vector, full-text, or hybrid search and wished the most relevant documents bubbled to the very top, this one’s for you. Semantic Reranker uses an AI model to score and reorder the results of any query based on how well each document matches the user’s intent. It’s built right into the Azure Cosmos DB SDKs (Python, .NET, and Java), so you can reorder results from any container with ...
Announcing General Availability of Azure Cosmos DB Global Secondary Indexes
Have you ever needed to evolve your read patterns without losing efficiency? Maybe your app started with one access pattern, but now you need three, and the queries that don't hit your partition key are getting slower and more expensive every month. We built global secondary indexes (GSIs) for exactly this, and today we're thrilled to announce they're generally available in Azure Cosmos DB! A GSI is an automatically synced copy of your data with a different partition key, so you can query it efficiently for more read patterns. The problem GSI solves Azure Cosmos DB scales by distributing data across physical ...
New Toolkits for Agent Memories and Agentic Retrieval in Azure Cosmos DB
Today we’re thrilled to announce the public preview of two new toolkits for Azure Cosmos DB: the Agent Memory Toolkit and the Agentic Retrieval Toolkit. If you’re building AI agents and retrieval-augmented generation (RAG) apps, these toolkits are designed to take you from prototype to production faster, giving your agents durable memory and your RAG pipelines the ability to reason over evidence in multiple passes, all backed by the database you already know and love. Both toolkits build on the same foundation: Azure Cosmos DB for NoSQL as a unified store for documents, vectors, and full-text data, with vector...
Announcing Public Preview of Safe Key Rotation in Azure Cosmos DB
In our previous post, we introduced the private preview of Safe Key Rotation, a feature that helps Azure Cosmos DB customers avoid service disruptions during key rotations. By showing when each account key was last used, it helps teams make informed decisions before rotating keys or moving to Entra ID. This capability addresses a common challenge: keys that appear unused may still support critical applications, which can lead to unexpected outages if they are rotated too soon. What is new? With public preview, we are expanding this capability to give you even more control and confidence when managing you...
Announcing the Public Preview of the Azure Cosmos DB Cost Estimator for NoSQL
Today, we're thrilled to announce the public preview of the Azure Cosmos DB Cost Estimator, a new sizing and pricing experience that takes developers from a blank page to a defensible monthly cost estimate in minutes. Sizing an Azure Cosmos DB workload has always been one of the first questions a team has to answer, and historically one of the hardest.  Every one of those decisions changes the number, and most teams need that number before they've written a single line of code. AI workloads have made this harder, not easier. RAG pipelines, AI chat sessions, vector embeddi...
Announcing Public Preview of Distributed Transactions in Azure Cosmos DB for NoSQL
In modern cloud-native applications, correctness is often hardest to maintain at the exact moment a workflow crosses boundaries. A checkout flow writes an order in one place; decrements inventory in another and emits an audit event somewhere else. A money movement workflow debits one account, credits another, and records the transfer for compliance. An AI workflow updates state across multiple services while coordinating retries, handoffs, and downstream actions. Each step is individually straightforward. Keeping the entire workflow correct under partial failures, concurrent updates, retries, and regional events ...
From Intent to Insight: AI Meets Azure Cosmos DB in VS Code (Public Preview)
The Problem Every Developer Knows Too Well You're building a feature. You know exactly what data you need all orders from the last week over $500, grouped by region. The logic is clear in your head. But between you and that data sits a query language, a documentation tab (or three), and fifteen minutes of trial and error before you get the syntax right. Now multiply that across a team. New developers ramping up on Cosmos DB spend days learning query patterns. Senior developers’ context-switch between writing application logic and debugging queries. Product managers wait for data answers that a developer mus...
Azure Cosmos DB Agent Kit now battle tested for GA
Back in January, we shipped the Azure Cosmos DB Agent kit in preview with 45 rules and a hypothesis: if we package Azure Cosmos DB expertise into a format that AI coding agents understand, developers will stop making the same expensive mistakes. That hypothesis held up. What surprised us was how much the rules themselves needed to evolve once we started systematically testing them. Today the Agent Kit is generally available . It now contains 120+ rules across 12 categories. But the number that matters more: we've run over 200 automated test iterations where AI agents build real applications from scratch using ...
Announced at MS Build 2026: Azure Cosmos DB MCP Toolkit, Semantic Reranking, Global Secondary Indexes, and more!
Microsoft Build 2026 has officially started and we’re excited to announce new capabilities for Azure Cosmos DB! We’ve launched new features to help developers build AI-powered applications and agents more easily, improve application resilience, and accelerate developer productivity. These announcements span every stage of the development lifecycle, from local development with the Azure Cosmos DB Linux Emulator, to advanced retrieval and agent memory capabilities for AI applications, to enterprise-grade operational features such as Global Secondary Indexes, Per-Partition Automatic Failover, Distributed Transact...
I’m Starting a New Cosmos DB App. What Security Do I Actually Need?
You just created a Cosmos DB account. The portal handed you two keys and a connection string, it worked, and you moved on. That's what most developers do, and it causes problems later. This post is a guide for developers launching a new Cosmos DB app who want a secure default setup without enterprise-grade complexity. It focuses on the decisions that matter on day one. The honest two-minute threat model Before diving into setup, it is worth noting what actually goes wrong in real apps. Most security issues in any workload are not advanced attacks. There are simple mistakes that create unnecessary risk...
Scalable AI with Azure Cosmos DB: Bringing Generative AI to Enterprise Scale with Super Insight by AVASOFT
Azure Cosmos DB enables scalable AI-driven document processing, addressing one of the biggest barriers to operational scale in today’s enterprise AI landscape. Organizations continue to manage massive volumes of structured and unstructured content—contracts, regulatory filings, operational records, images, and field documentation—yet many workflows remain fragmented, manual, and slow. Every month, the Scalable AI in Action with Azure Cosmos DB series brings the community together with Microsoft partners who are building real, production AI systems — not slides, not demos built for the occasion, but live walkth...
Announcing the Public Preview of Azure Cosmos DB Shell: Open-Source Power Meets AI-Driven Database Automation
 Today, we're thrilled to announce the public preview of Azure Cosmos DB Shell – a powerful, open-source command-line interface that revolutionizes how developers interact with their Azure Cosmos DB databases. With integrated Model Context Protocol (MCP) server support, native agentic capabilities, and bash-like syntax, Azure Cosmos DB Shell transforms database management into an intelligent, developer-friendly experience. From Friction to Flow: Why Cosmos DB Shell, and Why Open Source If you have ever bounced between a portal tab, an SDK sample, and a half-finished script just to answer one database quest...
Introducing langchain-azure-cosmosdb: Build Agentic Apps and RAG with One Database
Build AI Agents and RAG Applications with the New LangChain + LangGraph Connector for Azure Cosmos DB Building AI agents and RAG applications today means stitching together half a dozen services, a vector database, a chat history store, a checkpointer for agent state, a semantic cache, a long-term memory layer. Each adds operational overhead, latency, and technical debt. langchain-azure-cosmosdb collapses that stack. It's a Python LangChain and LangGraph connector that turns Azure Cosmos DB for NoSQL into the single persistence layer for all of your agentic app scenarios. Azure Cosmos DB for NoSQL natively...
Announcing the Private Preview of Cosmos DB Azure RBAC Integration
Introduction Managing access to Azure resources often means dealing with two separate permission models: one for management operations and another for data access. For Azure Cosmos DB customers, this split can increase complexity, slow down onboarding, and create confusion around governance and security boundaries. Today, we’re excited to announce the private preview of Integrated Azure RBAC for Cosmos DB, a major step toward a unified, intuitive permissions experience across Azure. This new capability brings Cosmos DB data plane authorization directly into Azure RBAC, allowing customers to manage both manage...
Azure DocumentDB (with MongoDB compatibility) for Banking: A Modern Customer 360 Approach
Introduction: Transforming Customer Intelligence in Banking Every day, people interact with their bank across mobile apps, branches, call centers, ATMs, chatbots, and partner ecosystems. Each touchpoint holds a piece of the customer story but rarely the whole picture. For many institutions, these moments of truth get lost in a maze of legacy systems, disconnected business units, and data locked away in silos built over decades. Why Customer 360 Matters for Financial Enterprises Banks often distribute customer data across various systems such as core banking, CRM, loan origination, card platforms, digi...
Welcome to Azure Cosmos DB Conf 2026
Today is the day. Azure Cosmos DB Conf 2026, in partnership with AMD, is a free virtual developer event focused on building modern, scalable applications with Azure Cosmos DB. The agenda features Microsoft engineers, product team leaders, and members of the global developer community sharing real-world solutions, deep dives into the database engine, and hands-on patterns for AI-era apps. Whether you build modern web apps, AI agents, multi-cloud platforms, or data-intensive systems on Azure — you’ll find something on the schedule that ships back with you to your codebase. 🎤 Keynote — 9:00 AM PT The ...
7 tips to optimize Azure Cosmos DB costs for AI and agentic workloads
AI apps and agentic workloads expose inefficiencies in your data layer faster than any previous generation of apps. You’re storing embeddings, serving low-latency retrieval, handling bursty traffic from chat and orchestration, and often operating across regions. Done right, Azure Cosmos DB can support these patterns with high performance and cost controls built in. Done wrong, it is easy to over-provision or pay for inefficient queries. Insights from a recently published Azure Cosmos DB cost savings white paper, combined with guidance from Microsoft leader John Savill and real-world feedback from Azure Cosmos ...
General Availability: Dynamic Data Masking for Azure Cosmos DB
Protecting sensitive data is a foundational requirement for modern applications. As organizations scale their use of Azure Cosmos DB across teams, environments, and workloads, controlling who can see sensitive information becomes increasingly important. Today, we are excited to announce the general availability of Dynamic Data Masking (DDM) for Azure Cosmos DB for NoSQL. This capability helps protect sensitive data by automatically masking it for users who do not have permission to view the original values, without requiring changes to application code or data models. Dynamic Data Masking helps teams reduce...
Scalable AI with Azure Cosmos DB: Tredence Intelligent Document Processing (IDP)
Azure Cosmos DB enables scalable AI-driven document processing, addressing one of the biggest barriers to operational scale in today’s enterprise AI landscape. Organizations continue to manage massive volumes of structured and unstructured content—contracts, regulatory filings, operational records, images, and field documentation—yet many workflows remain fragmented, manual, and slow. In this month's edition of our Scalable AI with Azure Cosmos DB series, we featured Tredence and their production-grade Intelligent Document Processing (IDP) solution—an Azure-native architecture designed to transform document-heav...