# Repository Briefing: agentscope-ai/ReMe
> Source: https://repoforai.com/repo/agentscope-ai/ReMe (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/agentscope-ai/ReMe
- **Official Docs / Website**: https://reme.agentscope.io/
- **Category**: RAG, Data & Memory (知识库 / 爬虫 / 记忆层)
- **Primary Language**: Python
- **License**: Apache-2.0
- **Engineering Health**: A+ (94/100 · Maintenance 35/35 · Adoption 19/25 · Releases 20/20 · License 20/20)
- **Latest Release**: v0.4.2.3 (2026-11-17) — https://github.com/agentscope-ai/ReMe/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: Docker, Self-Hosted, CLI, MCP, API
- **Momentum**: 3,887 ★ total (+2 24h / +31 7d) · 359 forks
- **Topics**: `agent`, `ai-agents`, `dsh-plugin`, `hermes-plugin`, `memory`, `memoryscope`, `openclaw-plugin`, `proactive`, `qwenpaw`, `rag`, `reme`
- **When to Use**: Best for: Personal assistants and coding agents that need editable, source-linked memory across sessions, with a local workspace and optional model-backed consolidation. Skip if: You only need a vector query backend, require turnkey multi-tenant isolation, or need model-backed processing to stay on premises and have not validated that deployment path.

## Overview
```text
### Architecture & Core Mechanics
ReMe is a file-native agent memory service, not a database that owns the only copy of the corpus. Filtered conversation records in `session/` and raw inputs in `resource/` feed the `daily/` layer; consolidation builds durable personal, procedural, and wiki nodes under `digest/`. The watcher ingests Markdown from `daily/` and `digest/`. The workspace files are authoritative, while `metadata/` holds rebuildable indexes, graphs, catalogs, and caches. Crucially, `reme reindex` rebuilds BM25 and embeddings from already-ingested chunks; it does not replace file ingestion.

The Python 3.11+ package declares FastAPI, FastMCP, and the MCP SDK, alongside `aiofiles`, `httpx`, and `croniter`. Agents can call a local service over CLI, HTTP, or MCP, or embed ReMe via Python. The integration point determines what gets automated: QwenPaw embeds it in process and reuses host lifecycle and model configuration, whereas the OpenClaw plugin adds recall before user-triggered runs and automatic turn capture.

### Key Capabilities & Differentiators
Default recall combines BM25 and wikilink expansion with line-level reads, so an agent can retrieve relevant passages and inspect linked context without loading the whole workspace. `auto_memory` distills turns while keeping filtered sources, `auto_resource` creates source-linked daily cards, and `auto_dream` consolidates memory. Image capture preserves original sources and makes image resources discoverable through daily cards. The Proactive Runtime preview adds event- or cron-triggered work, delegates execution to a runtime such as Codex, and writes results and reminders back into the workspace.

The published LongMemEval cleaned-s reference run reports 89.4% over 500 questions at 44.3K average query tokens. BEAM at 1M context reports 65.0% at 101.8K average query tokens across 700 questions. With Qwen3.8-Max, ReMe Image reports 72.49% on the evaluated MemLens-256K subset (189 of 195 questions) and 60.69% on MobileMem-Omni (1,333 questions from 20 users). These are agentic end-to-end results, not retrieval-only accuracy, latency, or estimates for a different model and workload.

### Trade-offs & Limitations
Compared with a dedicated vector database, ReMe offers more of the memory lifecycle: it preserves source material, organizes notes, consolidates them, and exposes recall to agents. In return, operators must manage a writable workspace and an ingestion pipeline, not just a vector index. Compared with plain Markdown and text search, ReMe adds automated capture and refinement; that is useful when several sessions or agents generate material, but unnecessary if people already curate a small corpus by hand.

Local-first describes storage, not the privacy of every model call. Assess what enabled model providers and agent runtimes receive before feeding them confidential conversations or resources. Back up the authoritative workspace, and test concurrent writers, user isolation, and retrieval load before offering a shared service; the default loopback configuration and published benchmarks do not establish those production properties. Start with BM25 and evaluate embeddings on representative queries rather than assuming the added model dependency and indexing cost will pay off.

### Hardware & Deployment Guide
Use Python 3.11+ with `pip install "reme-ai[core]"`, then run `reme start` at the default `127.0.0.1:2333`. The source build of Studio requires Node.js 22.13+. For containers, use Docker with Compose 2.24.0+, create `.reme` before launching `docker compose up --build -d`, and preserve the host workspace mounted at `/data`. Compose mounts a separate named volume at `/state`, publishes the port on loopback by default, and starts the entrypoint as root to set up state before dropping privileges. On Linux, align `REME_UID` and `REME_GID` with the host user if they differ from the default 1000.

Local file operations, BM25, and wikilink traversal need no LLM credentials. Auto Memory, Auto Resource, Auto Dream, and proactive refresh require model configuration; the shown endpoint is DashScope's OpenAI-compatible API. To enable semantic search, configure `as_embedding` and `embedding_store` in `reme/config/default.yaml` and point the default file store to the embedding store. Release v0.4.2.3 fixed persistence of same-ID transcript corrections, and v0.4.2.2 fixed frontmatter reads so they return the fields rather than only a key count.
```

## Key Capabilities
```text
- Storage: Frontmatter and wikilinks live in Markdown; indexes, graphs, catalogs, and caches under `metadata/` are rebuildable.
- Lifecycle: `auto_memory` preserves filtered JSONL conversation records, `auto_resource` creates source-linked daily cards, and `auto_dream` consolidates memory.
- Recall: BM25 and wikilink expansion surface line-level passages; embeddings are opt-in, not a prerequisite for search.
- Multimodal capture: Conversation images retain their sources, and image resources become searchable daily cards linked to their originals.
- Integration: CLI, HTTP, MCP, and Python APIs complement host plugins that can hook into recall and completed-turn capture.
- Operations: Compose binds to loopback by default and separates the `/data` workspace bind mount from the `/state` named volume.
```

## Quick Start / Clone
```bash
pip install "reme-ai[core]"
```
