Ratel

by golddream-y
5
4
3
2
1
Score: 49/100

Description

An AI agent that indexes, searches, links, and curates your Obsidian vault with semantic understanding. Supports local Ollama for privacy-first usage.

Reviews

No reviews yet.

Stats

4
stars
183
downloads
0
forks
3
days
1
days
2
days
4
total PRs
1
open PRs
2
closed PRs
1
merged PRs
0
total issues
0
open issues
0
closed issues
346
commits

Latest Version

2 days ago

Changelog

更新日志

本文件记录面向用户的版本说明。格式遵循 Keep a Changelog,版本号遵循 SemVer

[0.2.4] - 2026-08-16

这一版:聊天反应快了。长回复生成时不再冻住界面,写完的段落立刻排好版;几百条消息的长会话滚动、回跳也依旧顺滑。

Changed

  • 生成几千字的长回复不再卡住界面 — 流式文字轻量追加,一段写完才渲染成 Markdown;生成中随时可滚动、切笔记、点停止
  • 流式输出中写完的段落立刻排好版 — 标题、代码块、表格在生成过程中就呈现最终格式,不用等工具调用或整轮回答结束
  • 几百条消息的长会话滚动依旧顺滑 — 只有屏幕附近的内容参与渲染,翻到很久以前也不卡
  • 会话右侧的小圆点,点哪个就跳回哪一轮提问 — 哪怕那轮已经被翻到很远之前,也能一击定位、高亮一下

Fixed

  • 设置里改了上下文长度,抽屉不再被旧值盖回去 — 之前一轮回答结束时会把这轮开始时的旧上限写回状态抽屉,自定义长度看起来「没生效」;现在抽屉始终按当前设置显示

[0.2.3] - 2026-08-14

这一版:助手消息里的代码、流程图、表格怎么展示。以前代码和流程图几乎是贴在正文里,现在各自成块,能复制、能看清。

Added

  • 代码块独立展示 — 有语言名,一键复制源码
  • 流程图独立展示 — 能复制 mermaid 源码;跟着库的亮色 / 暗色;节点上的字会画出来
  • 宽表格可以左右滑 — 窄侧栏里不再把气泡撑破

[0.2.2] - 2026-08-14

Fixed

  • 社区商店审核可通过 — 修好会卡住审核的滚底样式、过长构建日志,以及审核机装不上依赖

[0.2.0] - 2026-08-14

这一版两件大事:聊天看起来不一样了(空态舞台、入场、扫光和发送烟花),以及 压缩不再毁掉对话(只压发给模型的上下文,记录全部留着)。

Added

  • 空会话有欢迎舞台 — 中央铜色能量球(灰底能透出)、玻璃托盘上写「想从库里查找什么?」、副句轮换;发出第一条后背景卸掉
  • 消息与引用柔和入场 — 气泡和 cite 芯片淡入,不再硬切;用户气泡带一圈细描边微光
  • 会话标题落定有过渡 — AI 总结替换占位标题时交叉溶解,而不是瞬间跳字
  • 空态词标粒子聚拢、顶栏扫光、发送烟花 — 空态「Ratel.」从远处聚成字;有对话后顶栏残影收拢再扫光;发送钮悬停扫光;发送成功放一小簇火花(点停止不放)
  • 占用数字会跳着涨 — 状态条上下文百分比平滑计数;斜杠命令和会话列表错落入场
  • 聊天装饰动效可关 — 外观设置一键关掉;系统开了「减少动态效果」时自动静默
  • 上下文快满时会自动压缩 — 默认开启,可在「对话模型」关掉;压的是发给模型的内容,聊天气泡全部留着

Changed

  • /compact 不再清空对话 — 不再弹「不可撤销」确认;记录一条不删,对话流出现「正在压缩 / 已压缩」分隔;模型仍报太长时会先压再试一轮

