iai-personal-memory-engine logo
iai-personal-memory-engine
★ 911
vs
letta logo
letta
★ 25.2k

iai-personal-memory-engine vs letta

iai-personal-memory-engine: iai-pme is an open-source, local-first personal memory engine designed for AI coding assistants, providing persistent, encrypted, and verbatim recall of past interactions. It integrates via the MCP protocol to give AI assistants a long-term memory, automatically capturing and recalling conversation content to enhance assistant adaptability and context.; letta: Letta is a powerful platform for building stateful AI agents equipped with advanced memory, enabling them to learn and self-improve over time. It provides both a command-line interface for local agent execution and a comprehensive API with Python and TypeScript SDKs for seamless integration into applications.

01

TL;DR

iai-personal-memory-engine logo
iai-personal-memory-engineMemory & Context · ★ 911

Enhancing AI coding assistants (e.g., Claude Code, Cursor, Codex CLI) with continuous, personalized long-term memory.

letta logo
lettaMemory & Context · ★ 25.2k
When to choose:
  • You want a long-lived agent that remembers past work and rewrites its own memory and context over time.
  • You want one agent reachable from CLI, desktop, browser, mobile and messaging apps, with subagents, schedules and hooks.
  • You want memory you can inspect: the README says context is tracked in git and can sync to your own repository.
When to skip:
  • You only need to add memory to an agent you already use through MCP; a small MCP memory server is a lighter fit.
  • You rely on older Letta tutorials or the V1 API server: the project restructured, and the V1 server is retired.
  • You want everything to work without signing in: Letta Cloud is the default backend and some features need it.
02

Side-by-Side Comparison

Field
iai-personal-memory-engine logoiai-personal-memory-engine
letta logoletta
Category
Memory & Context
Memory & Context
Stars
★ 911
★ 25.2k
License
MIT
Apache-2.0
Install Command
git clone https://github.com/CodeAbra/iai-personal-memory-engine.git && cd iai-personal-memory-engine && python3.12 -m venv .venv && source .venv/bin/activate && pip install . && cd mcp-wrapper && npm install && npm run build && cd .. && iai-mcp daemon install
npm install -g @letta-ai/letta-code
Updated
2d ago
5d ago
Open Source
Yes
Yes
Tags
Personal Memory Engine, AI Assistants, Vector Search
Stateful AI, Agent Platform, Advanced Memory
03

Features

iai-personal-memory-engine logoiai-personal-memory-engine
01Persistent, long-term memory for AI assistants.
02Fully local, encrypted storage and processing with no telemetry or cloud dependency.
03Verbatim recall via vector search combined with a knowledge graph, preserving specific details.
04Automatic conversation capture and intelligent recall injection at session start via MCP hooks.
05Custom-built core components including storage engine, community-detection algorithm, and hyperdimensional memory substrate for optimal performance.
letta logoletta
01Build stateful AI agents with advanced memory
02Agents capable of learning and self-improvement over time
03CLI tool for running agents locally in your terminal
04Comprehensive API for integrating agents into applications
05Support for skills and subagents; fully model-agnostic
04

Use Cases

iai-personal-memory-engine logoiai-personal-memory-engine
↳Enhancing AI coding assistants (e.g., Claude Code, Cursor, Codex CLI) with continuous, personalized long-term memory.
↳Automatically adapting AI assistants to individual user's style, preferences, and recurring patterns over time.
↳Maintaining a comprehensive, secure, and local knowledge base of past interactions for AI reference without explicit 'remember this' commands.
↳Improving AI assistant consistency and reducing redundant questions across multiple sessions.
letta logoletta
↳Running AI agents locally in your terminal for coding and general tasks.
↳Integrating stateful AI agents into custom applications using the API and SDKs.
↳Developing self-improving AI systems that adapt and learn continually.
05

Best For

iai-personal-memory-engine logoiai-personal-memory-engine
TrendingHidden Gem
letta logoletta
Most PopularEssentialTrending
FAQ

FAQ

What is the difference between iai-personal-memory-engine and letta?
Both iai-personal-memory-engine and letta are in the Memory & Context category. iai-personal-memory-engine has 911 stars, while letta has 25.2k stars.
Which is better, iai-personal-memory-engine or letta?
The best choice depends on your use case. Choose iai-personal-memory-engine if Enhancing AI coding assistants (e.g., Claude Code, Cursor, Codex CLI) with continuous, personalized long-term memory., and letta if Running AI agents locally in your terminal for coding and general tasks..
Is iai-personal-memory-engine free or open source?
Yes, iai-personal-memory-engine is open source on GitHub (MIT).
Is letta free or open source?
Yes, letta 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