Azure Cosmos DB Guides & Articles
Follow Azure Cosmos DB from a local development database to the data layer of an AI application. These guides connect storage decisions to working software: durable agent memory, tenant isolation, vector retrieval, and a developer discovery platform.
Start with the end-to-end agent walkthrough for a hands-on example, then explore the DevGlobe architecture to see how a different workload uses the database. Historical articles cover earlier SDKs and service capabilities and should be read in their original context.
By Sajeetharan Sinnathurai, Principal Product Manager at Microsoft.
Start here
Build an AI Agent with Azure Cosmos DB: End-to-End Guide
Build a TypeScript AI agent with Azure Cosmos DB, React, durable memory, tenant isolation, diagnostics, tests, and a clear path from local development to Azure.
Building DevGlobe with Azure Cosmos DB and AI Agents
How DevGlobe uses Azure Cosmos DB, vector search, MCP, and Azure Functions to power an open-source talent graph for developers and AI agents.
All Azure Cosmos DB articles
Newest first. Publication dates distinguish recent guides from historical walkthroughs.
Build an AI Agent with Azure Cosmos DB: End-to-End Guide
Build a TypeScript AI agent with Azure Cosmos DB, React, durable memory, tenant isolation, diagnostics, tests, and a clear path from local development to Azure.
Building DevGlobe with Azure Cosmos DB and AI Agents
How DevGlobe uses Azure Cosmos DB, vector search, MCP, and Azure Functions to power an open-source talent graph for developers and AI agents.
Two Cities, Two Talks, One Agent-First Future: Bengaluru and Chennai
Reflections from two back-to-back community conferences in Bengaluru and Chennai, where I spoke about trusted MCP tools and agent-first development with Azure Cosmos DB.
Joining Scott Hanselman on the Azure Developers Show: Turning Coding Agents into a Cosmos DB Expert
I recently had the incredible opportunity to join Scott Hanselman on the Azure Developers Show to talk about something I've been deeply passionate about —...
Partial Document Update Samples with Cosmos DB REST Operation
Overview : In last November 2021, Cosmos DB team has announced support for patching documents with SQL API which was the top requested features in the user...
Cosmos DB Pagination & Continuation Tokens with JavaScript
Overview: As a Developer, If you have a requirement to have list of work items which are approved to be displayed in a Grid View. You would tend to query...
BOOK GIVEAWAY: Win a free copy of "Cloud Scale Analytics with Azure Data Services "
Hello folks! Azure Data Lake is a big data solution which allows organizations to ingest multiple data sets covering structured, unstructured, and...
Get to know how to query Azure Cosmos DB by using the SQL API
Overview : In this blog post you will learn about the Azure Cosmos DB SQL API queries and How to get started with Cosmos DB SQL API. I recently published a...
How i built Serverless App 'MentorMe' with Azure Functions and Cosmosdb
Overview As per a survey, 57% of young individuals agreed they do not have the right connections to find a mentor and more than 50% of them couldn't find a...
How to resolve : Cosmos DB x-ms-partitionkey Error
One of the most repeated question that i came across on stackoverflow on the tag #Cosmosdb is that how to resolve the error "The partition key supplied in...
How world reacts to Work from home(#WFH) using Serverless with Azure(CosmosDB + Functions + LogicApps)
Overview: Due to the recent COVID outbreak and as it continues to spread throughout the world, employees are being to asked to work from home. While most of...
Corona Escape - Game with Python and Cosmosdb
I've been gaming since 2003 till now.I remember those sleepless nights and how much fun i had playing PC games. I always wanted to be a game designer since...
Covid Escape - How to built a Game with Python and Cosmosdb
I've been gaming since 2003 till now.I remember those sleepless nights and how much fun i had playing PC games. I always wanted to be a game designer since...
Create Github Issue Reporter with Azure Function and CosmosDB
Many times you would have wanted to have one view/dashboard of all the Github issues created for your open source repositories. I have almost 150...
Deploy Angular Applications to Azure with Github Actions - Emotion Detection App
The first ever Github Universe viewing party in SriLanka took place on last Thursday organized by the Github Campus Experts in the country. It was an event...
Retrieve documents without Metadata properties in Azure CosmosDB
One of the interesting queries that i got from my colleague is that how to get rid of the metadata properties when retrieving documents from Cosmosdb. It...
Explore and Test Cosmos DB Rest APIs with POSTMAN
I have been working with Cosmos DB for almost 2 years and most of the time i have used SDKs to connect to Cosmos DB. In the recent times i started consuming...
Programmatically change CosmosDB Request Units(RU) with Azure function 2.x and Cosmos DB SDK 3.0
When you are involving in an architectural discussion which involves Azure's cosmosdb, a mandatory question that you get is "Is not Azure Cosmos DB very...
How Azure CosmosDB + Functions + IOT hub + PowerBI could solve the burning Traffic problem
Road traffic is a very classic and burning problem in Sri Lanka and in most of the Asian countries. Personally I have to spend 2 hours on the road everyday...
Build hybrid apps with Cosmosdb + Ionic
I was at the Global Azure Bootcamp recently concluded last week, one of the participant came and asked me, "Hey what is Cosmos DB" I casually responded...
Transform and Migrate data from MSSQL to Cosmosdb
Recently, I was involved in working with a customer who had their data in on prem SQL server. As they are shifting their soultion to Cloud(Azure) with...
How to delete all documents in Cosmosdb Collection
I have been working with couple of applications built with CosmosDB and one of the things that surprised me was one cannot clear all documents in a...
Event Sourcing with Azure EventHub and CosmosDB
Traditional Architecture : In a traditional Application with the normal approach, transactional use-cases usually involve persisting data in a few SQL...
Streaming Live Tweets from Twitter to CosmosDB
This is time for another blog on cosmosdb explaining how to stream tweets from twitter using hashtags and store them in cosmosdb in real time. You should be...
Wear out the features of Azure CosmosDB with AspNetCore application
Azure CosmosDB (Azure Cosmos DB – Globally Distributed Database Service (formerly DocumentDB) | Microsoft Azure) is a super set of the service once known as...
Setting up Azure CosmosDB with Visual Studio Code in Local Environment
Recently I started experimenting with Azure's CosmosDB and developed few applications using the same. To start with it this blog will help all the...
Search all blog posts | Complete archive | Subscribe via RSS