Skip to main content

Cortex

Plug'n'play persistent memory for AI agents, powered by Convex

License: FSL-1.1-Apache-2.0 TypeScript Convex Status

๐Ÿ”’ Security Scanningโ€‹

CodeQL Semgrep Trivy Gitleaks Bandit OpenSSF Scorecard

โœ… Build & Testsโ€‹

TypeScript SDK Python SDK Vercel AI Provider Socket.dev

**๐ŸŒ cortexmemory.dev | ๐Ÿ“š docs.cortexmemory.dev**

๐Ÿš€ Status: Production Readyโ€‹

Cortex v0.27.x is production-ready with comprehensive features and battle-tested stability.

What you get:

  • โœ… Stable APIs - TypeScript and Python SDKs with consistent interfaces
  • โœ… Comprehensive Testing - 124 test files with 18,460+ assertions
  • โœ… CLI Tooling - Complete project management and development workflow
  • โœ… Security Scanning - CodeQL, Semgrep, Trivy, Gitleaks, Bandit, OpenSSF Scorecard
  • โœ… Production Demo - Interactive Vercel AI quickstart with live visualization
  • โœ… Complete Documentation - Getting started guides, API reference, and tutorials

Ready to use in production. Join developers building AI agents with persistent memory.

Want to follow along?


๐ŸŽฏ The Visionโ€‹

Cortex brings enterprise-grade persistent memory to any AI agent system. Built on Convex, it provides flexible, scalable memory that works with any LLM or framework.

The Problem We're Solving:

Traditional memory solutions force you to choose between vector databases (Pinecone, Weaviate) or simple storage (Redis), manage complex infrastructure, write custom multi-agent coordination logic, and handle user profiles separately. It's fragmented, complex, and time-consuming.

The Cortex Solution:

A unified memory system that gives you everything in one package - production-ready memory that scales automatically, works with any LLM framework, supports any embedding provider, and requires zero infrastructure management.

๐Ÿš€ Quick Startโ€‹

Get started in under 5 minutes:

Install & Initializeโ€‹

# Install CLI
npm install -g @cortexmemory/cli

# Create project
cortex init my-agent

# Start building
cd my-agent
cortex start

What gets set up:

  • โœ… Cortex SDK with TypeScript support
  • โœ… Convex backend functions (deployed automatically)
  • โœ… Environment configuration (.env.local)
  • โœ… Example code to get you started
  • โœ… Optional graph database integration
  • โœ… Deployment saved to ~/.cortexrc for CLI management

๐ŸŽฌ Try the Interactive Quickstartโ€‹

The fastest way to see Cortex in action - complete working demo:

# Option 1: Via CLI
cortex init demo --template vercel-ai-quickstart
cd demo && cortex start
# Open http://localhost:3000

# Option 2: From monorepo
cd packages/vercel-ai-provider/quickstart
npm install && npm run dev

See a production-ready chat app featuring:

  • ๐Ÿ”„ Real-time memory orchestration visualization
  • ๐Ÿ“Š Layer flow diagram (Memory Space โ†’ User โ†’ Agent โ†’ Conversation โ†’ Vector โ†’ Facts โ†’ Graph)
  • ๐Ÿ”€ Memory space switching (multi-tenant isolation)
  • โšก Streaming with progressive storage
  • ๐Ÿงน Belief revision (facts update when user changes their mind)

Your First Memoryโ€‹

import { Cortex } from "@cortexmemory/sdk";

const cortex = new Cortex({
convexUrl: process.env.CONVEX_URL!,
});

// Store a memory
await cortex.memory.remember({
memorySpaceId: "user-123-personal",
conversationId: "conv-1",
userMessage: "I prefer dark mode",
agentResponse: "I'll remember that!",
userId: "user-123",
userName: "User",
});

// Search your memories
const results = await cortex.memory.search(
"user-123-personal",
"what are the user's preferences?",
);

That's it! Your AI agent now has persistent memory.

Next steps: Getting Started Guide | CLI Reference


โœจ Featuresโ€‹

