agentscope-ai/ReMe
File-native agent memory for durable, searchable knowledge across sessions.
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & 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.
metadata/ are rebuildable.auto_memory preserves filtered JSONL conversation records, auto_resource creates source-linked daily cards, and auto_dream consolidates memory./data workspace bind mount from the /state named volume.Personal assistants and coding agents that need editable, source-linked memory across sessions, with a local workspace and optional model-backed consolidation.
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.
Quick Start & Installation
pip install "reme-ai[core]"
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| ReMe ★ | 3.9k | +31 | Python | Apache-2.0 | File-native agent memory for durable, searchable knowledge across sessions. |
| OpenViking | 43.2k | +283 | Python | AGPL-3.0 | A directory-scoped RAG database for inspectable agent knowledge and memory |
| mem0 | 70k | +509 | Python | Apache-2.0 | A vector-backed memory layer for AI agents that need to recall past conversation |
| hindsight | 64.9k | +1.1k | Python | MIT | A bank-based memory service that turns agent interactions into durable knowledge |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/agentscope-ai/ReMe.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about ReMe
How do I integrate ReMe, and does MCP alone enable automatic memory capture?
Do I need a GPU, and how should I size a deployment?
Can we self-host ReMe commercially and keep sensitive data on premises?
When is ReMe a better fit than a vector database or plain Markdown with search?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy