hmem logo
hmem
★ 24
vs
locus logo
locus
★ 15

hmem vs locus

hmem: hmem is a memory system for AI agents that persists project context across sessions, devices, and AI providers. It uses a 5-level lazy loading architecture to minimize token usage while retaining full details. It supports auto-logging, background checkpoints, and cross-platform sync.; locus: Locus provides persistent project-aware memory for AI coding tools, using three memory layers: structural, semantic, and episodic. It works with any MCP-compatible client and offers 14 tools and 3 resources for exploring, searching, and managing memory. Carbon Copy enables passive conversation capture for later recall.

01

TL;DR

hmem logo
hmemMemory & Context · ★ 24

AI coding assistants that need to maintain project context across sessions

locus logo
locusMemory & Context · ★ 15

Maintain project context across AI coding sessions to avoid losing architectural decisions and file structure awareness

02

Side-by-Side Comparison

Field
hmem logohmem
locus logolocus
Category
Memory & Context
Memory & Context
Stars
★ 24
★ 15
License
MIT
MIT
Install Command
npm install -g hmem-mcp && npx hmem init
npx -y locus-memory@latest install codex
Updated
3mo ago
4mo ago
Open Source
Yes
Yes
Tags
ai-agents, ai-tools, claude
ai-memory, claude-code, codex-cli
03

Features

hmem logohmem
015-level lazy loading to minimize token usage
02Automatic session logging and background checkpoints via Haiku
03Cross-provider and cross-tool support
04Project-based memory organization
05Encrypted sync across devices
locus logolocus
01Three memory layers: structural (auto-parsed), semantic (user-curated), episodic (auto-captured)
02Carbon Copy passive conversation capture via inbox-based event protocol
0314 MCP tools for exploring, recalling, searching, remembering, and managing memory
04FTS5 full-text search across all memory layers and conversation events
054-layer security: metadata-only, file denylist, content redaction, audit UX
04

Use Cases

hmem logohmem
↳AI coding assistants that need to maintain project context across sessions
↳Multi-device workflow where different agents continue the same project
↳Knowledge management for personal AI assistants
locus logolocus
↳Maintain project context across AI coding sessions to avoid losing architectural decisions and file structure awareness
↳Store and retrieve important decisions and their rationale for consistent development practices
↳Passively capture conversation history from coding sessions for later search and recall
FAQ

FAQ

What is the difference between hmem and locus?
Both hmem and locus are in the Memory & Context category. hmem has 24 stars, while locus has 15 stars.
Which is better, hmem or locus?
The best choice depends on your use case. Choose hmem if AI coding assistants that need to maintain project context across sessions, and locus if Maintain project context across AI coding sessions to avoid losing architectural decisions and file structure awareness.
Is hmem free or open source?
Yes, hmem is open source on GitHub (MIT).
Is locus free or open source?
Yes, locus is open source on GitHub (MIT).
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