AI agents, meet the Azure Cosmos DB vNext emulator Microsoft's Azure Cosmos DB vNext emulator now supports AI coding agents through its Cosmos DB Shell CLI, enabling agents like GitHub Copilot CLI to automate local database setup and testing. A developer demonstrated how an agent can create databases, containers, and synthetic test data with a single natural-language prompt, reducing manual setup work. If you use the Azure Cosmos DB vNext emulator, you probably know the local development loop: start the emulator, connect to it, create some resources, load test data, run queries, and inspect the results. Each step is straightforward, but together they add setup work before you can test the application you are actually building. The emulator includes Cosmos DB Shell https://learn.microsoft.com/en-us/azure/cosmos-db/emulator-linux use-azure-cosmos-db-shell-with-the-emulator , an open-source CLI for working with databases, containers, and items. It runs inside the emulator container and handles the local endpoint and well-known key, giving developers a direct, scriptable way to work with the emulator. CLIs are well suited to agent workflows because they expose operations as explicit commands and return results the agent can inspect. An agent can discover commands through built-in help, run them non-interactively, respond to errors, and use the output to choose its next action. These characteristics make the CLI a practical interface for agents https://x.com/ericzakariasson/status/2036762680401223946 . Cosmos DB Shell brings that model to the local emulator. For example, an agent can run Cosmos DB Shell non-interactively inside the emulator container: docker exec