Skip to main content

Cortex Documentation

Complete guide to building AI agents with persistent memory

Welcome to the Cortex documentation! This guide will help you understand, integrate, and master Cortex in your AI agent systems.

📚 Documentation Structure

🚀 Getting Started

Start here if you're new to Cortex:

✨ Core Features

Deep dives into Cortex capabilities:

📖 API Reference

Complete API documentation (organized by architectural layers):

Getting Started:

  • Overview - API conventions and patterns

Core Memory System (Layers 1-3):

User & Coordination:

Advanced Storage (Layer 1b-c):

Supporting APIs:

Reference:

🏗️ Architecture

Understanding how Cortex works:

🔗 Integrations

Available integrations:

🎓 Advanced Topics

Expert-level content:

Graph Capabilities:

Storage Optimization:

I want to...

📖 Documentation Conventions

Code Examples

All code examples are:

  • Copy-paste ready - Run them directly
  • TypeScript - Fully typed
  • Commented - Explain the "why"
  • Real-world - Not toy examples

Callouts

We use special callouts for important information:

Note: General information or tips

Warning: Important caveats or gotchas

Danger: Critical issues that could cause data loss

Version Indicators

  • v0.1.0+ - Feature available since this version
  • deprecated - Will be removed in future version
  • experimental - API may change

🆘 Getting Help

Can't find what you need?

  1. Search Docs - Use the search bar (top right)
  2. Check FAQ - Common questions answered in [FAQ
  3. GitHub Discussions - Ask the community
  4. Discord - Real-time help in #help channel
  5. Email - Contact support@cortexmemory.dev

🐛 Found an Issue?

Documentation problems? Please help us improve:

  1. Typo or minor fix - Submit a PR directly
  2. Missing content - Open an issue describing what's needed
  3. Confusing section - Tell us what's unclear
  4. Wrong information - Please report immediately

See the GitHub repository for contribution guidelines.

🌟 What's New?

Recent documentation additions:

  • 2025-10-31: 🎉 v0.7.0 - Graph Database Integration

    • Complete graph database support (Neo4j, Memgraph)
    • Real-time sync worker with reactive queries
    • syncToGraph option across all APIs
    • Multi-layer context enrichment (2-5x more context!)
    • Sophisticated orphan detection
    • New: Graph Operations API
    • New: Graph Database Setup Guide
    • Updated: All API docs with syncToGraph options
  • 2025-10-30: Complete Facts layer integration into Memory API with automatic extraction, cascade delete, and enrichment

  • 2025-10-28: Graph-Lite capabilities, Graph DB integration guides, Fact Extraction, MCP Server documentation

  • 2025-10-23: Initial documentation structure created

See [Changelog for full history.

📄 License

All documentation is licensed under CC BY 4.0.

The Cortex code is licensed under Apache License 2.0.


Last Updated: 2025-10-31


Ready to get started? Head to Introduction