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 集成