← Back to Leaderboard
Nchunxiaoxx

chunxiaoxx/nautilus-compass

Local-first hybrid retrieval and drift detection for agent memory over MCP

Engineering Health (Methodology)
B+ · 69/100
Maintenance Activity
● Updated 2d ago
Latest Release
v3.3.2
Commercial License Check
Custom / Check Repo

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

Maintenance35/35
Fork Adoption8/25
Release Cadence20/20
License Clarity6/20
DockerSelf-HostedLocal AIMCP
Total Stars
★ 1,181
24h Growth
+0
7d Growth
+0
Forks
36

GitHub Star History

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

chunxiaoxx/nautilus-compass Star History (2026-05-07 - 2026-12-03) ALL-TIME STAR HISTORY (2026-05 – 2026-12) +1.2k in 210d · avg +6/day 1.3k 667 0 2026-05-07: ★ 12026-05-23: ★ 22026-06-06: ★ 42026-06-20: ★ 42026-07-04: ★ 42026-07-18: ★ 42026-08-01: ★ 52026-08-15: ★ 62026-08-29: ★ 72026-09-12: ★ 512026-09-26: ★ 5712026-10-10: ★ 1,2502026-10-24: ★ 1,2532026-11-06: ★ 1,2552026-11-19: ★ 1,2582026-12-03: ★ 1,181 ★ 1.2k 2026-05 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Compass is a Python agent-memory layer, not a general-purpose vector database. It embeds raw text locally with BGE-m3 without an extraction LLM or knowledge graph. At query time, single-session and knowledge-update questions route to turn-window chunks; other queries use session-level retrieval that fuses BM25 and dense rankings with reciprocal rank fusion (RRF). This preserves fine-grained evidence without forcing every query through a turn-level index.

In Claude Code, UserPromptSubmit injects recalled memory, a drift signal, and profile facts into the prompt context. PostToolUse writes observations during the session, and Stop writes a session summary. The same memory capabilities are available through an MCP server; the Python package also ships an A2A adapter. The Docker build starts from python:3.12-slim and installs FastAPI, Uvicorn, python-jose[cryptography], and the project's e2ee extra alongside modelscope and fast-download.

Key Capabilities & Differentiators

MCP separates observation ingestion (ingest_obs), hybrid recall (recall), time-bucketed session search (session_search), profile aggregation (profile), and drift scoring (drift_check). Drift scoring compares prompts with anchors from failure transcripts using BGE-m3 cosine similarity; the held-out evaluation produced AUC 0.83. A missing anchors.json triggers an explicit error and alert instead of returning a normal-looking low-risk result.

The project-run LongMemEval-S retrieval test across 500 questions recorded P@1 0.890, P@5 0.978, and MRR 0.929. Separately, session summary cards and a date-anchored timeline helped the end-to-end run reach 75.4% on all 500 questions without changing retrieval. For evaluation workflows, v3.3.0 packaged assay with Verdict Schema v2 validation and migration from v1; NACRE judge v1 is a separate 1.7B LoRA judge artifact, not a dependency of local recall.

Trade-offs & Limitations

The strongest comparison with mem0 2.0.19 is retrieval: on the same 500 LongMemEval-S questions, with infer=False on both sides, Compass scored 0.890/0.978/0.929 versus 0.774/0.916/0.834 for P@1/P@5/MRR. Each system used its own default embedder, so this was a comparison of configured systems, not an isolated test of retrieval logic. Compass's 75.4% end-to-end score and mem0's self-reported 94.4% come from different harnesses and should not be ranked directly. The comparison provides no matching LongMemEval-S retrieval results for Letta or Zep.

Local ingestion avoids extraction API calls, but shifts the cost to model residency, indexing, and maintenance. First recall after daemon idling can take up to 90 seconds; budget for cold starts rather than relying on warm-daemon timings. Raw-session retention and prompt injection of retrieved material also warrant explicit access, retention, and trust policies. The comparison table says “Mod. MIT,” but license metadata is unspecified; verify the terms in LICENSE and LICENSE-ANCHORS before commercial use or redistribution.

Hardware & Deployment Guide

