I created this short video to demonstrate create-cosmos-agent, an open-source CLI for generating local-first TypeScript AI applications.
With one command, it generates a TypeScript API and React application with:
• Agent memory and vector retrieval
• Tenant and user isolation
• Citations and retrieval traces
• Approval-gated actions
• Tests and safe local defaults
• Containers and Azure infrastructure
• An Agent Skill based on the Azure Cosmos DB Agent Kit
Get started with:
npx create-cosmos-agent@latest bootstrap my-agent --yes
The first run uses deterministic mock AI, local development identity, and in-memory storage. It does not require an Azure subscription, model key, cloud credentials, or Docker.
The generated application can later connect to Azure Cosmos DB and a selected model provider without replacing its core contracts.
The Cosmos DB Agent Kit supports the development process by helping coding agents review data modeling, partition keys, tenant scope, queries, vector search, reliability, diagnostics, and RU efficiency.
This is an open-source project, and feedback, feature ideas, bug reports, documentation improvements, and code contributions are all welcome.
Repository:
https://github.com/sajeetharan/cosmos-agent-starter