
Genome
io.github.NORTHTEKDevs由 GitHub 帳號 NORTHTEKDevs 發布v1.3.2更新於 Nov 3, 2026
面向AI代理程式的完全本機化記憶:零LLM攝取、語義召回、氣隙隔離、可審計。
AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。
原文描述
Fully local memory for AI agents: zero-LLM ingest, semantic recall, air-gapped, auditable.
概覽
Genome 的本機 MCP 服務;無需登入;STDIO。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Genome,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
GENOME
Open memory for AI agents. Same answer accuracy as Mem0 - but ~1,000× cheaper to store, runs fully offline, and keeps an auditable record.
[tests] [install canary] [PyPI] [License: Apache 2.0] [Python 3.11-3.14] [DOI]
Papers: Do Agents Need an LLM to Remember? (the core evaluation, 2026) and What Does Each Memory Feature Buy? (a measured audit of all five optional features, wins and failures alike, 2026). PDFs in papers/; result tables in benchmarks/AUDIT-RESULTS.md.
Most agent-memory tools (like Mem0) call an LLM on every message to decide what to remember. That's the slow, expensive part - and GENOME's bet is that you don't need it. GENOME just embeds each message locally: no LLM, no API, no network in the write path.
Benchmarked honestly on public datasets (LoCoMo, LongMemEval), GENOME answers just as accurately as Mem0 - while storing memories for a tiny fraction of the cost and running completely offline.
Honest up front: on answer accuracy, GENOME ties Mem0 - we do not claim to beat it there (six independent benchmark configurations confirm parity, none significant in either direction). The advantage is cost, speed, offline operation, and a temporal/auditable record Mem0 can't produce.
See it work
[GENOME storing a two-year timeline and answering point-in-time questions]
Every frame is real output from examples/demo_timeline.py,
captured by tools/render_demo_gif.py. Run it yourself,
no API key required:
The interesting part is step 3. The same question gets three different correct answers depending on when you ask about, because the store keeps when each fact became true rather than overwriting it:
The "thinking about maybe moving to Denver, nothing decided" turn is stored but never becomes an answer: it is a plan, not a durable fact.
How it works
The write path is deliberately dumb and cheap. All the intelligence happens at read time, when there is a query to focus it.
Write: embed locally, store. About 10 ms, zero LLM calls, zero network calls. The embedding is deterministic -- the same text always yields the same vector, with no sampled extraction step deciding what matters -- so what gets stored is a function of the input, and replaying a journal reproduces that store exactly. (Ids and timestamps are stamped per write, so two independent ingests of the same conversation agree on content and vectors, not on record ids.)
Read: exact cosine search within the tenant's scope (no ANN index to build or update), with an optional local cross-encoder reranker.
Bi-temporal layer (opt-in): records each fact at its domain time, the moment it became true in the world, not the moment it was ingested. That is what makes point-in-time questions answerable even when facts arrive out of order.
Why the record can be re-derived
A record that cannot be re-derived is difficult to audit. That property, not accuracy, is the actual argument for this design.
Don't believe it? Prove it yourself
The cost, speed, and offline claims need no API key - measure them on your machine in 60 seconds:
The first run downloads the local embedding model (~90 MB, one time) before printing anything, so expect 30-120 seconds of apparent silence on a cold machine. Every run after that is instant.
It writes memories with your outbound network physically blocked and prints a live pass/fail receipt - 0 network calls, 0 LLM calls, single-digit-ms writes, retrieval that works:
That receipt covers the cost/speed/offline story only. The accuracy-parity with Mem0 claim
is a separate, larger check that needs an LLM key - reproduce it head-to-head on the same
questions with your own key via python benchmarks/head_to_head.py (one OpenRouter key works;
see benchmarks/RESULTS.md for the n=90 / n=205 runs, the paired
significance tests, and the published nulls). The full test suite runs in public CI (badge
above). The pitch isn't "trust me" - it's "run it."
Add persistent memory to your agent in one line (MCP)
GENOME ships a fully-local MCP server - cross-session memory for Claude Desktop, Claude Code, or Cursor with no API key and no data leaving your machine:
Or zero-install via uv: { "command": "uvx", "args": ["--from", "genome-memory[mcp]", "genome-mcp"] }
Tools the agent gets: remember, recall, forget, reset_memories.
Memories persist locally in ~/.genome/memories.db. Full MCP details ↓
GENOME vs Mem0 at a glance
Every number is measured within one harness - same responder, judge, embedder, and top-k;
only the memory layer changes - with paired significance tests. Full detail and per-number
provenance: benchmarks/RESULTS.md. Formatted report:
benchmarks/GENOME-LoCoMo-Report.pdf.
Why it's ~1,000× cheaper: it never calls an LLM to remember
Storing one message costs one LLM call in Mem0, zero in GENOME (just a local embedding). That's not a benchmark you can argue with - it's arithmetic, and it holds no matter which LLM you price it against. At 10,000 users × 50 messages/day (15M messages/month):
The gap survives the cheapest model and grows in production (Mem0 re-sends stored memories
to the LLM as the store fills). Reproduce: python benchmarks/tco_project.py (no API key).
It runs air-gapped
GENOME's default embedder is local. We proved the write path is genuinely offline by blocking all network during writes - they still succeed:
- ~10 ms/message, 0 network calls, 0 LLM calls (
python benchmarks/local_writepath.py) - Mem0 can't do this - it needs an LLM API call to ingest.
That makes GENOME usable on-prem, in regulated environments, or fully offline. It's a yes/no capability, not a price point.
How it works
- Write: embed the message locally and store it. No LLM, no network. (~10 ms)
- Read: vector search over your memories, with an optional local cross-encoder reranker for harder queries.
- Optional bi-temporal layer: track how facts change over time and answer "what was true at time T" - see below.
What determinism buys you
Because nothing on the write path interprets your content, GENOME can do things an LLM-ingest memory system cannot do in principle:
-
Memory firewall (
genome.firewall): tag every write with where it came from (user,agent,tool,web), quarantine low-trust origins from recall, and enforce origin-bound authority - web content can never UPDATE or DELETE what your user said, even when a prompt-injected conflict resolver asks for it. There is also no extraction step for injected content to attack: the write path has no LLM. -
Explainable recall (
genome.explain):explain_search()reports every candidate's dense score, BM25 rank, fused score, and - when it was not returned - the exact reason (parent-filtered, quarantined, beyond the limit). Two runs agree, so a recall bug can be committed as a regression test instead of a shrug. -
Journal + replay (
genome.journal): record every mutation and provably reproduce the store -verify_journal()replays the history and compares canonical hashes. Replay a prefix to roll back; replay into different storage to branch a memory for a what-if run. The journal sits after extraction, so replay is deterministic even if you configured an LLM extractor. Each line chains to its predecessor, so a removed or edited line is detected even when the change cancels out in the final state. -
Multi-agent belief attribution (
record_fact(..., believed_by="agent-a")): agents sharing a store keep their own belief timelines - agent B disagreeing does not clobber agent A's fact - andbelief_conflicts()surfaces disagreements for deliberate resolution instead of silently picking a winner. -
A neutral benchmark harness (
benchmarks/neutral/): run GENOME, Mem0, and a full-context baseline through the same responder, judge, and embedder, with a pairwise McNemar matrix and a full-disclosure block. GENOME is one row in the table, not the house.
Install
The default embedder is local (sentence-transformers/all-MiniLM-L6-v2) - no API key,
works offline; the first run downloads the ~90 MB model once. OpenAI embeddings are
optional for higher-dimensional retrieval.
Dependency footprint, honestly: the core install is numpy, sentence-transformers,
scikit-learn, and rank-bm25. Local embeddings run on PyTorch (pulled in by
sentence-transformers), so it isn't a tiny install - that's the deliberate tradeoff for
offline, zero-cost embedding. Plotting/benchmark-chart deps live in an optional [viz]
extra, not the core. Migrating from Mem0? See
docs/migrating_from_mem0.md.
Quickstart (fully local, no API key)
Memory mirrors Mem0's API (add / search / get / delete / reset) - a near
drop-in swap. To use OpenAI embeddings instead (set OPENAI_API_KEY):
Use it as an MCP server (fully-local memory for any agent)
GENOME ships an MCP server, so any MCP client (Claude Desktop, Claude Code, Cursor, ...) gets persistent cross-session memory that runs entirely on the local machine - no LLM calls, no API keys, no data leaves the box. Most memory MCPs can't say that.
Install with the mcp extra, then add it to your client's config:
Tools the agent gets: remember (store a fact/preference, local + 0 LLM), recall
(semantic search), forget (delete the memory matching a query), reset_memories
(clear a user's memories). Memories persist in ~/.genome/memories.db (override with the
GENOME_MCP_DB env var). Run standalone with genome-mcp or python -m genome.mcp.server.
Run it as an HTTP API
Prefer HTTP? GENOME ships a FastAPI server that mirrors the library 1:1 (add / search /
get / update / delete / reset / synthesize), with an auto-generated OpenAPI spec at
/docs.
Try it locally (keyless, loopback only - one flag makes the "no auth" intent explicit):
Safe by default. The server refuses to serve unauthenticated unless you opt in as
above, and it will not bind a non-loopback interface without a key. To expose it, set an
API key (sent as X-API-Key) - required to bind beyond localhost:
For multi-tenant deployments, set GENOME_REQUIRE_SCOPE=1 to require user_id/agent_id on
every call and disable the global reset. Docker: docker-compose up (needs GENOME_API_KEY
and POSTGRES_PASSWORD; Postgres is published on loopback only). Full guide, including the
Postgres backend and every env var: docs/tutorial_quickstart.md.
TypeScript / JavaScript client
@northtek/genome-memory mirrors the
Python Memory API shape against this server (ESM, Node 20+ or browser):
Full client docs: sdks/typescript/README.md.
The honest results
Same responder + judge + embedder for every system; only the memory layer changes.
What we tested that didn't help (so you don't have to)
We publish our nulls - it's how you know the wins are real:
- Synthesis / consolidation: accuracy-neutral at equal token budget (p = 0.86).
- Hybrid (BM25 + dense) and graph retrieval: hybrid underperformed plain dense on LoCoMo; graph was not validated here.
- Reranking's accuracy gain is embedder-dependent: it reliably improves retrieval hit-rate, but its effect on final answer accuracy depends on the embedder - treat it as a retrieval-quality tool, not a guaranteed accuracy win.
Bi-temporal memory: "what was true at time T"
GENOME can track how facts change over time and answer point-in-time questions - something overwrite-based memory structurally can't do (it only keeps the latest value):
On the TempBelief benchmark it answers as-of queries at 0.870 vs Mem0's 0.676, with the knowledge graph audited at 0.97 precision / 0.96 recall. Caveat: TempBelief is synthetic text with explicit dates; the edge shrinks on natural speech. Real capability, bounded proof.
Optional features
Opt-in; the default path stays LLM-free and local at ingest.
Reranking (local, free, no API):
Reproduce the benchmarks
The LoCoMo and LongMemEval datasets are not bundled (they carry their own licenses -
LoCoMo is CC BY-NC 4.0). See benchmarks/data/README.md to
download them. The first two lines need no dataset and no API keys:
Support and commercial tier
Bugs and questions: issues and discussions. Community support is best-effort - see SUPPORT.md.
GENOME Enterprise is a separate commercial product for regulated and on-premise buyers who have to answer to an auditor for what an AI system knew and when: a tamper-evident hash-chained audit record, point-in-time reconstruction, compliance reports, retention with erasure proofs, RBAC and SSO. Self-hosted and licensed per deployment - there is no hosted version, deliberately, because the value is that your data never leaves. That tier is what funds this one. Evaluating it, or want commercial support on the open core? [email protected]
License
Apache License 2.0 - see LICENSE and NOTICE.
GENOME is free and open source: read it, modify it, self-host it, and embed it in your own applications - commercial use included - under the terms of Apache 2.0. There is no "open core bait and switch" planned: the core stays Apache-2.0.
The Apache-2.0 grant covers the code, not the name - see TRADEMARKS.md, which leads with what you may do without asking. Questions: [email protected].
Copyright 2026 Northtek (FrostByte Digital LLC). mcp-name: io.github.NORTHTEKDevs/genome
來源:README.md,提交 ea76cf9
工具
0版本歷史
2- v1.3.2最新Nov 3, 2026
- v1.2.1Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分