Cortex provides a complete memory system for AI agents:

  • ๐Ÿง  Flexible Memory - Remember anything without hardcoded topics or schemas โœ…
  • ๐Ÿ”’ Memory Space Isolation - Flexible boundaries (per user, team, or project) โœ…
  • โ™พ๏ธ Infinite Context - Never run out via retrieval (up to 99% token reduction) โœ…
  • ๐Ÿ” Semantic Search - AI-powered retrieval with multi-strategy fallback โœ…
  • โฑ๏ธ Automatic Versioning - Updates preserve history, never lose data (10 versions default) โœ…
  • ๐Ÿ‘ฅ User Profiles - Rich user context with GDPR cascade deletion โœ…
  • ๐Ÿ Hive Mode - Multi-tool memory sharing (MCP ready) โœ…
  • ๐Ÿ›ก๏ธ Resilience Layer - Overload protection with circuit breakers โœ…
  • ๐Ÿ”ง CLI Tools - Complete project management (init, start, dev, deploy) โœ…
  • ๐Ÿ“ฆ Vercel AI Integration - Production-ready with interactive demo โœ…
  • ๐Ÿ” Sessions - Multi-session tracking with configurable lifecycle โœ…
  • ๐Ÿ“ˆ Governance - Compliance templates (GDPR, HIPAA, SOC2, FINRA) โœ…
  • ๐Ÿง  Fact Extraction - LLM-powered extraction for 60-90% storage savings โœ…
  • ๐Ÿ”„ Belief Revision - Intelligent conflict resolution for facts โœ…
  • โšก Streaming - Native streaming support with progressive storage โœ…
  • ๐Ÿ•ธ๏ธ Graph Integration - Optional Neo4j/Memgraph with orphan detection โœ…
  • ๐Ÿ”— Context Chains - Hierarchical context sharing across memory spaces โœ…
  • ๐Ÿ“Š Access Analytics - Built-in statistics and insights โœ…
  • ๐ŸŽฏ Agent Registry - Optional metadata for discovery and cascade cleanup โœ…
  • ๐Ÿš€ Embedding Agnostic - Works with OpenAI, Cohere, local models, or any provider โœ…
  • ๐Ÿ”Œ Multi-Tenancy - Complete tenant isolation with auth context โœ…
  • โœ… Client-Side Validation - Instant error feedback (<1ms) for all APIs โœ…

โœจ Latest Releasesโ€‹

v0.27.x - Multi-Tenancy & Authentication (Dec 2025 - Jan 2026)

  • Complete auth context with automatic tenantId propagation
  • Sessions API with configurable lifecycle
  • Multi-session tracking and management
  • Vercel AI SDK v6 Agent architecture support

v0.24.0 - Belief Revision System (Nov 2025)

  • Automatic fact conflict resolution
  • Semantic conflict detection
  • Intelligent superseding of outdated facts

v0.21.0 - Memory Orchestration (Oct 2025)

  • Automatic entity registration
  • CLI-first onboarding with interactive dev mode
  • Multi-deployment management

v0.16.0 - Resilience Layer (Sep 2025)

  • Production-ready overload protection
  • Rate limiting and circuit breakers
  • Priority queue for critical operations

See What's New for complete release history.


โœจ Key Differentiatorsโ€‹

๐Ÿš€ Infinite Contextโ€‹

  • Never run out of context again
  • Recall from millions of past messages via retrieval
  • Up to 99% token reduction vs traditional accumulation
  • Works with any LLM (smaller models perform like SOTA with perfect memory)

๐Ÿ Hive Modeโ€‹

  • Multiple AI tools share one memory space
  • Zero duplication (Cursor + Claude + custom tools)
  • Cross-application memory via MCP
  • Your memory follows you everywhere

๐Ÿข Enterprise-Readyโ€‹

  • Complete ACID audit trails
  • Automatic versioning (temporal queries)
  • One-click GDPR cascade deletion
  • Governance policies built-in

๐Ÿค Multi-Agent Orchestrationโ€‹

  • Context Chains for workflow coordination
  • A2A communication protocol
  • Hive Mode (shared space) OR Collaboration Mode (separate spaces)
  • Flexible isolation models

๐Ÿ”ง Developer Experienceโ€‹

  • Single database (Convex - no polyglot complexity)
  • Framework-agnostic (LangChain, Vercel AI, custom)
  • Embedding-agnostic (OpenAI, Cohere, local models)
  • TypeScript-first with full type safety
  • CLI-first workflow with interactive dev mode

๐Ÿ“Š Unified Architectureโ€‹

  • 4-layer hybrid design (ACID + Vector + Facts + Graph)
  • Graph-Lite built-in, native Neo4j/Memgraph optional
  • Facts extraction (DIY or Cloud auto)
  • All data in one place (Convex)

๐Ÿ—๏ธ Architecture Overviewโ€‹

Cortex is designed with two deployment modes:

