
Enzyme
io.github.byenzyme由 GitHub 账号 byenzyme 发布v0.13.2更新于 Nov 2, 2026
Semantic search and pattern discovery for Obsidian and markdown vaults.
概览
Enzyme 为 Obsidian 与 Markdown 笔记库建立本地语义索引,让助手按语义检索笔记,并沿自动生成的问题找到相关页面。
- 可以做什么
- 按字面与语义混合检索 Markdown 笔记库,每条结果附带最能把该笔记与查询联系起来的问题
- 先查看按标签或文件夹分组的生成问题(catalysts)地图,再进行检索
- 编译工作区程序,提出要索引的文件夹、标签与配置档,并构建或刷新本地索引
- 把 SQLite 表(如消息存档)与 Markdown 一起索引,将列映射为 who、when、what 等角色
- 回答跨越大量长期笔记的问题,返回带来源链接的段落
- 适用场景
- 适合快速增长的个人知识库,例如 Obsidian 笔记库、会议记录、以 Markdown 搭建的 CRM,或写成 Markdown 的助手记忆;尤其适用于问题横跨多篇不同时期笔记、而非单页内容的场景。
- 运行要求
- 以本地桌面进程运行(提供 macOS 与 Linux 版本)。需要通过 ENZYME_VAULT_PATH 指定 Markdown 笔记库路径。仅催化剂生成与 Markdown compile 的筛选步骤需要 API 密钥,也可改用托管引导、本地模型或完全不使用模型。刷新、发布及额外笔记库需要执行 enzyme login。
安装
在 SourceWeft 中
- 打开 控制台中的 Enzyme,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
🧬 Enzyme
Enzyme compiles your notes and other knowledge sources into a local index that:
- Uses temporally grounded context sampling that captures the contextual use of tags and wikilinks, or natural accumulation in folders (i.e. pseudo-Zettelkasten)
- With this context, it "dreams" questions in the background (called catalysts) and embeds them. At query time, each question finds its nearest docs, so it avoid needing to "dream" full summaries. (see note)
- Keeps refreshing, but separates new doc ingestion (local, fast) from catalyst evolution (cheap, periodic)
The catalysts help orient the agent to the wiki. Enzyme saves up to 50% tokens vs. plain agentic search with grep.
[Notes and agent-written memories that mention a person arrive over time. Enzyme writes one question from them once, and later notes attach to it without rewriting it. When a query comes in, the agent reads the relevant questions, aims two searches at the periods they point to, and gets back passages from across those years.](Note: your system may already generate lots of memories in different buckets; Enzyme catalysts help thread them together)
Get started
Open your Markdown notes folder with your agent and paste this prompt.
After setup, keep working with your agent as usual. The new guidance tells your agent how to use Enzyme and when to refresh it.
Prefer to install it yourself first? Run this, then paste the same prompt:
What it's for
Enzyme was built for knowledge bases that grow quickly:
- Obsidian vaults that accumulate dated notes in a few folders
- Meeting notes and AI-native, Markdown CRM setups
- Agent memory written as Markdown
At setup time, it proposes a .enzyme program by reading your wiki and existing agent instructions, like:
And you can give feedback to modify the program.
Enzyme helps most when a question spans many notes written over time: context for a decision on a project, or a broader theme arising from conversations with one person. It's designed to support knowledge captures that might be later be important, even if they don't serve a current task. Enzyme is focused on doing one thing well: giving agents the tools to make ideas compound. And it ships with a set of profiles designed around a personal knowledge base
were refined over 2 years of personal use:
Reference
Setup without an agent
compile proposes settings and saves them; init builds the local index from
them; doctor reports what was indexed and any problems.
Other sources
For Apple Notes, a preset builds a named workspace program from your Notes
database. Review the saved .enzyme program before running init:
For Are.na, use enzyme --workspace <name> compile --preset arena <channel-url>
and then enzyme --workspace <name> init. Run refresh with the
same --workspace name to pick up later changes (--collection is an accepted
alias).
Retrieval commands
enzyme petri shows what Enzyme found worth asking about. In a terminal it renders a tree; piped, it emits JSON.
An agent reads this map first, then searches. enzyme catalyze ranks notes by wording and meaning together, and each result carries the catalyst that best connects it to the query:
Message archives (experimental)
Enzyme indexes SQLite tables alongside Markdown — iMessage, WhatsApp, Mail, or any table of dated rows.
Declare a source sqlite inside a named workspace program, then run init
and periodic refresh. The SQLite source setup skill
shows the source declaration and source-scoped readings.
None of these is a special case. A handle_id column is repeated person values across dated rows, the same way [[links]] are repeated person values across dated notes. Both collapse to entity occurrences with effective dates, and nothing downstream knows which one it came from: the same profiles, budgets, and catalysts apply to a message thread and a folder of meeting notes.
A source names columns by the role they play rather than by the app they came from:
API keys
Enzyme needs an API key only for catalyst generation and for Markdown enzyme compile's selection step. Source preset compilation does not call a model. By default enzyme init uses Enzyme's hosted bootstrap and ignores inherited OPENAI_* variables so it does not spend your personal key. Credential resolution is explicit key → configured local model → anonymous brokered free config, with no additional configuration.
The first configured vault on a machine initializes without login. Refresh, publishing, account credits, and additional vaults require enzyme login.
To bring your own OpenAI-compatible key, pass --llm env (alias --use-env-llm), which reads only OPENAI_API_KEY plus optional OPENAI_BASE_URL and OPENAI_MODEL. init and refresh also take --llm local (the installed local model; fails if none is installed), --llm hosted, and --llm none (index, embed, and select without generating catalysts). Without --llm and without any hosted or env key, catalyst generation is skipped and indexing, embedding, and local search still work.
A model served on your own machine (LM Studio, Ollama, a llama.cpp server) works through --llm env with OPENAI_BASE_URL pointing at it; OPENAI_API_KEY must be non-empty even if the server ignores it. Enzyme treats localhost addresses like its built-in 135M model: a compact prompt, at most 10 excerpts per entity, one call per entity, and a 512-token output cap. That includes a proxy on localhost in front of a remote provider. For a larger model, set ENZYME_LOCAL_MODEL=0 to send it the same prompts and job splitting as hosted generation (ENZYME_LOCAL_MODEL=1 does the reverse for a small fine-tune hosted elsewhere). That path runs up to 8 calls at once and each request must finish within 120 seconds, so on a slower model set ENZYME_LLM_CONCURRENCY to what the server handles and lower ENZYME_CATALYST_MAX_QUESTIONS_PER_CALL to keep each call short.
Markdown enzyme compile is an explicit OpenRouter Decisions operation. It reuses the hosted lease from enzyme login and the free-config broker; an explicit OPENAI_API_KEY with OPENAI_BASE_URL=https://openrouter.ai/api/v1 takes precedence. Catalyst generation uses OPENAI_MODEL; Decisions uses ENZYME_JEV_MODEL (default typesafe/jev-1.13).
License
Enzyme is licensed under the Apache License 2.0.
来源:README.md,提交 961a863
工具
0版本历史
13- v0.13.2最新Oct 26, 2026
- v0.13.1Oct 24, 2026
- v0.13.0Oct 23, 2026
- v0.12.4Oct 19, 2026
- v0.12.3Oct 17, 2026
- v0.12.2Oct 7, 2026
- v0.12.1Oct 6, 2026
- v0.11.1Oct 1, 2026
- v0.11.0Sep 29, 2026
- v0.10.2Sep 21, 2026
- v0.10.1Sep 20, 2026
- v0.10.0Sep 20, 2026
- v0.9.2Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分