ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้วต้นแบบ · อัปเดตทุก 30 นาที
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว เข้าสู่ระบบ

Enigma MCP

โดย Rayhanson-Gitรุ่น 1.3.1i★ 1iรันบนเครื่องเว็บทางการ ↗
ชื่อใน registryio.github.Rayhanson-Git/enigma

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ไม่ต้องใส่คีย์ · ต้องกรอกค่าตั้ง 1 ช่อง (ENIGMA_VAULT_PATH)
  • หมวด เอกสาร ตาราง และงานออฟฟิศ
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Shared long-term memory for AI agents, kept as Markdown notes in an Obsidian vault.

ใช้คู่กับ

Skill ที่สอน AI ทำงานแบบนี้ ใช้ร่วมกับตัวนี้ได้

MinerU

MinerU ใช้แปลงเอกสารที่ซับซ้อน เช่น PDF และไฟล์ Office ให้เป็นรูปแบบ markdown หรือ JSON ที่ LLM นำไปใช้ต่อได้ เหมาะสำหรับ workflow แบบ Agentic

โดย opendatalab★ 83,9721 skill

Skill · คู่มือไม่ระบุสัญญาอนุญาต

watermarks-remover

watermarks-remover เป็นแอปที่เน้นความเป็นส่วนตัว ใช้สำหรับลบลายน้ำ AI ออกจากเนื้อหาที่ผู้ใช้เป็นเจ้าของ

โดย guillaumemeyer★ 27,7961 skill

Skill · คู่มือ

obsidian-skills

obsidian-skills คือชุดทักษะสำหรับ AI เพื่อให้ใช้งาน Obsidian CLI และรูปแบบไฟล์ของ Obsidian ได้ เช่น Markdown, Bases และ JSON Canvas

โดย kepano★ 53,242 (ของทั้งรีโป)5 skill

Skill · คู่มือ

ทำไมอยู่อันดับนี้

หน้ารายการเรียงด้วยคะแนนการใช้งาน (เต็ม 100) จากส่วนเหล่านี้

ความนิยม4/80ดาว GitHub หรือยอดดาวน์โหลดต่อสัปดาห์ ค่ามากนับ 60 ค่าน้อยนับ 20
ความสด12/12ออกรุ่นหรือแก้โค้ดใน 30 วัน ได้เต็ม
ระบบยังตอบ0/8endpoint บนคลาวด์ตอบตอนตรวจล่าสุด
คะแนนการใช้งาน16/100

คุณภาพ: ผลตรวจเบื้องต้นผ่าน 3/3 ข้อ (แสดงให้ดู ไม่ได้ใช้เรียง) · ความมาแรง: ยังไม่มีข้อมูล (ใช้เรียงเฉพาะแท็บมาแรง)

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

Claude ยังต่อ Enigma MCP ไม่ได้

ผู้ทำยังไม่ได้ลงวิธีติดตั้งไว้ในทะเบียน MCP

ChatGPT ยังต่อ Enigma MCP ไม่ได้

ผู้ทำยังไม่ได้ลงวิธีติดตั้งไว้ในทะเบียน MCP

คุณทำแบบนี้แทนได้

ข · ตัวอื่นในหมวด เอกสาร ตาราง และงานออฟฟิศ ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

Claude Code ยังต่อ Enigma MCP ไม่ได้

ผู้ทำยังไม่ได้ลงวิธีติดตั้งไว้ในทะเบียน MCP

Cursor ยังต่อ Enigma MCP ไม่ได้

ผู้ทำยังไม่ได้ลงวิธีติดตั้งไว้ในทะเบียน MCP

VS Code ยังต่อ Enigma MCP ไม่ได้