Fixed

  • 权限三档重新合成一颗胶囊 — 不再被 Obsidian 默认按钮拆成三个灰钮
  • 压过的会话重开后占用不再虚高 — 按实际发给模型的上下文计算,避免进度条被历史气泡撑满
  • 生成中的停止钮能点到 — 发送火花不再盖住停止方块
  • 空态「Ratel.」聚完不再跳位 — 落在原处,句点和旁边的 graph-native 错开一点

[0.1.19] - 2026-08-11

Added

  • 右侧点列可跳回某一轮提问 — 悬停看摘要,一键回底;设置里可关或改到左边
  • 工具权限三档:安全 / 自动 / 危险 — 自动档读写少打断,删除仍会确认
  • 思考球动画 — 模型在想、在写、在调工具时显示点阵小球,替代原来的小黄点

Changed

  • 发送钮改为 ↑,生成中为停止方块 — 窄侧栏不再被「发送」二字撑宽
  • 聊天底栏避开 Obsidian 状态栏 — 权限开关与提示不再被挡
  • 引用编号悬停显示笔记路径[n] 是检索序号,不是章节号

Fixed

  • 跟进回答里的 [n] 也能点开 — 沿用本场最近一次检索结果,不再变灰
  • AI 标题总结与 ✎ 编辑框一致 — 不再卡在开场白截断的临时标题上

[0.1.18] - 2026-08-09

Added

  • 可编辑会话标题 — 顶栏会话名旁的 ✎ 打开简洁编辑框;可手改,也可一键「AI 总结」
  • 生成中切换会话会先确认 — 避免默默打断正在写的回复;确认后才会停止并切换

Changed

  • 「本次会话不再询问」按工具放行整场 — 同一工具读多篇笔记不再反复弹窗
  • MCP 开启/添加后立刻同步工具列表 — 不再出现刚开却显示「无工具」的竞态
  • MCP 管理去掉多余「停止」 — 关开关即可;「刷新」负责强制重连
  • 「来源 N 篇」改成 pill 样式 — 不再被 Obsidian 默认按钮样式切穿中文

Fixed

  • 对话正文可以拖选复制 — 覆盖 Obsidian 全局禁选,消息与思考/工具详情可选中
  • DeepSeek V4 标题总结不再常失败 — 短任务关闭 thinking,避免推理 token 吃光额度后空标题回退成开场白截断

[0.1.17] - 2026-08-04

Fixed

  • 社区商店更新检查可通过 — 修好管理 MCP 配置时被商店规则拦下的样式写法,刷新/更新不再卡在检查 Error

[0.1.16] - 2026-08-04

Added

  • 接入 MCP 服务器 — 在状态抽屉管理 HTTP / 本地命令 MCP,也可粘贴 Claude / Cursor 配置一键导入;工具进入对话,时间线里带 MCP 标识,权限可设允许 / 询问 / 拒绝

Fixed

  • 改设置后界面会跟着刷新 — 模型芯片、上下文上限等不再卡在旧值
  • 重启后仍能看到当前对话占了多少上下文 — 打开历史会话会重算占用,并滚到最新消息

[0.1.15] - 2026-07-31

Added

  • 问题反馈入口 — 状态抽屉可打开反馈窗口:复制诊断摘要(不含笔记正文)并跳转 GitHub Issues

Changed

  • 记忆管理并入聊天 — 不再单独开记忆侧栏;从状态抽屉或设置打开同一记忆窗口(筛选 / 搜索 / 编辑 / 清理能力不变)

Fixed

  • 记忆窗口会跟着写入刷新 — 模型写入主题记忆后,已打开的管理界面马上看到新条目,不用关再开
  • 设置页密钥提示不再重复堆叠 — 改设置时提示区先清空再画,避免挤成窄列

Removed

  • 记忆专用侧栏图标 — 去掉 ribbon 上的大脑图标入口

[0.1.14] - 2026-07-29

Changed

  • 有正文引用时不再重复露出来源芯片 — 回答里已经写了可点的 [1][2] 时,底部来源条会隐藏,只留正文引用
  • 没有内联引用时来源默认折叠 — 先显示「来源 N 篇」,点开再展开芯片;悬停仍可看完整笔记路径
  • 换场或重开侧栏后引用仍可点 — 从本场检索记录还原来源,不用重新搜一遍才能打开笔记

Fixed

  • 同一回合再次搜空时清掉旧来源 — 避免还点到上一轮的笔记
  • 引用编号与检索结果对齐 — 发给模型的 [n] 清单与界面芯片用同一套编号

[0.1.13] - 2026-07-25

Added

  • 关掉侧栏再开还能续聊 — 回到你上一场对话,思考过程与工具步骤也会一起回来,不用从头再说一遍
  • 多场对话可切换 — 右上角短标题芯片打开最近列表;可开新对话、点回旧场、删除不要的场
  • 首轮自动起标题 — 开场后会生成短标题(芯片上)和正常标题(列表里);失败时用你的第一句话截断顶上

Changed

  • /new 与菜单「新对话」同一套逻辑 — 有内容的旧场会留在列表里;空白场不会堆一堆空对话
  • 切换时有加载反馈 — 消息区先淡出,短暂「加载会话… / 新对话…」,再淡入;减少动态效果时仍有加载提示
  • Skill 跟这场对话走 — 激活过的技能指令留在本场;换场或新开对话不会把上一场的技能串过来

[0.1.10 – 0.1.12] - 2026-07-18

含中间发版 0.1.10 / 0.1.11;请以 0.1.12 为准。

Added

  • 聊天外观可调 — 设置新增「外观」页:颜色模式(跟随 Obsidian / 浅色 / 深色)与强调色色块;改完立刻作用在侧栏,不用重启
  • 铜色强调 — 新增「铜」色块;深色下选「跟随」时默认用接近原型的暖铜调

Changed

  • 深色更接近设计稿 — Ratel 深色(以及 Obsidian 暗色 +「跟随」)用暖墨底与浅纸色文字,不再是冷灰一块
  • 发送钮跟强调色走 — 点色块后发送按钮、引用编号、芯片会一起变色

Fixed

  • 社区商店发版验签 — 修复商店对发布包验签失败的问题
  • 商店源码检查告警减少 — 主题名校验、无用 await、外观设置与调试日志写法对齐商店建议等

[0.1.9] - 2026-07-17

Added

  • 点开工具步骤能看懂在干什么 — 例如列目录会写成「在 Adventurer 找到 3 个文件」,并列出文件名;不再默认展开一长串 JSON
  • 思考模式跑完工具还能继续聊 — 用 DeepSeek 等带「思考过程」的模型时,助手查完笔记、列完目录后可以正常接着回答;以前会中途报错停住

Changed

  • 思考与工具排成一条工作轨迹 — 连续的「思考 → 列目录 → 再思考」共用一根细左边线,一眼能扫完整段过程,不再每一步各自一条粗边框
  • 界面文案更齐全 — 侧栏标题、设置里的语言与嵌入提供方选项会跟着中/英文切换

Fixed

  • 笔记很少时搜索更安静 — 小库自动改用语义检索,控制台不再刷红色报错(搜索结果仍可用)

[0.1.8] - 2026-07-17

Changed

  • 对话优先的聊天侧栏 — 状态条沉到输入框上方,不再夹在消息中间;标题更简洁,忙的时候不再整栏抢戏
  • 一体输入区 — 加号、输入框、发送/停止在同一圆角壳里,slash 与 @ 菜单贴着输入框打开
  • 出处更好点 — 检索结果变成可点的笔记芯片;回答里的 [1][2] 也能一点打开同一篇笔记
  • 工具过程更好扫 — 思考与工具调用收成细时间线,而不是厚卡片堆

Fixed

  • 自定义 Skill 目录 — 库内 .ratel/skills 路径错误导致加载失败;目录不存在时也不再刷屏警告

[0.1.7] - 2026-07-16

Added

  • 顺着链接找笔记 — 看一篇的出链、反链、未解析链接;按标签或属性筛笔记;一眼看库目录与孤儿笔记
  • 检索更懂结构 — 语义搜索结果带上标签与反链数,方便判断哪篇更「权威」

Changed

  • 产品定位 — 对外明确为面向链接笔记的图谱原生 Agent
  • 状态抽屉文案 — 去掉「可在设置启用 Worker」等易误导说明

[0.1.6] - 2026-07-15

Added

  • 设置分四页 — 对话模型 / 笔记索引 / 记忆与权限 / 高级;一键场景预设(DeepSeek / Ollama / 自定义)
  • 用 @ 点名笔记 — 输入时补全,发送时带上路径;文件菜单也可「添加到 Ratel」

Fixed

  • 重启不再无故全量重索引 — 未改动的笔记会跳过,启动更快
  • 压缩对话后模型报错 — 工具消息顺序对齐,减少 DeepSeek 等接口的 400
  • 设置页切换 Tab 无效 — 已修好
  • 对话时状态条重复提示 — 忙态只保留一条清晰通道

Changed

  • 手册与 README 按新设置结构更新

[0.1.5] - 2026-07-14

Added

  • 更懂当前上下文 — 每轮知道本地时间;能用当前笔记、日记路径、最近编辑、大纲,少绕弯
  • 日记路径约定 — 可在设置里指定日记文件夹与日期格式(只探测,不擅自建文件)

Changed

  • 安装说明以社区商店为主;使用手册改为场景表驱动

[0.1.4] - 2026-07-14

Fixed

  • 首次安装可能加载失败 — 无本地数据时的空值错误已修复;卸载时也不再二次报错

[0.1.3] - 2026-07-14

Fixed

  • 社区商店安装后无法加载 — 发布包与 Obsidian 1.13+ 检查冲突已消除,可正常启用

Added

  • Skill 扩展 — 在 .ratel/skills/ 等处放 SKILL.md,用 /skill 开关工作流
  • 跨会话记忆 — 可以说「记住我喜欢…」,存在库内 Markdown,可在记忆面板查看编辑
  • 中英文界面 — 设置里切换语言;工具步骤显示本地化友好名
  • 更聪明的索引 — 未改动的笔记启动时跳过;损坏索引会自动降级重建

Fixed

  • 手动全量重索引、关闭自动索引、删除旧向量条目等边界行为

[0.1.0] - 2026-06-28

Added

  • 和知识库对话 — 自然语言提问,流式回答,带来源
  • 多步办事 — 自动检索多篇笔记再综述;深度可配置
  • 混合检索 — 语义 + 关键词 + 链接信号
  • 默认本地嵌入 — 不把笔记内容发去嵌入云(除非你改成 API)
  • 自选模型 — DeepSeek / Claude / Ollama;密钥进钥匙串
  • 可控改库 — 按工具允许 / 询问 / 拒绝;状态条与诊断面板

Known Limitations

  • 仅桌面端
  • 超大库首次索引较慢
  • Claude 侧思考块尚未接入(DeepSeek 思考过程已支持)

README file from

Github

Ratel

English | 简体中文

License Obsidian Desktop only

Make your Obsidian knowledge work proactively.

Ratel is a proactive graph knowledge agent. It understands your journals, goals, and linked notes, then brings you sourced reviews, timely suggestions, and knowledge issues worth acting on—inside Obsidian and under your control.


From waiting for prompts to knowing when to help

A typical vault chat starts only after you ask. Ratel is designed to let your knowledge participate at the right time:

  1. Heartbeat checks new journals, goals, recent changes, and knowledge relationships.
  2. Local rules decide whether there is anything worth interrupting you for.
  3. Ratel creates a sourced yesterday review, today suggestion, or knowledge-maintenance insight.
  4. Every result enters the insight inbox; high-value items can trigger an Obsidian Notice.
  5. You can inspect sources, ask a follow-up, snooze, ignore, or approve a write to your vault.

Proactive does not mean autonomous modification. Notifications may appear automatically; vault changes remain your decision.


How Ratel makes your knowledge work

Bring you information worth acting on, at the right time (in progress)

