← Back to Leaderboard
MMirix-AI

Mirix-AI/MIRIX

A self-hosted multi-agent memory API for conversation recall and reusable task experience

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
B+ · 73/100
Maintenance Activity
● Updated 23d ago
Latest Release
Rolling commits (main)
Commercial License Check
Apache-2.0 · Commercial Friendly

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

Maintenance31/35
Fork Adoption16/25
Release Cadence6/20
License Clarity20/20
DockerSelf-HostedAPI
Total Stars
★ 3,525
24h Growth
+0
7d Growth
+5
Forks
277

GitHub Star History

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

Mirix-AI/MIRIX Star History (2025-06-29 - 2026-12-04) ALL-TIME STAR HISTORY (2025-06 – 2026-12) +3.5k in 523d · avg +7/day 3.7k 1.9k 0 2025-06-29: ★ 12025-08-02: ★ 7692025-09-06: ★ 1,3382025-10-11: ★ 1,4542025-11-15: ★ 2,2662025-12-20: ★ 2,7522026-01-24: ★ 3,1722026-02-28: ★ 3,2332026-04-04: ★ 3,2902026-05-09: ★ 3,3482026-06-13: ★ 3,3812026-07-18: ★ 3,3992026-08-22: ★ 3,4162026-09-26: ★ 3,4352026-10-31: ★ 3,4532026-12-04: ★ 3,525 ★ 3.5k 2025-06 2026-03 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

MIRIX separates long-term memory from the agent that serves the user. A client submits user- and session-scoped messages, including tool calls and results, and a configured meta-agent coordinates six specialized memory agents: core, episodic, semantic, procedural, resource and Knowledge Vault. The caller can retrieve relevant memories against a new conversation. The Python stack includes FastAPI, Uvicorn and SQLAlchemy; Docker Compose provisions the API, React dashboard, PostgreSQL with pgvector and Redis Stack.

Optional Neo4j graph memory changes the retrieval path for episodic and semantic memories. It represents entities as anchors and facts as n-ary frames with named roles, each backed by citations to source memory rows. The graph is off by default, so teams can adopt the REST API or Python client without taking on a graph database.

Key Capabilities & Differentiators

MIRIX supports text, images, voice and screen captures, though screen observation belongs to its earlier desktop-assistant positioning rather than being a prerequisite for API integration. PostgreSQL supports BM25 full-text search alongside vector similarity. The SDK example configures generation and embeddings separately using Google AI, with gemini-3.6-flash and gemini-embedding-001 at 768 dimensions for embeddings. OpenAI and Anthropic SDKs are listed as dependencies, but that alone does not establish which models are supported in each role.

POST /memory/auto_dream reviews and consolidates selected memories. experience covers episodic, semantic and Knowledge Vault entries, while procedural mode can distill recent sessions for a specified meta-agent. dry_run reports what would be processed without applying updates. With graph memory enabled, Auto-Dream refines the graph by default; set graph_only to false when the run should also process stored memories.

Trade-offs & Limitations

Compared with a single vector store, MIRIX distinguishes what happened, what is known and what an agent learned to do. That separation is useful when an assistant must recall user facts and reuse prior task experience, but it adds model configuration and consolidation behavior to test. Neo4j adds source provenance for extracted facts at the cost of another datastore and index to operate. Start without it unless provenance or cross-entity retrieval is important to the workload.

Self-hosting puts long-term storage under operator control, not necessarily inference: configured remote providers still process the data sent to them. Budget for model calls as well as database growth, and test whether consolidation preserves important details before allowing it to write. The evaluation names mem0, Graphiti and other baselines across conversational recall and document QA, but supplies no numeric scores to support a comparative ranking.

Hardware & Deployment Guide

Start with docker compose up -d --pull always. The documented local endpoints are the dashboard on port 5173 and API on 8531. Create an API key in the dashboard, export MIRIX_API_KEY, and install mirix-client for Python integration. The sample uses separately configured remote generation and embedding endpoints, so it does not require local GPU inference and is not an air-gapped setup.

