Skip to main content

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

Project description

rememb cover

Rememb MCP server

AI agents forget everything between sessions. rememb gives them persistent memory — local, portable, and works with any agent.

rememb chat demo


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

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

TUI

rememb includes a full terminal UI built with Textual.

rememb          # Open the TUI

Features:

  • Grid of memory cards — browse all entries organized by section
  • Sidebar navigation — filter by section with entry counts
  • Inline search — press / to search across all entries
  • Side panel — create or edit entries without leaving the screen
  • Dynamic layout — grid adapts to terminal width (1–4 columns)
  • Keyboard shortcutsCtrl+N new, Ctrl+R refresh, / search, Q quit

CLI

rememb          # Open the TUI
rememb mcp      # Start MCP server for AI agent integration
rememb --version, -v    # Show version
rememb --help, -h       # Show help

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


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.4.0.tar.gz (27.1 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.4.0-py3-none-any.whl (27.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rememb-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4a57e82511db9903024a505228993ca8958bd89d9c230dbe3da2b660fa0b4a66
MD5 a94b78c507568f1901353479633f4f89
BLAKE2b-256 566f51737e8cdfb88d98b8e1bc84fd6cec44853ce033617f2567354f596c18ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rememb-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 27.8 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2ac8f765aac481b1f55992b4209f92fdce4093a6077c5b591733643a51edc4f5
MD5 2e5d997c61f873756181e8770dc6ac7c
BLAKE2b-256 e0551d00cf0a4eaac385071ee7d0ed696a6739efeeac7a8f4692740b4bb6b1f5

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