Ratel does not require a second task database. Tell it where your journals, monthly goals, and recurring work live through ordinary Markdown memory.

  • Start the day with a sourced review of yesterday.
  • Add today suggestions when both monthly goals and today's journal are available.
  • Ask once when a familiar location is missing; remember “none” instead of asking forever.
  • Keep every proactive result in a reviewable insight inbox.
  • Use the status bar as a stable entry point and reserve Notices for high-value insights.
  • Respect quiet hours, daily limits, snooze, ignore, and follow-up actions.

Understand relationships, not just files

Ratel combines retrieval, links, citations, maintenance, and knowledge discovery into one workflow.

  • Fusion retrieval: semantic and keyword recall, enriched by links, backlinks, and properties.
  • Clickable citations: numbered sources open the original note in one click.
  • Knowledge entropy management (in progress): surface broken links, orphan notes, duplication, stale knowledge, and lingering tasks.
  • Knowledge mining (in progress): discover themes, relationships, conflicts, and gaps across notes, then produce sourced syntheses.

Move from discovery to controlled action

Inspect sources, ask a follow-up, snooze, ignore, or let Ratel organize, link, and write notes. Every vault change continues to follow your permission settings.


What works today

Recover knowledge when you no longer remember where it lives

“What did I write about performance tuning?”

Ratel combines semantic, keyword, and note-relationship signals, then keeps clickable sources in the answer.

Complete multi-step knowledge work

“Turn my product-planning notes into a background document.”

The agent can search, read, synthesize, and write. Changes follow the permission level you choose.

Understand the current Obsidian context

“Summarize this note and relate it to recently edited project notes.”

The active note, daily-note location, recent changes, and outlines are available as first-class context.

Open the note you are talking about

“Open that reading note and jump to its second chapter.”

Ask “open that note” and the agent opens it in Obsidian, jumping straight to the heading (or block) you mean.

Configure and troubleshoot by chat

“Switch my chat model.” / “Why isn’t indexing running?”

The built-in config skill reads current settings, applies whitelisted changes, and walks you through keychain setup — keys are guided into the keychain, never filled in for you.

Remember preferences and extend workflows

“Remember that I prefer conclusions before evidence.”

Memory stays as Markdown under .ratel/memory/. Add a SKILL.md, connect an MCP server, or use Subagents for more specialized workflows.


Your agent, your stack

  • Model freedom: choose chat, embedding, and reranking models independently; use DeepSeek, Claude, Ollama, or compatible custom endpoints.
  • Skills: define reusable working methods in Markdown.
  • MCP: connect web search and external tools with per-server and per-tool permissions.
  • Subagents: delegate complex research to focused retrieval, review, and synthesis roles.
  • Prompt customization: override individual prompt sections without forking the plugin.

These capabilities are the foundation. They serve proactive intelligence and graph knowledge management instead of becoming setup work for its own sake.


Privacy and safety

Data or action Default behavior
Vault index Stored locally
Embeddings Generated locally by default
Retrieved evidence Sent only to the model endpoint you configure
MCP parameters Sent only when an enabled MCP tool is invoked
Proactive insights Filtered locally before the minimum necessary evidence is assembled
Vault changes Follow Safe / Auto / Danger permissions; notifications cannot bypass them
Telemetry None

Once blacklist controls land, excluded content will never enter the index, candidate detection, model context, MCP parameters, logs, or notifications.


Install

Obsidian → SettingsCommunity pluginsBrowse → search RatelInstallEnable.

Requires Obsidian 1.13.0+, desktop only.

Then open Settings → Ratel → Chat model, choose a DeepSeek / Ollama scene preset or custom Base, wait for the first index, and click the 🦡 ribbon or run Ratel: Ask vault.

See the User Guide for the full walkthrough.


Docs

Doc Contents
Product Vision Positioning, complete product picture, and direction
User Guide Setup, scenarios, slash commands, and FAQ
Changelog Release history
Architecture Ports, agent loop, tools, and workers

Issues and ideas: GitHub Issues.


License

Apache-2.0