← Back to Leaderboard
Mopenmemind

openmemind/memind

Java memory engine for agents that need context across sessions

Engineering Health (Methodology)
B+ · 65/100
Maintenance Activity
● Updated 3mo ago
Latest Release
0.2.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance12/35
Fork Adoption16/25
Release Cadence17/20
License Clarity20/20
DockerSelf-HostedMCPAPI
Total Stars
★ 905
24h Growth
+0
7d Growth
+0
Forks
97

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

openmemind/memind Star History (2026-03-18 - 2026-12-03) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +904 in 260d · avg +3/day 956 478 0 2026-03-18: ★ 12026-04-04: ★ 1652026-04-25: ★ 5192026-05-16: ★ 7302026-06-06: ★ 8772026-06-27: ★ 8822026-07-18: ★ 8842026-08-08: ★ 8862026-08-29: ★ 8912026-09-19: ★ 8962026-10-10: ★ 8982026-10-31: ★ 9002026-11-16: ★ 9052026-12-03: ★ 905 ★ 905 2026-03 2026-07 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & 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.

Memory scope: USER stores profiles and preferences; AGENT retains directives, tool experience, and resolved tasks.
Memory structure: Insight Trees distill Leaf → Branch → Root summaries, while graphs preserve relationships and threads support replay.
Retrieval: Vector, BM25, and temporal signals complement optional query expansion, sufficiency checks, and reranking.
Model routing: spring.ai.* configures providers; memind.ai.* selects chat and embedding beans with optional per-stage chat overrides.
Integration: REST, HTTP MCP at /mcp, SDKs, and embedded Java support both service and in-process deployments.
Local persistence: Compose mounts memind-data at /app/data for SQLite and the fallback file-backed vector store.
Best For

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.

Skip If

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.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCPAPI
docker compose up -d --build

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
memind ★905—JavaApache-2.0Java memory engine for agents that need context across sessions
hindsight64.7k+884PythonMITA bank-based memory service that turns agent interactions into durable knowledge
Memori17.9k+337Python—An SDK-based agent memory layer for persistent state across sessions.
claude-mem121.7k+1.4kTypeScriptApache-2.0Hook-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.

Raw .md ↗
curl -sL https://repoforai.com/repo/openmemind/memind.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

openmemind/memind Star History on RepoForAI

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?

Use REST under /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?

The default API-backed setup does not require a local GPU for model inference. Size the service against JVM memory, concurrent ingestion and retrieval, local storage growth, and provider limits. Measure extraction and retrieval separately: chat and embedding calls, and optional Deep Retrieval steps, can have different cost and latency profiles. If you host the model endpoint yourself, GPU and VRAM requirements depend on that model and its serving configuration.

Can we run Memind commercially, and what does self-hosting cover?

Apache-2.0 permits commercial use and self-hosting, subject to its terms, including applicable notice requirements when redistributing. Model provider terms and data handling are separate. Keep the unauthenticated admin UI off public networks, and verify what conversation, document, and tool data is sent to your configured model endpoint.

When would you choose Memind over EverMemOS, MemOS, Mem0, or plain RAG?

In the listed LongMemEval comparison, Memind scores 84.20% overall versus EverMemOS at 83.00%, MemOS at 77.80%, and Mem0 at 66.40%. EverMemOS scores higher on single-session user recall and knowledge updates, and the comparison uses GPT-4o-mini as a judge with baseline settings aligned where possible. Evaluate on your own sessions before switching; if you only need source passage retrieval, a simpler RAG pipeline avoids the extra memory extraction and organization stages.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining openmemind/memind? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature openmemind/memind on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

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

Saved in your browser · Export Markdown RFC tables or jump into /vs compare