create-cortex-memories
v0.3.0
Published
Interactive CLI to scaffold Cortex Memory SDK projects with Convex backend
Maintainers
Readme
create-cortex-memories
Interactive CLI to scaffold projects with Cortex Memory SDK and Convex backend.
Usage
Create a New Project
npm create cortex-memoriesThe wizard will prompt for your project name.
Or specify it directly:
npm create cortex-memories my-ai-agentAdd to Existing Project
cd your-existing-project
npm create cortex-memories
# Choose current directory when promptedWhat It Does
The wizard will guide you through:
- Project Setup - Name and location
- Smart Version Detection - Automatically fetches the latest SDK and correct Convex version
- Convex Configuration - Choose between:
- Set up new Convex database (cloud)
- Use existing Convex database
- Use local Convex for development
- Graph Database (Optional) - Enable Neo4j/Memgraph integration
- Installation - Automatically installs dependencies with perfect version compatibility
- Backend Deployment - Copies and deploys Cortex backend functions
- Environment Configuration - Creates .env files with proper settings
Always Up-to-Date
This CLI automatically installs the latest version of @cortexmemory/sdk and the correct version of Convex required by that SDK. No more version conflicts or outdated dependencies!
After Setup
cd my-cortex-agent # Or whatever name you chose
npm run dev # Terminal 1: Start Convex
npm start # Terminal 2: Run your agentYour AI agent now has persistent memory powered by Cortex!
Learn More
License
Apache-2.0