ผู้ทำยังไม่ได้ลงวิธีติดตั้งไว้ในทะเบียน MCP

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ Enigma MCP อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ค่าที่ต้องใส่เอง

  • ENIGMA_VAULT_PATH จำเป็น env
    พาธสัมบูรณ์ไปยังโฟลเดอร์ vault ของ Obsidian
    ดูต้นฉบับภาษาอังกฤษAbsolute path to the Obsidian vault
  • ENIGMA_AGENT_NAME env
    ชื่อที่บันทึกไว้ในทุกโน้ตที่เอเจนต์นี้เขียน
    ดูต้นฉบับภาษาอังกฤษName recorded on every note this agent writes

คำอธิบายแปลอัตโนมัติ ชื่อตัวแปรคงตามต้นฉบับ ถ้าไม่แน่ใจให้ดูต้นฉบับ

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
ไม่มียอดใน npm/PyPI
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
1.3.1
ส่งเข้า registryi
18 พ.ย. 2569
แก้โค้ดล่าสุดi
18 พ.ย. 2569
ผู้ทำ
Rayhanson-Git
แพ็กเกจ
cargo: enigma-mcp
เว็บผู้ทำ
rayhanson.tech
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

GooseLM StudioMsty StudioCherry StudioVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 20 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub Rayhanson-Git ซึ่งเป็นเจ้าของ repo

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด เมื่อวานซืน

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

ช่องโหว่ที่เปิดเผยแล้ว (OSV.dev)

ไม่ได้ตรวจ: ตรวจได้เฉพาะแพ็กเกจ npm และ PyPI ที่ระบุรุ่น

เราตรวจอะไรบ้าง → · JSON

ผู้ทำ: ขอให้ตรวจใหม่ หรือแจ้งข้อมูลผิด
สำหรับผู้ทำ: ติดป้ายใน README

ถ้าคุณเป็นผู้ทำตัวนี้ คัดลอกโค้ดนี้ไปวางใน README ได้เลย ป้ายลิงก์กลับมาที่หน้านี้