Graph mode requires Neo4j 5.23 or newer; the graph Compose profile supplies Neo4j 5.26 with APOC. Set MIRIX_NEO4J_PASSWORD and enable MIRIX_ENABLE_GRAPH_MEMORY. Fresh databases get the schema at startup, but existing databases require explicit SQL migrations; some concurrent index steps must run outside a transaction. The v0.1.3 release added multi-user support to the SDK and desktop app, while v0.1.6 marked the shift to a standalone memory API for other agents.

Memory model: Six dedicated agents manage core, episodic, semantic, procedural, resource and Knowledge Vault memories.
Ingestion: MirixClient.add accepts session-scoped conversations with tool calls and tool results; retrieve_with_conversation retrieves against the current conversation.
Search: PostgreSQL-native BM25 and vector similarity with pgvector; Redis Stack is provisioned for caching and vector search.
Provenance: Optional Neo4j hypergraph represents n-ary facts with named entity roles and citations to source memory rows.
Consolidation: POST /memory/auto_dream supports per-component modes, an experience mode and dry_run inspection without writes.
Deployment: Docker Compose starts the API, React dashboard, PostgreSQL and Redis Stack; existing schemas need explicit SQL migrations.
Best For

Teams adding persistent memory to an existing agent that needs to recall user facts, retrieve past tool outcomes and reuse task experience across sessions.

Skip If

You only need document retrieval, cannot operate PostgreSQL and Redis, or need offline inference without separately validating local generation and embedding endpoints.

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

Quick Start & Installation

DockerSelf-HostedAPI
docker compose up -d --pull always

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
MIRIX ★3.5k+5PythonApache-2.0A self-hosted multi-agent memory API for conversation recall and reusable task e
nanobot50.5k+157PythonMITA self-hosted Python gateway for personal AI across web, terminal and chat.
hermes-agent268.1k+1.5kPythonMITSelf-hosted Python agent with persistent memory and automation across chat and C
daily_stock_analysis75.9k+870PythonMITA Python Agent workbench for multi-market watchlist research and scheduled repor

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/Mirix-AI/MIRIX.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.

Mirix-AI/MIRIX Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about MIRIX

How do I attach MIRIX to an existing agent?

Create a service API key in the dashboard, configure the meta-agent with generation and embedding settings, then use MirixClient.add to submit messages under a user_id and session_id. The sample submits tool calls and tool results as part of the conversation; MIRIX does not need to execute those tools to record their outcomes. Use retrieve_with_conversation to fetch relevant memories for the calling agent.

Do I need a GPU, and what should I size first?

The documented Google AI configuration runs model inference through remote endpoints, so the MIRIX host does not need a GPU for that path. Size CPU, RAM and disk for the Python API, PostgreSQL, Redis Stack and dashboard, then account for Neo4j separately if enabled. Memory volume, index size, concurrent requests and consolidation frequency are useful sizing inputs. Local model serving is a separate concern; no fixed VRAM requirement is established.

Can we use it commercially, and does self-hosting keep all data on-premises?

Apache-2.0 permits commercial use and self-hosting; preserve the required license and notices when redistributing. Check model-provider terms separately. Self-hosting the database does not mean prompts, images or embeddings are processed locally: review what is sent to the configured generation and embedding endpoints, and set access, retention and deletion policies for stored conversations.

How should we compare MIRIX with mem0, Graphiti or a simpler vector store?

Against a single-store retrieval pattern, test whether separating factual, episodic and procedural memories improves answers or task completion enough to justify more model calls and services. A-Mem, Graphiti, MemoryBank, mem0 and HyperMem are evaluation baselines, but the available benchmark summary does not give numerical scores. Compare the same workload with graph memory off and on, and measure retrieval quality, request cost and the effect of consolidation on old or conflicting facts.

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 Mirix-AI/MIRIX? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Mirix-AI/MIRIX 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