Skip to main content

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 24.15.0+ for CLI workflows, npm for Basic/Vercel and pnpm 10.33.0 for Chat. Anonymous local Convex setup is supported.

Choose Your Path​

Installation Overview​

1

Install the Cortex CLI

Our CLI handles project setup, development, and deployment.

npm install -g @cortexmemory/cli@0.38.0

Installation Guide →

2

Initialize Your Project

Run cortex init to scaffold a new project with Convex backend configured.

cortex init my-project --template basic --local --yes --graph none
cd my-project

5-Minute Quickstart →

3

Configure for Your Stack

Set up authentication, customize settings, and connect your AI provider.

cortex dev

Configuration Guide →

In This Section​


Coming from another memory solution? Check out our migration guide from mem0.