Cortex
Local-first memory engine giving AI agents persistent cross-session memory on-device.
Tested on LinuxKnown vulnerabilities
Use it
Before you install: known vulnerabilities
pickfit found 7 known high or critical vulnerabilities in the packages a fresh install brings (OSV.dev, 3 Nov 2026). Weigh this before you install it.
crates:openssl 0.10.75rust-openssl has incorrect bounds assertion in aes key wrap (GHSA-8c75-8mhr-p7r9, high, fixed in 0.10.78)crates:pyo3 0.23.5PyO3 has an Out-of-bounds Read in `nth` / `nth_back` for `PyList` and `PyTuple` iterators (GHSA-36hh-v3qg-5jq4, high, fixed in 0.29.0)
See 5 more
crates:openssl 0.10.75— GHSA-ghm9-cr32-g9qj (high), fixed in 0.10.78crates:openssl 0.10.75— GHSA-hppc-g8h3-xhp3 (high), fixed in 0.10.78crates:openssl 0.10.75— GHSA-pqf5-4pqq-29f5 (high), fixed in 0.10.78crates:openssl 0.10.75— GHSA-xp3w-r5p5-63rr (high), fixed in 0.10.79crates:rustls-webpki 0.103.9— GHSA-82j2-j2ch-gfr8 (high), fixed in 0.103.13
Linux x86_64
You need first
- Runtimes:
Rust toolchain (provides cargo)
Download and install release binary
mkdir -p ~/.local/bin ~/.cortex /tmp/cortex-dl && curl -sL -o /tmp/cortex-dl/cortex.tar.gz https://github.com/gambletan/cortex/releases/download/v2.4.0/cortex-mcp-server-linux-x86_64.tar.gz && tar xzf /tmp/cortex-dl/cortex.tar.gz -C /tmp/cortex-dl && cp /tmp/cortex-dl/cortex-mcp-server ~/.local/bin/ && chmod +x ~/.local/bin/cortex-mcp-server && ~/.local/bin/cortex-mcp-server --version
Check that it works
cortex-mcp-server --helpThe output should contain “Cortex memory engine — MCP server & CLI tools”.
First thing to try
CORTEX_NO_EMBEDDINGS=1 cortex-mcp-server ~/.cortex/memory.db statsRun cortex-mcp-server <database file> stats to open a memory database and see its statistics.
What it does
These come from the README; pickfit didn’t check them one by one.
- Give AI agents memory that lasts across sessionsNot tested
- Sync memories across devices with encryptionNot tested
- Share approved excerpts with Meta MuseNot tested
- Track people across channels by matching identitiesNot tested
How far pickfit got
Linux x86_64
- Installs
- Starts
- Main function works
- Works offline
macOS: the project says it runs there; pickfit hasn’t tried it.
Good for
- store a new memory via CLI
- search stored memories
- export all data as JSON backup
- show weekly memory digest
An alternative to Mem0 and OpenAI Memory.
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 30 Oct 2026
- Version 2.4.0
Differences the test machine hit
- README: pip install cortex-ai-memory (Python bindings)
In the test: On Python 3.12 Linux there is no manylinux cp312 wheel (only cp39 linux + cp312 macOS), so `uv tool install cortex-ai-memory` falls back to the sdist and fails building via maturin/cargo with `linker cc not found`; cargo builds need a Rust toolchain plus C linker, which this box must not install. U… - README: Official packages table: PyPI cortex-ai-memory vs binary via Releases/brew
In the test: The PyPI wheel contains only the `cortex_ai_memory` Python module (native .so), no `cortex-mcp-server` binary; the CLI in the README examples comes from the GitHub Releases tarball `cortex-mcp-server-linux-x86_64.tar.gz` (installed to ~/.local/bin). - README: Binary install from GitHub Releases
In the test: Release tarball is a prebuilt binary that cannot be read/audited before running; installed without a readable install script.