pip install reme-ai==0.4.1.13 Copy PIP instructions
A local-first, self-evolving personal knowledge base for AI agents.
Previous versions: 0.3.x · 0.2.x · MemoryScope
🧠 ReMe turns conversations and resources into readable, editable, searchable, and interconnected Markdown memory. Agents such as QwenPaw and DeepSeek Harness can share the same workspace to retrieve, maintain, and evolve knowledge, while users retain control of the durable files.
pip install "reme-ai[core]" Install from source:
git clone https://github.com/agentscope-ai/ReMe.git cd ReMe pip install -e reme_studio -e ".[core]" cd reme_studio npm ci npm run build:static cd .. The static build requires Node.js 22.13 or newer and makes Studio available from the source tree.
With Docker and Compose 2.24.0+, build and start ReMe with the bundled Studio:
mkdir -p .reme docker compose up --build -d Open http://127.0.0.1:2333. The complete workspace persists in ./.reme. On Linux, set REME_UID and REME_GID to your user's IDs when they differ from 1000. See Docker deployment for model credentials, custom paths, published images, and upgrades.
Configure environment variables when you want LLM-powered memory evolution or embedding retrieval. Embeddings are disabled by default, so the default setup does not start an embedding model or require an embedding API key.
cat > .env <<'EOF' # Optional: used only after embedding components are explicitly enabled in the config. # EMBEDDING_API_KEY=sk-xxx # EMBEDDING_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 # Required for auto_memory, auto_resource, auto_dream, and proactive refresh. LLM_API_KEY=sk-xxx LLM_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1 EOF Basic file operations, BM25 search, wikilink traversal, and reading proactive topics can run without LLM credentials.
reme start The default service address is 127.0.0.1:2333. If the port is occupied, specify another port:
reme start service.port=8181 # reme start workspace_dir=/tmp/reme-demo service.port=8181 reme version reme health_check reme help curl -s http://127.0.0.1:2333/version -H 'Content-Type: application/json' -d '{}' 5-Minute Memory Demo With the service running, write a memory node, let ReMe index it, then retrieve it:
reme write \ path=digest/wiki/quick-start-demo \ name="Quick Start Demo" \ description="A first ReMe memory node" \ content="# Quick Start Demo ReMe stores agent memory as readable Markdown. Related: [[digest/wiki/memory-as-file.md]]" reme search query="agent memory markdown" limit=5 reme read path=digest/wiki/quick-start-demo start_line=1 end_line=20 The generated file is ordinary Markdown with frontmatter:
--- name: Quick Start Demo description: A first ReMe memory node --- # Quick Start Demo ReMe stores agent memory as readable Markdown. Related: [[digest/wiki/memory-as-file.md]] ReMe Studio (Optional) The core installation includes Studio. After starting ReMe, open http://127.0.0.1:2333/ to browse, edit, and search the workspace. To add Studio to a base installation, use pip install "reme-ai[web]". See the ReMe Studio guide for source builds, configuration, and development.
ReMe can run as a local memory service accessed through the CLI, HTTP API, or MCP server, or it can be embedded in the host process through its Python API. Host integrations can add memory guidance, recall, and capture to the agent lifecycle according to the capabilities of each runtime.
ReMe treats memory as files, progressively processing filtered conversation source records and external resources from session/ and resource/ into daily/, then digest/. The default workspace is .reme/ under the current directory; workspace_dir=... selects a different user-owned location.
/ ├── metadata/ # Rebuildable indexes, graphs, catalogs, and caches ├── session/ # Conversation source records and agent sessions │ ├── dialog/ │ │ └── .jsonl # Source messages saved by auto_memory │ └── claude_code/ │ └── .jsonl # ReMe copy used by auto_memory_cc ├── mem_session/ # Generated agent-wrapper sessions/config, not user memory │ ├── agentscope/ │ ├── claude_config/ │ └── codex/ ├── resource/ # External raw materials │ ├── . # Root-level files enter today's daily layer │ └── YYYY-MM-DD/ │ └── . ├── daily/ # Lightly processed memory: daily facts, conversation summaries, resource readings │ ├── YYYY-MM-DD.md │ └── YYYY-MM-DD/ │ ├── .md # Topic-named conversation or resource card │ └── interests.yaml └── digest/ # Long-term memory: personal facts, procedural experience, knowledge nodes ├── personal/ │ └── {topic/event}.md ├── procedure/ │ └── {topic/event}.md └── wiki/ └── {topic/event}.md
ReMe follows a capture → index → consolidate → recall loop. Workspace files remain the durable source of truth; everything under metadata/ is rebuildable.
Search returns matching chunks with line ranges and bounded wikilink neighbors. Optional vector results are fused with BM25 through reciprocal rank fusion (RRF).
ReMe evaluates multi-session and long-context memory with agentic search-and-read workflows. The figures below are the published reference runs in this repository; model, prompt, dataset, and judging details are documented with each benchmark.
ReMe also achieved a 0.580 PROC score across five user personas in the repository's π-Bench evaluation, 2.4% above NanoBot under the same test-model configuration. PROC measures proactive handling of hidden intent, clarification, cross-session preferences and conventions, task dependencies, and underspecified requests.
Plugins are optional Python distributions that contribute Component, Step, or Job backends and configuration. They are installed separately and enabled explicitly by configuration. Daily Paper and Auto Fin are independently packaged plugins; see their documentation for Daily Paper and Auto Fin.
See Plugin Management to install, inspect, validate, enable, and uninstall ReMe plugins.
These guides cover the main user workflows and the runtime contracts implemented by the current code.
Run reme help for the full job list. Common workspace and maintenance commands are:
Thanks to everyone who has contributed to ReMe:
@software{ReMe2026, title = {Remember me, Refine me: Memory Management Kit for Agents}, author = {ReMe Team}, url = {https://reme.agentscope.io}, year = {2026} } ⚖️ License This project is open source under the Apache License 2.0. See LICENSE for details.
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 4, 2026.




