# Code with Cosmos: Build a Production-Ready AI App in Four Episodes

DevFeed: [Code with Cosmos: Build a Production-Ready AI App in Four Episodes](<https://devfeed.tech/articles/code-with-cosmos-build-a-production-ready-ai-app-in-four-episodes-97830.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/cosmosdb/code-with-cosmos/>)

Author: Azure Cosmos DB Team

Published: 2026-10-23T17:18:03Z

Content type: release

Language: en

Sources: [Azure Cosmos DB Blog](<https://devfeed.tech/sources/azure-cosmos-db-blog.md>)

Topics: [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [AI-Ready Data](<https://devfeed.tech/topics/ai-ready-data.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>)

Tags: [actions](<https://devfeed.tech/tags/actions.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-application](<https://devfeed.tech/tags/ai-application.md>), [ai-application-development](<https://devfeed.tech/tags/ai-application-development.md>), [app](<https://devfeed.tech/tags/app.md>), [application](<https://devfeed.tech/tags/application.md>), [application-development](<https://devfeed.tech/tags/application-development.md>), [azure](<https://devfeed.tech/tags/azure.md>), [azure-cosmos-db](<https://devfeed.tech/tags/azure-cosmos-db.md>), [build](<https://devfeed.tech/tags/build.md>), [code](<https://devfeed.tech/tags/code.md>), [cosmos](<https://devfeed.tech/tags/cosmos.md>), [data](<https://devfeed.tech/tags/data.md>), [development](<https://devfeed.tech/tags/development.md>), [memory](<https://devfeed.tech/tags/memory.md>), [operational](<https://devfeed.tech/tags/operational.md>), [production](<https://devfeed.tech/tags/production.md>), [production-ai](<https://devfeed.tech/tags/production-ai.md>), [prototype](<https://devfeed.tech/tags/prototype.md>), [sessions](<https://devfeed.tech/tags/sessions.md>)

## AI overview

The four-part Code with Cosmos series follows an AI travel planner from a local prototype to a production-style, stateful multi-agent app. Episode 1 uses GitHub Copilot in Visual Studio Code, the Azure Cosmos DB Linux emulator, Azure Cosmos DB Agent Kit, and MCP Toolkit to build locally from a product specification, without requiring an Azure subscription for the initial build. Episode 2 adds operational data in Azure Cosmos DB with vector, full-text, and hybrid search, live inventory, and booking workflows. Episode 3 introduces research, hotel, and restaurant agents with durable shared memory for preferences and trip context across sessions and handoffs. Episode 4 uses traces, evaluations, and regression tests to inspect behavior and improve retrieval quality, latency, token usage, memory efficiency, and Cosmos DB request unit consumption.

## Source excerpt

Follow an AI application from a blank folder to a system built for production AI application development often starts with a promising prototype. A real application has to do more than produce an answer: it needs current operational data, the ability to take actions and complete transactions, memory that carries across sessions, coordination between specialized [...] The post Code with Cosmos: Build a Production-Ready AI App in Four Episodes appeared first on Azure Cosmos DB Blog.