Enzyme

io.github.byenzyme由 GitHub 帳號 byenzyme 發布v0.13.2更新於 Nov 2, 2026

Semantic search and pattern discovery for Obsidian and markdown vaults.

已驗證STDIO僅桌面檔案與儲存知識與記憶

概覽

AI 產生的概覽

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。
安裝前請注意
催化劑產生與 compile 可能將筆記片段傳送到託管服務或所設定的 OpenAI 相容端點,索引前應確認納入範圍。安裝流程可能下載模型並建立定期更新工作,README 要求在清理、下載模型或設定定期工作前另行確認。OPENAI_API_KEY 等憑證僅在明確要求時讀取。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

Enzyme compiles your notes and other knowledge sources into a local index that:

  1. Uses temporally grounded context sampling that captures the contextual use of tags and wikilinks, or natural accumulation in folders (i.e. pseudo-Zettelkasten)
  2. 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)
  3. 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.

text
Set up Enzyme for the Markdown notes folder I have open. If you cannot identify it, ask me for its path.
Install Enzyme if needed using https://raw.githubusercontent.com/byenzyme/enzyme/main/install.sh, and install the instructions for this agent. Read and follow the installed enzyme-workspace-setup skill.
Use it to suggest settings from my notes and prepare search. Show me what you propose to include or exclude, and let me correct it before building the local search index.
Then answer one useful question using my notes, with links to the sources, and suggest a question I can ask next. Keep my existing notes in place and unchanged. Ask separately before any cleanup, model download, or recurring task.

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:

bash
curl -fsSL https://raw.githubusercontent.com/byenzyme/enzyme/main/install.sh | bashcd /path/to/your/notesenzyme install claude # or: codex, hermes, openclaw

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:

profile relationships {  seek "what matters between people"  notice ["meaningful exchanges", "shared interests", "unfinished conversations"]}
workspace "notes" {  source markdown "notes" { path "~/notes" }
  question budget 40  sample across time  favor recent periods
  learn questions from folder "people"    including linked pages    about relationships  learn questions from folder "meetings" about operational  learn questions from tags ["startup", "design"] about decisions  learn questions from folder "inbox"
  project questions into "~/notes/Readwise"
  // Guidance compiled for your agent, not an enforced hook.  when asked {    "Use grep for names, titles, and exact phrases."    retrieve passages through learned questions    answer with sources  }}

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:

Read...For...Profile
Project noteswhat's stuck and what keeps blockingoperational
Decision recordswhy a choice won, what would change itdecision_trace
Saved articlesconnections to what you're already working onresonance_trace
Journalswhat keeps returning across entriesreflective
People noteswhat matters in these relationshipsrelational
Feedback / activity logswhat works for you, under what constraintspreference_evidence
(default)costs, assumptions, live tensionstension_trace

Reference

Setup without an agent

bash
enzyme compile -v# Review the .enzyme settings file at the path printed by compile.enzyme init --quietenzyme doctorenzyme catalyze "a question about your notes"

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:

bash
enzyme --workspace apple-notes compile --preset apple-notes \  "$HOME/Library/Group Containers/group.com.apple.notes/NoteStore.sqlite"enzyme --workspace apple-notes 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.

bash
enzyme petri -n 2
text
Petri├─ #working-with-others · tag · active · 11 mentions│  └─ catalysts│     ├─ Why did every auth change still route through me after I kept promising to write it down?│     ├─ Why did the third auth extraction attempt stall when nobody wanted to own the session model?│     ├─ Which reasons for handing the session model to Maya had I stopped believing by then?│     ├─ Did extraction stay paused once Maya's team owned the session model?│     └─ …└─ #system-design · tag · active · 10 mentions   └─ catalysts      ├─ Why did I pick a monolith with inner module boundaries over splitting services yet?      ├─ Did I ever settle who owns the session model once auth moves out?      ├─ Which part of auth extraction kept adding layers instead of removing one?      ├─ Does my view that independence means who can change what still hold?      └─ …

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:

bash
enzyme catalyze -n 3 "why we keep rewriting the auth layer" \  | jq '{search_strategy, results: [.results[] | {file_path, similarity, via_catalyst_text, content}]}'
json
{  "search_strategy": "hybrid",  "results": [    {      "file_path": "retros/2025-q3-platform-retro.md",      "similarity": 0.817,      "via_catalyst_text": "Why did I keep scoping auth extraction as a two-week project, and what kept stalling it?",      "content": "# Q3 platform retro\n#system-design #working-with-others\n\nScoped auth extraction as a two-week project for the third time. The real blocker was not the token service; nobody wanted to own the session model. Every proposal added a layer instead of removing one. Action: decide ownership before touching code again."    },    {      "file_path": "journal/2025-05-12.md",      "similarity": 0.693,      "via_catalyst_text": "Why did every auth change still route through me after I kept promising to write it down?",      "content": "#working-with-others\n\nReviewed eleven PRs today and wrote none. Every auth change still routes through me because I wrote the session code and nobody else wants to touch it. I keep saying I will write it down so someone else can own it. I have not."    },    {      "file_path": "1on1s/2026-01-maya.md",      "similarity": 0.579,      "via_catalyst_text": "What keeps pulling me back to rewriting when Maya's smaller version already worked?",      "content": "# 1:1 with Maya\n#working-with-others\n\nMaya replaced the token refresh path with something half the size of mine. She asked me twice and then stopped asking, which is the point. I want to do this with billing before I start rewriting it myself."    }  ]}

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:

RoleMeans
idthe row's identity
whoparticipants; scalar, JSON array, or delimited
whenthe row's timestamp
whatthe text to read
wherethe container the row belongs to (optional)
weightnumeric significance per occurrence (optional)

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
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

13
  1. v0.13.2最新Oct 26, 2026
  2. v0.13.1Oct 24, 2026
  3. v0.13.0Oct 23, 2026
  4. v0.12.4Oct 19, 2026
  5. v0.12.3Oct 17, 2026
  6. v0.12.2Oct 7, 2026
  7. v0.12.1Oct 6, 2026
  8. v0.11.1Oct 1, 2026
  9. v0.11.0Sep 29, 2026
  10. v0.10.2Sep 21, 2026
  11. v0.10.1Sep 20, 2026
  12. v0.10.0Sep 20, 2026
  13. v0.9.2Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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