Persistent memory standard for AI agents — local, portable, zero config
Project description
AI agents forget everything between sessions. rememb gives them persistent memory — local, portable, and works with any agent.
The problem
Every dev using AI professionally hits this wall:
Session 1: "We're using PostgreSQL, auth at src/auth/, prefer async patterns."
Session 2: Agent starts from zero. You explain everything again.
Session 3: Same thing.
Existing solutions (Mem0, Zep, Letta) require servers, API keys, and cloud accounts.
You just want the agent to remember your project.
Install
pip install rememb[mcp] # Recommended — includes MCP server
pip install rememb # CLI only
pip install rememb[mcp,semantic,pdf] # All features
Quick Start
With MCP (recommended)
Zero friction. No CLI commands. Native IDE integration.
1. Add to your IDE's MCP config:
{
"mcpServers": {
"rememb": {
"command": "rememb",
"args": ["mcp"]
}
}
}
2. Restart your IDE.
The agent now automatically reads memory at session start, writes when learning something new, and searches when needed.
Without MCP
rememb rules # Print generic rules for AI agents
Copy the output to your editor's rules file (.windsurfrules, .cursorrules, CLAUDE.md, etc.)
How it works
.rememb/
entries.json ← structured memory (project, actions, systems, user, context)
meta.json ← project metadata
A JSON file in your project. Your agent reads it at the start of every session.
User: "We're using PostgreSQL, auth at src/auth/, async patterns"
Agent: [rememb_write] → Saved
[New session]
Agent: [rememb_read] → Context loaded
Agent: "I see you're using PostgreSQL with auth at src/auth/..."
Search uses local semantic embeddings (no API, no cloud). Falls back to keyword search if embeddings aren't available.
Memory sections
| Section | What to store |
|---|---|
project |
Tech stack, architecture, goals |
actions |
What was done, decisions made |
systems |
Services, modules, integrations |
requests |
User preferences, recurring asks |
user |
Name, style, expertise, preferences |
context |
Anything else relevant |
CLI
rememb init # Initialize memory store
rememb write "text" # Add entry (--section, --tags)
rememb read # List all entries (--section, --agent)
rememb search "query" # Semantic/keyword search (--top)
rememb edit <id> # Update entry (--content, --section, --tags)
rememb delete <id> # Remove entry
rememb clear --yes # Delete all entries
rememb import <folder> # Import .md/.txt/.pdf files
rememb rules # Show generic rules for AI agents
Design
- Local first — plain JSON file in your project
- Portable — copy
.rememb/anywhere, it works - Agnostic — any agent, any IDE (MCP or CLI)
- No lock-in — no servers, no API keys, no accounts
Contributing
git clone https://github.com/LuizEduPP/rememb
cd rememb
pip install -e ".[dev]"
PRs welcome. Issues welcome. Stars welcome. 🌟
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rememb-0.3.3.tar.gz.
File metadata
- Download URL: rememb-0.3.3.tar.gz
- Upload date:
- Size: 16.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0e99b6e4f81568827ac16eb8cf877e331c775f922e2d3cb73f682f6b987ae64
|
|
| MD5 |
eb9e545dfec1147c1dd4e2e77818d7cd
|
|
| BLAKE2b-256 |
822b7724f1df28d37790a5f23531d9dde4ae5aceb8e458418789658cbb5bfa89
|
File details
Details for the file rememb-0.3.3-py3-none-any.whl.
File metadata
- Download URL: rememb-0.3.3-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e037fef813910f01df81248aedf424c541d962588a9882aa242fb81f6303dc66
|
|
| MD5 |
59339e3a1a61deb6df38d7609720a2eb
|
|
| BLAKE2b-256 |
79693d767f9d1b87c103429264b178316719f902239a956435cefa49927b9e41
|