Hicortex — AI Fleet Memory

io.github.gamaze-labs由 GitHub 帳號 gamaze-labs 發布v0.25.0更新於 Oct 30, 2026

Shared fleet memory for AI agents: nightly self-correction, recall every prompt (supported agents).

發布方自己的服務:Memory.fit

已驗證STDIO僅桌面知識與記憶AI 與機器學習

概覽

AI 產生的概覽

為 AI 程式代理設計的本地優先共享記憶:儲存、整合記憶,並在每次提示中推送相關內容,跨代理與機器共用。

可以做什麼
  • 以關鍵字與向量混合檢索搜尋、讀取和列出記憶,並查看近期記憶
  • 儲存、更新和刪除記憶,並把新內容寫入記憶庫
  • 檢視提煉出的經驗教訓與反思結果,檢查記憶索引和知識圖譜
  • 在提示中注入精簡的召回索引,並維護一份手動編輯的常駐上下文層
  • 每晚把工作階段整合為經驗、關聯和知識圖譜,並提供分析與圖譜儀表板
適用情境
適合多個程式代理或多台機器需要共用同一份關於決策、修正和專案脈絡的記憶,避免反覆詢問與重複說明。也適合希望每次提示都自動推送召回內容、同時讓原始工作階段留在本機的團隊。
執行需求
以本機 Node.js 20+ 程序執行,透過 npx 安裝,並安裝本機常駐程序(macOS 用 launchd,Linux 用 systemd)與 SQLite 儲存。夜間整合需要設定一個 LLM(Ollama、Claude CLI 或 OpenAI 相容的 API 金鑰)。多機部署需在 HICORTEX_SERVER_URL 填入遠端伺服器位址,並在 HICORTEX_AUTH_TOKEN 提供 bearer 權杖;本機伺服器不需權杖。
安裝前請注意
安裝過程會寫入設定,並向多個代理框架安裝外掛與擴充功能,還會向 Claude Code 註冊 MCP 工具。夜間整合會把工作階段資料傳送給所設定的 LLM,請審慎選擇該提供者。工具可以寫入、更新和刪除記憶,首次夜間執行預設匯入最近 7 天的工作階段。使用遠端伺服器需要 HICORTEX_AUTH_TOKEN 密鑰。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Hicortex — AI Fleet Memory,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Hicortex — AI Fleet Memory

[Hicortex MCP server – quality and maintenance score on Glama]

[Hicortex dashboard — live memory analytics]

[npm] [Downloads] [License: PolyForm NC] [Node]

Shared memory for AI agents — it corrects itself overnight, and what one agent learns, the whole fleet knows. One memory across every agent, every project, every machine — they stop assuming and start knowing.

  • One brain, every harness — Claude Code, Hermes, OpenClaw, Pi, OpenCode, and any MCP-compatible agent share the same memory.
  • Pushed, not pulled — in every supported coding agent, a compact recall index is injected on every prompt, so the decisions, corrections, and context an agent needs are already in front of it. No re-explaining, no copy-paste, nothing to maintain. Zero LLM calls per turn — no API cost or rate-limit hit from recall.
  • Consolidates overnight — each night it reads the day's sessions, distills what matters, and turns it into Learnings, links, and a knowledge graph.
  • Local-first — raw sessions never leave the machine; only distilled memory is stored.

Install

bash
npx @gamaze/hicortex initClaude Desktop: one "yes" during init.

Auto-detects your environment, configures one LLM (Ollama, the Claude CLI, or an API key), installs a local daemon (launchd on macOS, systemd on Linux), and registers MCP tools with Claude Code.

For multi-machine setups, point thin clients at a shared server — no local DB or LLM on the clients:

bash
npx @gamaze/hicortex init --server https://your-server.example.com

init auto-detects the other harnesses and installs their clients: a Pi extension (~/.pi/agent/extensions/hicortex.ts — pushed recall, identity + lessons, the ten tools; or copy pi-extension/hicortex/index.ts there manually), an OpenCode plugin (~/.config/opencode/plugins/hicortex.ts — the same trio; or copy opencode-plugin/hicortex/index.ts there manually), the Hermes plugin, and the OpenClaw plugin. pi-mcp-adapter remains a generic MCP escape hatch for any harness (verified against the SSE endpoint) — Pi no longer needs it. See the install docs.

How it works

CAPTURE (nightly)        CONSOLIDATE (nightly)             RECALL (every prompt)sessions → denoise       score · reflect · link            a compact index of→ POST /distill          decay · dedup · supersede         relevant memories is                         (one model, all phases)           pushed into the prompt                                                           → full text lazy-loaded

Memories strengthen when agents use them, fade when they don't, and link to related ones automatically. Retrieval is hybrid BM25 + vector search — zero-LLM at query time.

The first nightly run captures the last 7 days of sessions by default (not your entire history) — run hicortex nightly --recapture-window <days> once to import more.

Features

  • Per-prompt recall push — relevant memory lands in context every turn; the agent fetches full content with hicortex_get only when it needs it.
  • Memory analytics at /dashboard — growth, recall adoption, and a nightly digest of what was learned.
  • Knowledge graph at /viz — memories clustered by domain, connected by relationship edges.
  • Domains & tags — multi-tag classification with a configurable vocabulary; your categories drift with your data.
  • Learnings from reflection — nightly reflection extracts general, reusable Learnings, not just Experience logs.
  • Self-correcting store — every night, stale facts are rewritten in place with dated provenance; near-duplicates resolve into one (verbatim copies kept free, merges recoverable); superseded decisions are demoted, never re-surfaced. No zombie memory.
  • Unprompted by design — coding agents get recall injected via hooks; instruction-capable clients (Claude Desktop, Cursor-class) get standing instructions, so memory is used without being asked. Plain MCP clients keep full search.
  • Self-calibrating — recall, decay and merge boundaries report their own statistics; tuning is measured, never guessed.
  • Standing context layer — hand-edited "who you are / how to work" Markdown, injected every session, never decayed.

MCP

Nine MCP tools — hicortex_search, hicortex_get, hicortex_recent, hicortex_ingest, hicortex_lessons, hicortex_index, hicortex_graph, hicortex_update, hicortex_delete — plus a /learn skill to save explicit learnings. Full reference →

Stack

TypeScript · Node.js 20+ · SQLite + sqlite-vec + FTS5 (semantic + full-text in one DB) · ONNX embeddings (bge-small-en, CPU) · MCP over HTTP/SSE · one configurable LLM (Ollama, Claude CLI, or any OpenAI-compatible endpoint).

Development

bash
git clone https://github.com/gamaze-labs/hicortex.gitcd hicortex

AGENTS.md at the repository root defines the machine-checkable verification contract. "Done" means the full command chain exits with code 0. The contract mirrors what CI runs. Contributors — human or agent — run it before claiming work complete.

Contributions welcome — see CONTRIBUTING.md.

Links

License

Personal and noncommercial use is free under the PolyForm Noncommercial License 1.0.0. Commercial use requires a per-seat license — see hicortex.gamaze.com.

來源:README.md,提交 ba1cd1c

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

8
  1. v0.25.0最新Oct 29, 2026
  2. v0.24.0Oct 7, 2026
  3. v0.23.2Sep 27, 2026
  4. v0.23.1Sep 26, 2026
  5. v0.23.0Sep 23, 2026
  6. v0.22.3Sep 21, 2026
  7. v0.22.0Sep 17, 2026
  8. v0.20.8Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Memory 整合