cortex logo
cortex
★ 35
vs
agent-memory logo
agent-memory
★ 15

cortex vs agent-memory

cortex: 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.; agent-memory: Agent-memory offers local, Git-native project memory for AI coding agents, leveraging Markdown as the single source of truth for durable, human-reviewable, and secret-safe knowledge. It facilitates structured memory updates and seamless integration with various agent runtimes, operating entirely locally without external cloud or vector database dependencies.

01

TL;DR

cortex logo
cortexMemory & Context · ★ 35

Providing persistent, private long-term memory for AI agents and LLMs across conversation sessions.

agent-memory logo
agent-memoryMemory & Context · ★ 15

Bootstrapping an AI agent's project memory from an existing codebase.

02

Side-by-Side Comparison

Field
cortex logocortex
agent-memory logoagent-memory
Category
Memory & Context
Memory & Context
Stars
★ 35
★ 15
License
MIT
Apache-2.0
Install Command
brew tap gambletan/tap && brew install cortex-mcp-server
npx -y @xchucx/agent-memory --help
Updated
1d ago
3w ago
Open Source
Yes
Yes
Tags
AI Agent Memory, Local Storage, Privacy-Preserving AI
AI Agent Memory, Git Versioning, Markdown Knowledge Base
03

Features

cortex logocortex
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.
agent-memory logoagent-memory
01Git-native, Markdown-based memory with version control.
02Human review gate for durable changes via diffs.
03Automated scanning and rejection of secrets/PII on write.
04Fully local operation without cloud or vector database dependencies.
05Verifiable Task Protocol (VTP-1) for cryptographic task lifecycle.
06Federated memory for referencing shared, read-only 'landscape' stores.
04

Use Cases

cortex logocortex
↳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.
agent-memory logoagent-memory
↳Bootstrapping an AI agent's project memory from an existing codebase.
↳Recording and reviewing durable architectural decisions and conventions.
↳Discovering peer solutions and operational context via federated memory.
↳Ensuring safe, non-breaking cross-service contributions by agents.
↳Cryptographically verifying autonomous agent task execution and settlement.
FAQ

FAQ

What is the difference between cortex and agent-memory?
Both cortex and agent-memory are in the Memory & Context category. cortex has 35 stars, while agent-memory has 15 stars.
Which is better, cortex or agent-memory?
The best choice depends on your use case. Choose cortex if Providing persistent, private long-term memory for AI agents and LLMs across conversation sessions., and agent-memory if Bootstrapping an AI agent's project memory from an existing codebase..
Is cortex free or open source?
Yes, cortex is open source on GitHub (MIT).
Is agent-memory free or open source?
Yes, agent-memory is open source on GitHub (Apache-2.0).
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
→

Related