[![แนะนำบน PopNx MCP](https://mcp.popnx.com/badge/rayhanson-git-enigma.svg?lang=th)](https://mcp.popnx.com/th/servers/rayhanson-git-enigma)

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบเพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบเพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด เอกสาร ตาราง และงานออฟฟิศi

  • ดาวมากกว่า 81% ของอีก 4164 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 92% ของอีก 4164 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 99% ของอีก 4164 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Enigma MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวานซืน และส่งรุ่นล่าสุด (1.3.1) เข้า registry เมื่อวานซืน

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Rust ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Puter MCP, XcodeBuildMCP, Vexa, Atlassian Rovo MCP Server, Anki MCP Server

ตัวอื่นที่ทำงานคล้ายกัน

หมวดเดียวกันจากผู้ทำคนอื่น ผ่านตัวตรวจคำสั่งแล้ว ตัวทางการขึ้นก่อน แล้วเรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Puter MCP

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

โดย HeyPuterใช้กันมาก★ 44.2Kอัปเดต 5 เดือนที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · puter.com

XcodeBuildMCP

ให้ AI จัดการโปรเจกต์ Xcode สั่ง build และใช้ iOS Simulator

โดย getsentryใช้กันมาก↓ 130.5K/สัปดาห์ ยอดของแพ็กเกจที่ใช้ร่วม★ 6.6Kอัปเดต 4 เดือนที่ผ่านมา

รันบนเครื่อง✓ เจ้าของบริการ · xcodebuildmcp.com

Vexa

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

โดย Vexa-aiใช้กันมาก★ 3Kอัปเดต 2 เดือนที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · vexa.ai

Atlassian Rovo MCP Server

server ทางการของ Atlassian ให้ AI ค้นและจัดการงานใน Jira และเอกสารใน Confluence ต่อผ่านคลาวด์และล็อกอินแบบ OAuth

โดย atlassianกำลังโต★ 1.2Kอัปเดต 2 เดือนที่ผ่านมา

รันบนคลาวด์✓ เจ้าของบริการ · atlassian.com

Anki MCP Server

MCP server for Anki flashcards: adaptive review, notes, media, and deck management via AnkiConnect.

โดย ankimcpกำลังโต↓ 1.1K/สัปดาห์★ 570อัปเดต 2 เดือนที่ผ่านมา

รันบนเครื่อง✓ เจ้าของบริการ · ankimcp.ai
เทียบกับตัวที่คล้ายกัน
ตัวนี้
Enigma MCP
Puter MCPXcodeBuildMCPVexaAtlassian Rovo MCP ServerAnki MCP Server
ทำงานที่ไหนต้องลงในเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องต้องลงในเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องใช้บนคลาวด์ ไม่ต้องลงเครื่องต้องลงในเครื่อง
ต้องใส่คีย์ไม่ไม่ไม่ใช่ไม่ไม่
กด + ใน Claude ได้ไม่ไม่ไม่ไม่ใช่ไม่
ผลตรวจเบื้องต้น3/34/43/32/44/43/3
สัญญาอนุญาตMITAGPL-3.0MITApache-2.0Apache-2.0MIT
ราคาไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียนไม่พบค่าใช้จ่ายในทะเบียน

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Enigma MCP

One memory for all your AI agents, kept as plain notes in your Obsidian vault.

About | Architecture | Features | Quick start | Client configuration | Tool reference | Configuration | Operator commands | Retrieval quality | Contributing

About

An AI agent starts every session with an empty head. What Claude Code worked out yesterday is unknown to Codex today, and unknown to Claude Code itself tomorrow. Enigma gives all of them one place to remember: a folder of Markdown notes that you already open in Obsidian.

enigma-mcp is a single Rust binary that sits in front of that folder and speaks the Model Context Protocol. Every agent that connects gets the same 25 tools: search the vault, read and write notes, follow the knowledge graph, log a session, add a task. The notes stay yours. You can read, edit, move and back them up like any other files.

What you get that a vector database behind an MCP wrapper does not give you:

  • Search by words and by meaning. A keyword ranking and an embedding ranking are merged into one result list.
  • A graph you can open. Entities are ordinary notes under Claude/Graph/, so Obsidian's graph view shows them.
  • Write rules enforced in code. Agents write inside Claude/. Anything else needs an explicit confirmation.
  • A vault that looks after itself. One nightly run indexes new notes, suggests filing, checks health and reports.
  • Nothing you cannot rebuild. Every cache lives outside the vault and can be deleted and rebuilt from the notes.

A real vault growing in the order its files were created: 3,026 nodes and 8,047 links. It is drawn from the vault's own links, with the same kinds of nodes Obsidian's graph shows: 1,751 notes, 1,256 attachments and 19 notes linked but not yet written. The counter shows the node and link counts at each moment. Note titles are left out.

Who it is for
  • You use more than one AI agent and want them to share what they learn.
  • You keep notes in Obsidian and want agents to add to them without making a mess.
  • You want memory that survives a new laptop: copy the vault, rebuild the caches.
Status

Version 1.3.1. Used daily on one private vault of about 1,570 notes with four agent harnesses connected at once. Built and tested on macOS (Apple silicon), Linux and Windows: every push is linted, tested and built on all three by GitHub Actions. Daily use so far has been on macOS only. Scheduling uses launchd, so the schedule command is macOS only.

Windows is new in 1.3.0. It builds and passes its tests on GitHub's Windows machines, but it has not yet been

used day to day on a Windows PC. Please open an issue for anything that behaves differently there.

The organizer and the Librarian change files. Run them with --dry-run first; the Librarian refuses its first real run on a vault until you have done so.

Architecture

%%{init: {"theme": "base", "flowchart": {"curve": "basis"}, "themeVariables": {"primaryColor": "#101A3E", "primaryTextColor": "#F2F5FF", "primaryBorderColor": "#6FA0FF", "lineColor": "#7C9BEA", "clusterBkg": "#070B22", "clusterBorder": "#3D6BE0", "titleColor": "#C9D6FF", "edgeLabelBackground": "#070B22", "tertiaryTextColor": "#E6ECFF"}}}%%

flowchart TB subgraph callers["Who calls it"] agents["Agents Claude Code, Codex, OpenClaw, Hermes"] you["You at a terminal"] cron["Scheduler launchd, daily at 04:00"] web["fetch and arxiv servers text from the web, untrusted"] end

subgraph bin["enigma-mcp, one Rust binary"] server["MCP server 25 tools over stdio"] cli["16 commands"] lib["Librarian the nightly run"] subgraph core["Modules"] notes["Notes and tasks notes.rs"] sheets["Typed sheets sheets.rs"] vault["Write rules vault.rs"] search["Hybrid search search.rs"] gr["Graph graph.rs"] indexer["Indexer indexer.rs"] extract["Extractor extractor.rs"] org["Organizer and mover organizer.rs, mover.rs"] clean["Cleanup and consolidation cleanup.rs, consolidate.rs"] end end

subgraph truth["The vault: source of truth"] md[("Markdown notes")] gnotes[("Claude/Graph/ one note per entity")] sc[("Smart Connections vectors .smart-env/")] end

subgraph state["State folder: rebuildable"] vec[("Note and entity vectors")] db[("graph.db")] man[("manifest.json")] jr[("Organizer journal")] ls[("Librarian state")] end

subgraph models["Models"] emb["bge-micro-v2 local embeddings"] llm["claude or codex command tools switched off"] end

agents -->|MCP over stdio| server you --> cli cron --> lib web -.->|"clipped into notes by /clip"| md

server --> notes server --> sheets server --> search server --> gr server -->|index_brain| indexer server -->|organize_vault, undo_move| org server -->|consolidate_graph| clean cli --> lib cli --> indexer cli --> org cli --> clean lib -->|"1 index"| indexer lib -->|"2 organize"| org lib -->|"4 cleanup, 5 consolidate"| clean lib -->|"7 report"| vault lib --> ls

notes --> vault sheets --> vault vault -->|"inside Claude/, or confirmed"| md search -->|read| md search --> sc search --> vec search --> emb indexer --> extract extract --> llm indexer --> gr indexer --> man gr --> gnotes gr --> db org --> vec org -->|"move and rewrite links"| md org --> jr clean --> gr clean --> extract

class agents,you,cron outside class web warn class server,cli,lib entry class notes,sheets,vault,search,gr,indexer,extract,org,clean part class md,gnotes,sc source class vec,db,man,jr,ls store class emb,llm model style callers fill:#0E1018,stroke:#8A8780,stroke-width:1px style bin fill:#070B22,stroke:#3D6BE0,stroke-width:2px style core fill:#0B1233,stroke:#25315F,stroke-dasharray:4 4 style truth fill:#07201A,stroke:#3E8F6A,stroke-width:1.5px style state fill:#06202A,stroke:#2E93A8,stroke-dasharray:4 4 style models fill:#140F33,stroke:#6D58C9 classDef outside fill:#1B1D26,stroke:#C9C4B9,stroke-width:1.5px,color:#F4F2EC classDef warn fill:#2A1014,stroke:#F0635B,stroke-width:1.5px,stroke-dasharray:5 3,color:#FFE3E0 classDef entry fill:#2447C4,stroke:#A9C4FF,stroke-width:2px,color:#FFFFFF classDef part fill:#101A3E,stroke:#6FA0FF,stroke-width:1.5px,color:#E6ECFF classDef lane fill:#1A2F7A,stroke:#8FB4FF,stroke-width:2px,color:#F2F5FF classDef ask fill:#0B1130,stroke:#8FA3D6,stroke-width:1.5px,stroke-dasharray:5 3,color:#E6ECFF classDef source fill:#12402C,stroke:#5EC28F,stroke-width:1.5px,color:#E6FFF2 classDef store fill:#0A3440,stroke:#5ED0E6,stroke-width:1.5px,color:#E3FBFF classDef model fill:#241A52,stroke:#A78BFA,stroke-width:1.5px,color:#EFE9FF classDef good fill:#12402C,stroke:#5EC28F,stroke-width:2px,color:#E6FFF2 classDef stop fill:#4A1014,stroke:#F0635B,stroke-width:2px,color:#FFE3E0 linkStyle default stroke:#7C9BEA,stroke-width:1.5px

Arrows point from the caller to what it uses. The indexer, the organizer, cleanup, consolidation and the Librarian all take one maintenance lock before they write, so only one of them runs at a time. On GitHub you can drag and zoom each diagram.

The Markdown files are the source of truth. The state folder holds only things derived from them: the graph cache (graph.db), note vectors and the indexing manifest. Delete it and Enigma rebuilds those, though the next index run has the model read every note again. Two things in the folder are not derived: the organizer's undo history, which is lost with it, and the Librarian's state, without which the next nightly run asks for --confirm-first-run again. More detail is in docs/architecture.md.

How search works
%%{init: {"theme": "base", "flowchart": {"curve": "basis"}, "themeVariables": {"primaryColor": "#101A3E", "primaryTextColor": "#F2F5FF", "primaryBorderColor": "#6FA0FF", "lineColor": "#7C9BEA", "clusterBkg": "#070B22", "clusterBorder": "#3D6BE0", "titleColor": "#C9D6FF", "edgeLabelBackground": "#070B22", "tertiaryTextColor": "#E6ECFF"}}}%%

flowchart LR q(["search_brain query, tags, folder, limit"]) --> walk["Walk the vault skip .obsidian, .trash, .git"] walk --> filt{"Tags or folder given?"} filt -->|yes| some["Keep the matching notes"] filt -->|no| every["Keep every note"] some --> cand["Candidate notes"] every --> cand

cand --> bm["Keyword ranking BM25L: k1 1.5, b 0.75, delta 0.5 best 50"] cand --> have{"A vector for each note?"} have -->|"Smart Connections vector newer than the note"| reuse1["Use it"] have -->|"cached with the same content hash"| reuse2["Use the cache"] have -->|otherwise| embed["Embed now with bge-micro-v2 and save to the cache"] reuse1 --> cos["Meaning ranking cosine with the query vector best 50"] reuse2 --> cos embed --> cos

bm --> any{"Any keyword hits?"} any -->|no| substr["Substring ranking title or a line contains the query best 50"] any -->|yes| rrf substr -.-> rrf cos --> rrf["Rank fusion score = sum of 1 / (60 + rank)"] rrf --> cut["Keep the first limit results"] cut --> ex["Add an excerpt title match, matching line, or first line"] ex --> out(["path + excerpt"])

class q,rrf entry class out good class filt,have,any ask class walk,some,every,cand,cut,ex part class bm,cos,substr lane class reuse1,reuse2 store class embed model classDef outside fill:#1B1D26,stroke:#C9C4B9,stroke-width:1.5px,color:#F4F2EC classDef warn fill:#2A1014,stroke:#F0635B,stroke-width:1.5px,stroke-dasharray:5 3,color:#FFE3E0 classDef entry fill:#2447C4,stroke:#A9C4FF,stroke-width:2px,color:#FFFFFF classDef part fill:#101A3E,stroke:#6FA0FF,stroke-width:1.5px,color:#E6ECFF classDef lane fill:#1A2F7A,stroke:#8FB4FF,stroke-width:2px,color:#F2F5FF classDef ask fill:#0B1130,stroke:#8FA3D6,stroke-width:1.5px,stroke-dasharray:5 3,color:#E6ECFF classDef source fill:#12402C,stroke:#5EC28F,stroke-width:1.5px,color:#E6FFF2 classDef store fill:#0A3440,stroke:#5ED0E6,stroke-width:1.5px,color:#E3FBFF classDef model fill:#241A52,stroke:#A78BFA,stroke-width:1.5px,color:#EFE9FF cla

ตัดมาแค่ช่วงต้น อ่านต่อใน repo