Skip to main content

Persistent memory standard for AI agents — local, portable, zero config

Project description

rememb cover

AI agents (Windsurf, Cursor, Claude, Continue) forget everything between sessions.
rememb gives them a structured memory that lives in your project, belongs to you, and works with any agent.


The problem

Every developer using AI agents hits this wall:

Session 1: "We're using PostgreSQL, the auth module is 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, cloud accounts, and framework lock-in.
You just want the agent to remember your project.


The solution

.rememb/
  entries.json   ← structured memory (project, actions, systems, user, context)
  meta.json      ← project metadata

That's it. A JSON file in your project. Your agent reads it at the start of every session.


Install

Recommended (with MCP support):

pip install rememb[mcp]

Minimal (CLI only): rememb demo

pip install rememb

All features:

pip install rememb[mcp,semantic,pdf]

Quick Start (MCP — Recommended)

Zero friction. No CLI commands. Native IDE integration.

1. Install with MCP

pip install rememb[mcp]

2. Add to your IDE config

Add this to your IDE's MCP config:

{
  "mcpServers": {
    "rememb": {
      "command": "rememb",
      "args": ["mcp"]
    }
  }
}
Editor Config file
Windsurf ~/.codeium/windsurf/mcp_config.json
Cursor .cursor/mcp.json
Claude Desktop ~/Library/Application Support/Claude/claude_desktop_config.json

3. Restart your IDE

The agent now automatically:

  • Reads memory at session start
  • Writes memories when learning something new
  • Searches context when needed

No configuration needed. No commands to remember.


Alternative: CLI Integration

If your editor doesn't support MCP yet, use CLI-based integration:

rememb rules windsurf   # Get rules for your editor

Copy the output to your editor's rules file. See rememb rules --help for all options.


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

Commands

rememb init              Initialize memory store
rememb write <text>      Add new entry (--section, --tags)
rememb read              List all entries (--section, --raw, --agent)
rememb search <query>    Search by content or tags (--top, --agent)
rememb delete <id>       Remove single entry (--yes)
rememb edit <id>         Modify existing entry (--content, --section, --tags)
rememb clear             Delete ALL entries (requires --yes)
rememb import <folder>   Import .md/.txt/.pdf files (--section, --recursive, --dry-run)
rememb rules [editor]    Show AI editor integration rules

How it works

With MCP enabled, the agent automatically manages memory:

User: "We're using PostgreSQL, auth at src/auth/, async patterns"
Agent: [calls rememb_write] → Saved to memory

[New session starts]
Agent: [calls rememb_read]  → Loads all context automatically
Agent: "I see you're using PostgreSQL with auth at src/auth/..."

Search

rememb search uses local semantic search (no API calls, no cloud). Falls back to keyword search if embeddings aren't available.


Design principles

  • Local first — everything is a JSON file in your project
  • Portable — copy .rememb/ and it works anywhere
  • Agnostic — works with any agent (MCP or CLI)
  • Zero configpip install rememb[mcp] and add to IDE
  • No lock-in — plain JSON, read it with anything

CLI Reference

For scripting or manual management:

rememb init                    # Initialize memory store
rememb write "text"            # Add memory (--section, --tags)
rememb read                    # List all entries
rememb search "query"          # Semantic search
rememb delete <id>             # Remove entry
rememb edit <id> --content "x" # Update entry
rememb clear --yes             # Delete all
rememb import <folder>         # Import .md/.txt/.pdf

Roadmap

Done ✓

  • MCP server (rememb mcp) — native IDE integration, no CLI required

Planned

  • rememb sync — sync ~/.rememb/ across machines via private git
  • rememb web — local browser UI to manage memories visually
  • VS Code / Windsurf extension
  • rememb export — export memory to Markdown / Obsidian / Notion

Contributing

git clone https://github.com/LuizEduPP/rememb
cd rememb
pip install -e ".[dev]"

PRs welcome. Issues welcome. Stars welcome. 🌟


License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rememb-0.3.1.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rememb-0.3.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file rememb-0.3.1.tar.gz.

File metadata

  • Download URL: rememb-0.3.1.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for rememb-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1cdd483195aa4df86164b232f56b73916ed0926b2d8ac8efde31d8f9a3a6b948
MD5 b8d000f65639c14e8f1222a5b9cbafc0
BLAKE2b-256 bd050dacc7b87af30b25204cfbbea3fd2ee35baa9f0603486154134df04070f8

See more details on using hashes here.

File details

Details for the file rememb-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: rememb-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for rememb-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c85a5ed16435adff3c719049da80b80f1f924a50c55f5dfa26438358902b42c1
MD5 714e2144c9655964f59e921939d10f23
BLAKE2b-256 924c1ace6b3567625dd28936c8e8cdc2b41423e5f91fd0e4786a3079ad014325

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page