openmemind/memind
Java memory engine for agents that need context 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
Memind is a multi-module Java memory engine, not a standalone vector database. It retains raw sources, extracts structured memory items, and separates USER memory, such as preferences and profiles, from AGENT memory, such as directives and reusable task experience. Insight Trees distill memories from Leaf to Branch to Root; Memory Graphs represent relationships, and Memory Threads organize task history for replay. Retrieval can surface both source evidence and higher-level insights.
memind-core can run in process through Memory.builder() or Spring Boot starters, or behind memind-server through REST, HTTP MCP, and SDKs. Spring AI initializes provider beans; Memind config selects the default chat and embedding beans and can override chat routing for stages such as ITEM_EXTRACTION and THREAD_ENRICHMENT. JDBC plugins cover SQLite, MySQL, and PostgreSQL. The default Compose setup pairs SQLite with a fallback file-backed vector store.
Key Capabilities & Differentiators
Memind ingests conversations, documents, images, audio, tool calls, and task histories. Retrieval can draw on raw sources, memory items, insights, graphs, and threads, using vector search, BM25, and temporal signals. Optional Deep Retrieval adds query expansion, sufficiency checking, and reranking. The default chat and embedding examples use openai/gpt-4o-mini and openai/text-embedding-3-small through OpenRouter; direct OpenAI or another compatible endpoint requires the appropriate base URL and provider-specific model names.
LongMemEval results are 84.20% overall versus 83.00% for EverMemOS, with 1,615.11 reported context tokens versus 2.8k. The clearest category gains over EverMemOS are multi-session recall (77.44% versus 73.68%) and temporal reasoning (79.45% versus 77.44%). The evaluation module also provides LoCoMo and PersonaMem profiles and can run ingestion, search, answering, and grading as separate stages.
Trade-offs & Limitations
Choose Memind over a flat retrieval stack when an agent needs durable preferences, reusable task experience, or context assembled across sessions. That structure adds model-dependent work during ingestion, and optional Deep Retrieval adds query-time work. Budget separately for extraction throughput, retrieval latency, and provider usage; keeping raw inputs alongside derived memories also makes retention planning more important. The local SQLite and file-vector-store setup is a useful trial baseline, not evidence of production concurrency or storage limits.
The overall LongMemEval lead does not extend to every task: EverMemOS scores 97.14% versus Memind’s 93.81% on single-session user recall and 89.74% versus 88.46% on knowledge updates. Results use GPT-4o-mini as a judge and align baseline settings where possible, so test against your own workload before treating the ranking as a migration signal. The Compose admin UI has no built-in authentication and should not be exposed directly to public networks.
Hardware & Deployment Guide
For a local trial, install Docker with Compose, copy .env.example to .env, and configure chat and embedding access via OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_CHAT_MODEL, and OPENAI_EMBEDDING_MODEL. Run docker compose up -d --build. The UI is on port 8080; the server on 8366 exposes /open/v1, /admin/v1, and /mcp. /open/v1/health checks server availability, not model credentials, so verify actual ingestion and retrieval before relying on the service.
Compose persists SQLite and the fallback vector store in memind-data at /app/data; docker compose down -v deletes the volume. Running from source requires Java 21 and Maven, plus Node.js 20.19+ or 22+ and pnpm for the UI. The default model path uses an external API: self-hosting the memory service does not by itself make it offline or keep model inputs local. Release 0.2.0 added graph relationships, thread replay, and multimodal raw-data ingestion, and improved insight and temporal extraction.
spring.ai.* configures providers; memind.ai.* selects chat and embedding beans with optional per-stage chat overrides./mcp, SDKs, and embedded Java support both service and in-process deployments.memind-data at /app/data for SQLite and the fallback file-backed vector store.Teams building persistent coding agents, assistants, or workflow agents that need separate user and agent memory, task replay, and recall backed by source data, through Java embedding or a shared REST/MCP service.
You only need document-chunk retrieval, need an authenticated public admin console out of the box, or require an offline stack without separately setting up and validating a model endpoint.
Quick Start & Installation
docker compose up -d --build
Comparison vs. Top RAG, Data & Memory Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| memind ★ | 905 | — | Java | Apache-2.0 | Java memory engine for agents that need context across sessions |
| hindsight | 64.7k | +884 | Python | MIT | A bank-based memory service that turns agent interactions into durable knowledge |
| Memori | 17.9k | +337 | Python | — | An SDK-based agent memory layer for persistent state across sessions. |
| claude-mem | 121.7k | +1.4k | TypeScript | Apache-2.0 | Hook-driven memory and hybrid search for coding agents that need cross-session r |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/openmemind/memind.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about memind
How should an existing application connect to Memind?
/open/v1 for an out-of-process application, HTTP MCP at /mcp for a compatible agent, or the embedded Memory runtime if your application is already in Java. The embedded example calls addMessages and retrieve with the same user–agent memory ID. For agent plugins, check which session events they capture and when they inject recalled context.Do I need a GPU, and what should I measure before sizing a deployment?
Can we run Memind commercially, and what does self-hosting cover?
When would you choose Memind over EverMemOS, MemOS, Mem0, or plain RAG?
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