Direct Mode (Open Source)โ€‹

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Your Application โ”‚
โ”‚ (Next.js, Express, LangChain, etc.) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Cortex SDK (Open Source) โ”‚
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ Memory โ”‚ โ”‚ Context โ”‚ โ”‚ User โ”‚ โ”‚
โ”‚ โ”‚ Operations โ”‚ โ”‚ Chains โ”‚ โ”‚ Profiles โ”‚ โ”‚
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Your Convex Instance โ”‚
โ”‚ โ€ข Convex Cloud (managed) โ”‚
โ”‚ โ€ข Self-hosted (local or your infrastructure) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Perfect for: Getting started, prototyping, and self-managed deployments.

Cloud Mode (Managed Service - Coming Q3 2026)โ€‹

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Your Application โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Cortex SDK (same code!) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Cortex Cloud API โ”‚
โ”‚ โ€ข Analytics & Insights โ€ข Team Management โ”‚
โ”‚ โ€ข Cost Optimization โ€ข Advanced Features โ”‚
โ”‚ โ€ข Migration Tools โ€ข Priority Support โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ”‚ (using your Convex credentials)
โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Your Convex Instance โ”‚
โ”‚ โ€ข Convex Cloud (managed) โ”‚
โ”‚ โ€ข Self-hosted (local or your infrastructure) โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Perfect for: Production deployments with advanced management and analytics.

Key Design Decisionsโ€‹

  • Built on Convex: Leverages Convex's reactive backend for optimal performance
  • 4-Layer Architecture: ACID conversations + vector search + facts extraction + graph integration (all working together)
  • Any Convex deployment: Works with Convex Cloud, localhost, or self-hosted infrastructure
  • Embedding-agnostic: Optional embeddings from any provider (OpenAI, Cohere, local models)
  • Progressive enhancement: Works with raw content (text search) or embeddings (semantic search)
  • Flexible agents: Start simple with string IDs, add structure when needed
  • Flexible dimensions: Support for any vector dimension (768, 1536, 3072+)
  • Your data, your instance: Whether direct or cloud mode, data lives in your Convex deployment

๐ŸŒŸ Use Casesโ€‹

  • Chatbots - Remember user preferences and conversation history
  • Multi-agent Systems - Coordinate between specialized agents
  • RAG Pipelines - Store and retrieve relevant context for LLM prompts
  • Customer Support - Maintain customer context across interactions
  • Personal Assistants - Long-term memory of user preferences and habits
  • Knowledge Management - Organizational memory across teams

๐Ÿ“Š How Cortex Comparesโ€‹

FeatureCortexPineconeWeaviateRedis
Vector Searchโœ…โœ…โœ…โŒ
ACID Transactionsโœ…โŒโŒโŒ
Facts Extractionโœ…โŒโŒโŒ
Graph Integrationโœ…โŒโŒโŒ
Real-time Updatesโœ…โŒโŒโœ…
Versioningโœ…โŒโŒโŒ
Temporal Queriesโœ…โŒโŒโŒ
Serverlessโœ…โœ…โŒโŒ
Context Chainsโœ…โŒโŒโŒ
Agent Managementโœ…โŒโŒโŒ
User Profilesโœ…โŒโŒโŒ
Open Source Coreโœ…โŒโœ…โœ…
Self-Hostableโœ…โŒโœ…โœ…
All-in-Oneโœ…โŒโŒโŒ

๐Ÿ“– Documentationโ€‹

**๐Ÿ“š docs.cortexmemory.dev** - Complete documentation, guides, and API reference

Getting Startedโ€‹

Referenceโ€‹

๐Ÿค Get Involvedโ€‹

We're building Cortex in public and would love your input!

๐Ÿ’ฌ Join the Conversationโ€‹

  • GitHub Discussions - Best for:
    • ๐Ÿ’ก Sharing feature ideas and use cases
    • ๐Ÿค” Asking questions about architecture decisions
    • ๐Ÿ“ฃ Providing feedback on the API design
    • ๐ŸŽฏ Discussing roadmap priorities
  • GitHub Issues - Best for:
    • ๐Ÿ› Reporting bugs
    • โœจ Requesting specific features
    • ๐Ÿ“ Tracking development progress
    • ๐Ÿ” Following implementation work

๐Ÿ› ๏ธ Ways to Contributeโ€‹

  1. Share Your Use Case - Tell us how you'd use Cortex in your AI agent system
  2. Review the Architecture - Check our docs and provide feedback on the design
  3. Propose Features - What would make Cortex perfect for your needs?
  4. Test Builds - Try out releases and report issues
  5. Improve Documentation - Help us make the docs clearer and more comprehensive
  6. Spread the Word - Star the repo, share with others building AI agents

