Getting Started with Cortex
Welcome! This guide will help you go from zero to a working AI agent with persistent memory in under 5 minutes.
Prerequisites
Node.js 18+, npm/yarn/pnpm, and a free Convex account.
Choose Your Path
⚡
Quick Start
Jump right in with our 5-minute tutorial. Perfect for hands-on learners.
📚
Learn the Concepts
Understand how Cortex works before diving into code.
Installation Overview
1
Install the Cortex CLI
Our CLI handles project setup, development, and deployment.
brew install cortex-memory/tap/cli
2
Initialize Your Project
Run cortex init to scaffold a new project with Convex backend configured.
cortex init my-project
cd my-project
3
Configure for Your Stack
Set up authentication, customize settings, and connect your AI provider.
cortex dev
In This Section
Coming from another memory solution? Check out our migration guide from mem0.