For a local Claude Code trial, the clone-based path uses install.sh to wire hooks and daemon_start.sh to start BGE-m3. For a packaged MCP rollout, use v3.3.2 or later and smoke-test compass-mcp from outside the checkout: v3.3.2 fixed a missing mcp_durable subpackage and imports that only worked from the repository root. Validate that a newly written observation can be recalled; setting COMPASS_USE_INOTIFY=0 disables discovery of new files. CPU works for the retrieval benchmark; GPU is recommended for the full 500-question run, but no minimum VRAM is established.

Docker is a self-host option; the visible manifest identifies the base image and build dependencies but does not establish the final entry point or port. For a networked rollout using the v14 endpoints, avoid affected PyPI versions 2.3.0 through 3.3.0. The v3.3.1 patch requires verified Bearer JWTs and server-controlled project mappings via COMPASS_V14_PROJECT_MAP for /v1/v14/recall and /v1/v14/ingest_obs. The hosted beta is a separate option: it exposes https://compass.nautilus.social/mcp/ over streamable HTTP with scoped Bearer tokens.

Ingestion: Embeds raw text locally with BGE-m3 without an extraction LLM or graph.
Retrieval: Routes single-session and knowledge-update queries to turn windows; session-level search fuses BM25 and dense rankings via RRF.
Drift detection: Scores prompts against failure-transcript anchors with BGE-m3 cosine similarity; held-out AUC was 0.83 in the project evaluation.
Agent integration: Claude Code hooks automate recall and writing, while MCP serves other clients and the Python package includes an A2A adapter.
Verification: The assay toolkit validates Verdict Schema v2 at structural, semantic, anchoring, and consistency levels.
Release readiness: v3.3.1 enforces JWT authentication and server-side project mapping on two v14 routes; v3.3.2 fixes startup from a pip-installed compass-mcp.
Best For

Agent teams that need searchable session history, local BGE-m3 embeddings, and a shared MCP interface, and can validate cold starts and access boundaries before rollout.

Skip If

You need a general-purpose vector database, tight first-request latency on untested hardware, or clearly established commercial redistribution terms without further review.

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

Quick Start & Installation

DockerSelf-HostedLocal AIMCP
pip install nautilus-compass
# ships the CLI, the MCP server, the A2A adapter and session tools:
#   nautilus-compass · compass-mcp · compass-a2a
#   compass-drift-history · compass-session-search · compass-session-writer

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
nautilus-compass ★1.2k—Python—Local-first hybrid retrieval and drift detection for agent memory over MCP
EverOS14k+41PythonApache-2.0Local Markdown and indexes give AI agents portable long-term memory
LEANN13.9k+33PythonMITGraph-based vector retrieval that cuts local RAG storage by recomputing embeddin
Scrapling107.9k+1.8kPythonBSD-3-ClausePython HTTP and browser crawlers that turn websites into RAG-ready Markdown

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/chunxiaoxx/nautilus-compass.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.

chunxiaoxx/nautilus-compass Star History on RepoForAI

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

Frequently Asked Questions about nautilus-compass

How does an agent integrate with Compass?

Claude Code can use hooks for prompt-time recall, mid-session writes, and end-of-session summaries. Other clients can call memory tools over MCP without adopting those hooks. The hosted endpoint uses streamable HTTP with a Bearer token; the PyPI package provides the compass-mcp entry point for self-hosting.

Can I run it on CPU or on a machine with 16 GB of memory?

No fixed VRAM requirement or tested 16 GB capacity limit is established. The BGE-m3 retrieval benchmark can run on CPU, with a GPU recommended for the full 500-question run. Measure cold-start and steady-state latency separately, then test with your expected session volume and concurrency. If you also run a generator or judge locally, budget for that workload separately.

Can we self-host it commercially or redistribute a bundled image?

A self-hosting path exists, but that does not establish commercial-use or redistribution rights. The comparison table labels the license “Mod. MIT,” while the license metadata is unspecified. Review LICENSE and LICENSE-ANCHORS, and verify the terms for any model weights and datasets you plan to deploy.

When should we choose Compass over mem0?

Choose Compass if local BGE-m3 recall, MCP integration, and drift checks are requirements. Its 500-question retrieval comparison favored Compass over mem0 2.0.19, but the systems used different default embedders and that experiment did not establish an end-to-end advantage. Test answer quality, latency, and isolation on your own workload before switching.

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