
M1nd
io.github.maxkle1nz由 GitHub 账号 maxkle1nz 发布v1.5.0更新于 Oct 24, 2026
The shell around your coding agent: a neuro-symbolic code graph with calibrated trust, via MCP.
概览
为编码助手提供本地代码图谱,用于浏览仓库、评估改动影响,并跨会话回忆有证据关联的发现。
- 可以做什么
- 为仓库构建本地神经符号图谱,并提供 north 用于整体定位、seek 用于查找候选代码、impact 与 why 用于编辑前查看相邻节点、surgical_context 用于获取有界源码片段。memorize 以仓库相对路径和来源信息保存结论,boot_memory 与 trail_resume 可在后续会话中回忆这些结论。回答会附带信任信号、reverify 或 abstain 判定以及明确的缺口。本地服务端 owner 可与接入的客户端共享同一张图谱,重叠警告仅供参考。
- 适用场景
- 适合在陌生仓库中工作、规划跨文件改动,或需要让多次助手会话延续此前发现时使用。若只是很小的修改或精确字符串查找,直接读文件或用 ripgrep 可能就够了。
- 运行要求
- 以本地 stdio 进程在用户机器上运行,仅限桌面端。需要 Node.js 18+、可读取的仓库,以及另行安装的已签名原生二进制文件。环境变量 M1ND_WORKSPACE_ROOT 用于把图谱绑定到工作区根目录。图谱查询不需要 LLM API 密钥;安装、更新、可选的模型下载以及联网的文档提供方可能使用网络。
安装
在 SourceWeft 中
- 打开 控制台中的 M1nd,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Give your coding agent a map it can check
m1nd is a local code graph and evidence-linked memory for MCP coding agents. Find connected code, inspect the impact of a change, and carry verified findings into the next session. Answers include trust signals and explicit gaps so your agent knows what still needs checking.
Built for developers working across unfamiliar repositories, multi-file changes, or repeated agent sessions. Use your existing MCP host; the runtime is Rust and the license is MIT.
[Published npm version] [CI] [MIT license]
Get started · Workflows · Limits · Documentation
Why add it to your agent?
- Start with the repo's structure.
northcombines task context, bounded source excerpts, binding trust, prior memory, and a suggested next move.seekfinds candidates;impacthelps inspect their neighbors before editing. - Keep findings attached to code.
memorizestores claims with evidence paths and provenance. The next session can recall them and check whether they still apply. - Share context across agents. A served local owner can share one graph with attached clients. Presence and overlap warnings help agents coordinate; they are advisory, not locks.
- See uncertainty.
reverify,abstain, andinsufficient_evidenceare useful results. A graph connection is a reason to inspect code, not proof that a change is safe.
The graph and memory live on your machine. m1nd does not require an LLM API key for graph queries. Installation, updates, optional model downloads, and network-backed document providers can use the network or transmit documents to a configured endpoint; your MCP host has its own data policy.
Get started
Version matters: GitHub/native 1.6.5, crates.io packages, and npm 1.6.5 are published from immutable commit 363bc97f2336c73e90802916804dccd2109c5746; npm latest is 1.6.5 as of 2026-10-12. The learning-event separation merged after that release in PR580 is Unreleased, even though source package versions still say 1.6.5.
Published 1.6.5: get a first result
You need Node.js 18+ and a repository you can read. Install the signed native 1.6.5 artifact, then run this POSIX-shell recipe from your repository:
first-minute discovers a covering served owner first. Otherwise, the matching wrapper/native runtime prepares only the exact launcher-granted repository in an external private cache. Source files remain inputs. Only when reusing the automatic isolated cache does the CLI refresh the declared root before retrieval. Attached-owner freshness follows the owner's own semantics; inspect that owner's version, repository binding, and freshness rather than inferring them from the selected client binary. Check runtime.boot, returned source locations, and gaps. This is not authority to create a shared brain, move a binding, or call generic ingest.
To connect an MCP host, follow the 1.6.5 quick start. Direct stdio needs an explicit workspace grant and an existing external private runtime; a shared owner has separate preparation and authority requirements. See agent autonomy.
Historical pinned 1.6.3: install, prepare, connect
You need Node.js 18+, an MCP host, and a repository. First install the signed native 1.6.3 artifact; that guide uses cosign and an exact release URL. The prebuilt 1.6.3 release covers Linux x86_64 and macOS x86_64/ARM64. Run this POSIX-shell recipe from the repository you want to use; it deliberately pins the wrapper:
Replace claude with your host, such as codex or cursor. Follow the printed instructions: some host-managed configuration and hooks are printed for you to install, not written automatically. Restart or reconnect the host after configuration changes. See the host integration matrix for host-specific behavior.
Before reconnecting, add M1ND_RUNTIME_DIR to the generated MCP server environment with the same absolute path printed by echo "$M1ND_RUNTIME_DIR". Keep the generated M1ND_WORKSPACE_ROOT. hosts apply does not add the runtime selector for you; without it, a host launched elsewhere can open a different graph.
This recipe targets native 1.6.3. Pinning the npm wrapper alone does not pin update apply; that command follows the registry channel and is intentionally excluded here. If the selected binary reports a different version, check that release's setup contract before continuing. The birth command is a human terminal step, not an agent tool call. Its receipt must report brain: "owner_bound_graph", the intended born_root, the exact runtime in store_dir, and node_count > 0. If it refuses, follow its diagnostic rather than replacing another runtime or forcing ingest. For source builds, use the separate contributor path below.
Your first useful result
Ask your connected agent:
Use m1nd to orient on this repository. Find where configuration is loaded, show the relevant source locations, and tell me what you still need to verify. Do not edit files.
The agent should call north first, then use seek and source inspection as needed. Success means the response covers the correct repository and points to real code you can open. A reverify verdict is expected under the current calibration containment: inspect the evidence. A missing graph or wrong-workspace binding needs recovery; an empty result may need a different query.
Quick-start troubleshooting covers missing binaries, host configuration, and binding errors. Your first query shows the actual MCP calls.
Unreleased main: learning-event separation
For contributors testing the unreleased learning fix, select a main revision containing PR580 explicitly and use its matching wrapper and native runtime. A version string alone does not establish that the fix is present. --binary selects the executable used by the CLI, but default discovery can still attach it to an older covering owner. Use --no-attach and clear ambient runtime/attach overrides to run this exact revision in an automatic isolated cache:
PR580's learning semantics are available on main but are absent from the sealed 1.6.5 artifacts. Automatic isolated preparation already shipped in 1.6.5; it is not a preview feature of PR580. See the launcher contract. The contributor development kit provides checkout-private state for development.
What to try next
See worked examples, use cases, and the tool reference. The default tool menu is deliberately small. help discovers the full registry; M1ND_TOOL_TIER=full expands the advertised menu. Published 1.6.5 also offers M1ND_TOOL_TIER=investigate: the core plus five session-local snapshot tools. See the beginner and advanced recipe. Graph-linked search in 1.6.5 preserves canonical node IDs for single-file ingest roots; ambiguous file mappings are omitted. A listed or callable tool may still require authority the current session does not have.
What it does and does not prove
- Best fit: structural navigation, change preparation, and continuity across repeated work. For a tiny edit or exact string lookup, a file read or
rgmay be enough. - Extraction is approximate. Language support varies, macro-generated and dynamic references can be missed, and external imports may remain unresolved. A graph is not a compiler's semantic model.
- Trust is conditional. Published 1.6.5 and current
maintreat all v1 calibration rows as unqualified evidence: prediction abstains and the seek envelope stays atreverifyorunprovable, while scores and rankings remain available. Running calibration does not enableact. Use source, compiler, tests, and runtime checks for your change. The clock repair does not establish statistical quality. - Unreleased learning feedback is relevance-only. On
mainafter PR580, internallearn(correct|wrong)adjusts graph relevance weights; it records no defect, false alarm, observed co-change, or automatic antibody. Ambiguouspartialfeedback is refused without mutation, and zero strength is a no-op. This change is absent from sealed 1.6.5. Public learning and calibration authority floors remain blocked. See the event boundary. - Writes have extra boundaries. Preview/commit tools, proof permits, and authority checks are separate from read-only retrieval. Graph/static verification is not a substitute for executed tests. See write reference.
- Local does not mean authenticated. The served owner refuses non-loopback binds; loopback alone does not authenticate other local processes. See deployment and security.
- Advanced capabilities are not setup prerequisites. Document adapters, structural heuristics, transplant, missions, and hardware-backed authority have their own limits. PRDs describe design intent and are not evidence that a release supports every path.
Shared context, one local owner
After a person has prepared the repository's runtime, use the exact store_dir from that receipt (shown below as /absolute/path/to/project/.m1nd) to start one owner and attach clients to it:
The owner holds the graph; attached clients do not load another copy or take its writer lease. Auto-discovery must find an owner that already covers the caller's repository. It does not authorize a new shared brain. The served owner can also render the web UI. Follow deployment before configuring multiple repositories or persistent startup.
Evidence you can inspect
Prefer a reproduction and its boundary to an unqualified speed or savings claim:
- Benchmark methodology and wiki evidence guide distinguish synthetic engine timings, historical corpus runs, and end-to-end product measurements. These are not general ROI guarantees.
- Persistence integration tests exercise real stdio processes across clean boots and interrupted runs.
- Agent autonomy tests and contract describe exactly which automatic startup, identity, and shutdown paths the source implements.
- Test portfolio explains scoped PR gates and the full integration matrix. A current source change is not automatically a published release.
The demo below is a historical recording of m1nd-mcp 1.4.0, not the current installation flow or a performance promise:
Language coverage
Dedicated extractors cover more than twenty languages: Python and TypeScript through Elixir, Haskell and Zig, routed by file extension in m1nd-ingest. The table records call-edge and cross-file import extraction exercised in a polyglot ingest. It is not a claim of complete or compiler-grade resolution; qualified Rust calls, macros, and dynamic references can lose precision.
Unresolvable imports (external packages, stdlib, system headers) are left unresolved rather than guessed. Everything else falls back to a generic extractor with contains edges only.
Architecture and deeper documentation
The Cargo workspace has six crates: m1nd-core (graph engine), m1nd-ingest (extraction), m1nd-mcp (MCP owner and runtime), m1nd-control, m1nd-runnerd (execution lane), and m1nd-openclaw (bridge). The web UI and npm wrapper live outside the Rust workspace.
- Documentation index: choose a task, then a guide
- Wiki: tutorials, concepts, and API reference
- Agent installation guide: setup instructions for coding agents
- Changelog: release history
- Contributing: development and verification
Translations
Português · Español · Italiano · Français · Deutsch · 中文 · 日本語
Translations have not been refreshed with this English revision and may contain outdated setup or capability claims. Use this English README for current instructions.
License
MIT. Your graph is derived from your code; memory files remain on disk. See LICENSE.
来源:README.md,提交 a300897
工具
0版本历史
1- v1.5.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分