cortex
Active·★ 35·MIT·Updated 2026-10-17
Cortex is a private, free, and local memory engine for personal AI agents, built with Rust. It provides multi-tier, self-evolving long-term memory that persists across sessions and devices, offering sub-millisecond performance and end-to-end encrypted cloud synchronization.
#AI Agent Memory#Local Storage#Privacy-Preserving AI#Long-term Memory#Semantic Search#Rust#Context Management#Cross-device Sync
01
Features
01Private by Default: Memories reside in a local SQLite file, ensuring zero telemetry and data privacy.
02Real, Multi-Tier Memory: Features 4 memory tiers (Working, Episodic, Semantic, Procedural), multi-signal retrieval, Bayesian beliefs, and a cross-channel people graph.
03Sub-millisecond Performance: Achieves 156µs ingest and 568µs search speeds, significantly faster than cloud memory APIs.
04Cross-Device End-to-End Encrypted Sync: Optionally syncs memories across devices through your own cloud storage (iCloud, Google Drive, etc.) with AES-256-GCM encryption.
05Drop-in Integration: Serves as an MCP server for Claude, offers Python bindings, and integrates with frameworks like LangGraph, DeerFlow, and OpenClaw.
02
Compatibility
Rust
Core
Verified via docs
macOS
OS
Verified via docs
Linux
OS
Verified via docs
Python
Bindings
Verified via docs
Docker
Deployment
Verified via docs
Claude
Integration
Verified via docs
03
Quick start
1
$ brew tap gambletan/tap
2
$ brew install cortex-mcp-server
04
Use cases
↳Providing persistent, private long-term memory for AI agents and LLMs across conversation sessions.
↳Enabling AI assistants to remember user preferences, facts, and past interactions without sending data to external servers.
↳Building personal AI systems where user data stays entirely on-device or synced via user's own encrypted cloud storage.
↳Integrating advanced memory capabilities (e.g., people graph, Bayesian beliefs, contradiction detection) into agent orchestration platforms like LangGraph or DeerFlow.
↳Developing AI applications that require low-latency, real-time memory access and context generation for prompt injection.
05
Alternatives
perseus-vault★ 72
Perseus Vault — persistent, deterministic memory for AI agents. They guess. We remember. SQLite + FTS5, AES-256-GCM, bi-temporal history, crypto-chained audit, 57 MCP tools. Local-first, single Rust binary. (formerly Mneme/Mimir)
engram-mcp★ 18
MCP server in Rust for AI agent persistent memory: branch-aware session handoffs, local ONNX embeddings, SQLite-backed semantic search.
MCP-memento★ 11
Local-first MCP server that gives AI agents durable repo memory and fast semantic code context.
rlm-claude★ 39
Recursive Language Models for Claude Code - Infinite memory solution inspired by MIT CSAIL paper
projectmem★ 868
Local-first AI coding memory for AI agents. Records issues, attempts, fixes and decisions, then warns your agent before it repeats an approach that already failed. Native MCP server for Claude Code, Cursor, Antigravity and Codex. 100% local, no cloud, no telemetry. MIT.
mcp-local-memory★ 60
A lightweight, powerful local memory server for AI agents supporting text, entities, and relations. Enables persistent codebase understanding and user preference management.
Comments
Log in to leave a comment
No comments yet. Be the first!