See CONTRIBUTING.md for detailed contribution guidelines.

๐Ÿšฆ Roadmapโ€‹

Production Ready (Now Available):

  • โœ… Core SDK (TypeScript + Python)
  • โœ… CLI tooling with interactive dev mode
  • โœ… Vercel AI integration with quickstart demo
  • โœ… Complete documentation site
  • โœ… Multi-tenancy and authentication
  • โœ… Sessions management
  • โœ… GDPR compliance features
  • โœ… Fact extraction and belief revision
  • โœ… Graph database integration (Neo4j/Memgraph)
  • โœ… Resilience layer with circuit breakers

Coming Soon:

  • ๐Ÿ”œ MCP Server (Q1 2026) - Cross-application memory sharing
  • ๐Ÿ”œ LangChain Integration (Q2 2026)
  • ๐Ÿ”œ LlamaIndex Integration (Q2 2026)
  • ๐Ÿ”œ Cloud Mode Preview (Q3 2026) - Analytics, team management, advanced features

Follow our progress:

๐Ÿ”’ Security & Privacyโ€‹

  • Data Isolation: Each agent's memories are completely isolated
  • Your Infrastructure: Deploy to your own Convex instance
  • No External Calls: Cortex never sends data outside your Convex deployment
  • Flexible Access Control: Implement your own auth layer on top
  • Open Source Core: Audit the code yourself - full transparency

Automated Security Scanningโ€‹

  • โœ… CodeQL - Static analysis for vulnerabilities
  • โœ… Trivy - Dependency vulnerability scanning
  • โœ… Gitleaks - Secret detection
  • โœ… Semgrep - API security & OWASP Top 10
  • โœ… Bandit & Safety - Python security scanning
  • โœ… OpenSSF Scorecard - Supply chain security rating
  • โœ… Dependency Review - Automated PR checks

Supply Chain Transparencyโ€‹

Socket.dev may flag "network access" in this package. This is expected and safe:

  • The SDK requires network access to communicate with Convex (cloud database)
  • All network calls go to *.convex.cloud endpoints only
  • This is documented, audited, and necessary for core functionality
  • See [.socket.dev.yml](https://github.com/SaintNick1214/Project-Cortex/blob/main/.socket.dev.yml) for our security policy

Report Security Issues:

๐Ÿ“ฆ Publishing Releasesโ€‹

Cortex SDK uses dual release workflows:

๐Ÿค– Automated (Production - recommended):

  • Bump version in package.json โ†’ Push to main โ†’ GitHub Action publishes automatically
  • Full details: RELEASE-GUIDE.md

๐Ÿ’ป Manual (Beta/hotfix - full control):

Setup: .github/SETUP-AUTOMATED-RELEASES.md

๐Ÿ“„ Licenseโ€‹

Functional Source License (FSL-1.1-Apache-2.0)

Cortex uses the same license as Convex - the Functional Source License with Apache 2.0 future license.

Permitted Uses:

  • Internal use and access within your organization
  • Non-commercial education and research
  • Professional services provided to licensees
  • Building applications that use Cortex as a dependency

Restrictions: You may NOT use Cortex to create a competing commercial product or service that offers the same or substantially similar functionality.

Future Apache 2.0: Each version automatically becomes Apache 2.0 licensed two years after release.

See LICENSE.md for full details.

Cortex Cloud: Commercial service (future)

  • Optional managed features and analytics
  • Free tier planned
  • Pay only for advanced features and support

๐Ÿ™ Acknowledgmentsโ€‹

Cortex is built on the shoulders of giants:

  • Convex - The reactive backend platform powering Cortex
  • Project Constellation - The original inspiration for this system
  • The open source AI community - For pushing the boundaries of what's possible

๐ŸŽฏ Origin Storyโ€‹

Cortex was born out of building Project Constellation, an enterprise multi-agent AI system for Microsoft Teams. While building Constellation, we realized the memory system we needed didn't exist - so we're extracting and open-sourcing it as Cortex.

What makes Cortex different:

  • Designed for real-world production use (not a prototype)
  • Battle-tested patterns from building multi-agent systems
  • Built by developers who needed it, for developers who need it
  • Focus on developer experience and simplicity

๐Ÿ“ฎ Contact & Supportโ€‹


โญ Star this repo if you're building AI agents with persistent memory โญ

Built with โค๏ธ for the AI agent community by Nicholas Geil / Saint Nick LLC

Cortex is production-ready. Join Discussions to share your use case and help shape the future of AI agent memory.