WorkBuddy

by Jason
5
4
3
2
1
Score: 50/100

Description

The WorkBuddy plugin brings Tencent's desktop AI agent into a sidebar chat with streaming Markdown replies, collapsible thinking details and tool activity. It can send the current note or selected text as context, then copy a response or insert it at the cursor. Conversations support multiple tabs, persisted history and resumed WorkBuddy sessions. Three permission modes control whether the agent can only read and search notes, edit vault content or receive full access. Model and reasoning effort controls sit in the chat footer, while the vault root is the default working folder. The interface follows the configured English or Chinese language. It requires the WorkBuddy desktop app to be installed and signed in, runs only on desktop and has verified support on Windows with macOS and Linux provided on a best effort basis.

Reviews

No reviews yet.

Stats

1
stars
77
downloads
0
forks
3
days
3
days
3
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
4
commits

RequirementsExperimental

  • WorkBuddy desktop app installed and signed in

Latest Version

3 days ago

Changelog

Automated release of 0.1.3. Assets carry GitHub build-provenance attestations.

README file from

Github

WorkBuddy - Obsidian plugin

Chat with your locally installed WorkBuddy (Tencent's desktop AI agent) from inside Obsidian. Send the current note or a selection as context, stream the reply into a sidebar, and let WorkBuddy read, search, create and edit notes in your vault.

Unofficial community plugin. Not affiliated with Tencent. Requires the WorkBuddy desktop app to be installed and signed in. Desktop only (Windows verified; macOS/Linux best-effort).

Zero configuration: no API key, no server, no port. The plugin runs the command-line tool that ships inside the WorkBuddy app, using WorkBuddy's own login. The WorkBuddy window does not even need to be open.


快速上手(中文)

  1. 安装并打开一次 WorkBuddy,完成登录(之后可以关掉它)。
  2. 在 Obsidian 中安装本插件并启用(见下方「安装」)。
  3. 点击左侧栏的机器人图标,或按 Ctrl/Cmd+P 运行「打开 WorkBuddy 对话」。
  4. 直接输入问题;勾选「当前笔记」或「选中文本」可以把笔记内容一起发给 WorkBuddy。
  5. 回复下方有「复制」和「插入到光标处」按钮。

默认权限是「允许修改笔记」:WorkBuddy 可以读取、新建、修改库里的笔记,但不能运行命令。 在对话框底部点击权限标签,或在设置里切换为「只读」/「完全访问」。

如果提示「没有找到 WorkBuddy」:打开 设置 -> WorkBuddy -> 点击「检测 WorkBuddy」查看插件尝试过的路径; 安装位置特殊时,可以在「CLI 路径」里填写 ...\WorkBuddy\resources\app.asar.unpacked\cli\bin\codebuddy 的完整路径。


Features

  • Sidebar chat with streaming Markdown replies, collapsible "thinking", tool activity lines (Read notes/todo.md, Write ...), token usage.
  • Multi-tab conversations; Send turns into Stop while a reply streams.
  • Context toggles: current note (path + full text) and selection (works in Reading View too).
  • Commands + ribbon icon: open chat, new tab, send current note, send selection.
  • Copy and Insert at cursor under every reply.
  • Chat history (persisted in the plugin folder). Reopening a conversation resumes WorkBuddy's own session, so context continues server-side.
  • Permission modes: Read only / Allow editing notes (default) / Full access.
  • Model and reasoning-effort chips in the footer; working folder (vault root by default).
  • Chinese + English UI, auto-selected from Obsidian's language.

How it works

WorkBuddy bundles a Claude-Code-compatible CLI (<WorkBuddy>/resources/app.asar.unpacked/cli/bin/codebuddy). For every message the plugin spawns it non-interactively:

node codebuddy -p --input-format stream-json --output-format stream-json --include-partial-messages \
     --permission-mode acceptEdits [--resume <session_id>] [--model ...] [--append-system-prompt ...]

with the vault as the working directory, feeds one user message over stdin, and renders the NDJSON event stream. Continuity between turns comes from --resume <session_id>. The Node runtime is found automatically: WorkBuddy's own bundled Node (~/.workbuddy/binaries/node/...), then the WorkBuddy executable itself (Electron in Node mode), then node on PATH.

Nothing is stored by the plugin except your settings and chat history (history.json in the plugin folder). It never reads WorkBuddy's credential or model files.

Permission modes

Mode CLI flags What WorkBuddy can do
Read only --permission-mode default --disallowedTools Write,Edit,...,Bash,PowerShell read/search notes, web
Allow editing notes (default) --permission-mode acceptEdits + create/edit files in the working folder; no shell
Full access --permission-mode bypassPermissions everything, including shell commands - use with care

The CLI offers no interactive approval channel in non-interactive mode, so the mode is chosen up front.

Install

  1. Install the BRAT community plugin and enable it.
  2. Run BRAT: Add a beta plugin for testing and paste this repository's URL.
  3. Enable WorkBuddy under Settings -> Community plugins.

Manual

Download main.js, manifest.json and styles.css from the latest release into <vault>/.obsidian/plugins/workbuddy/, then enable the plugin.

Settings

  • Check WorkBuddy - locates the CLI + runtime and runs --version; shows the paths it tried on failure.
  • CLI path / Node runtime (advanced) - overrides for unusual installs.
  • What WorkBuddy may do - permission mode (see above).
  • Model (empty = WorkBuddy default auto), Reasoning effort, Max agent turns.
  • Working folder - vault-relative or absolute; the CLI's cwd.
  • Send full note text with "current note", Show thinking, Max chat tabs, Idle timeout.
  • Markdown formatting reminder, Custom instructions (appended to the system prompt).
  • Language - Auto / 简体中文 / English. Your name - personalizes the greeting.

Troubleshooting

Symptom Cause / fix
"WorkBuddy was not found on this computer" Install WorkBuddy; open it once. Check the paths listed under Check WorkBuddy; set CLI path if installed elsewhere.
"Could not find a Node.js runtime" Open the WorkBuddy app once (it installs its Node), or set Node runtime to WorkBuddy.exe / any node.exe.
"WorkBuddy is not signed in" Open the WorkBuddy app and sign in, then retry.
Reply says it cannot write / tool requests denied Switch the permission chip to Allow editing notes.
No reply for minutes, then a timeout The first call after a cold start can take a while; raise Idle timeout if your machine is slow.

Build

npm install
npm run build        # -> main.js
npm test             # unit tests (pure modules)
npm run lint         # Obsidian community lint rules
npm run smoke:live   # drives the REAL WorkBuddy CLI through the plugin's client (needs WorkBuddy + network)

Releasing (maintainers)

Bump the version in manifest.json, package.json and versions.json, then push a matching tag (bare version, no v): git tag 0.1.1 && git push origin 0.1.1. The GitHub Action builds, verifies the tag matches the manifest, attaches provenance attestations and creates the release with main.js / manifest.json / styles.css.

License

MIT

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Auto Hide
4 years ago by skelato1
This Obsidian plugin enables you to collapse (and expand) the sidebar easier.
Cycle In Sidebar
4 years ago by Houcheng
Cycle through tabs of left/ right sidebar panel
Soomda
3 years ago by Michael Lee
🙈 Soomda — An Obsidian plugin that lets you quickly hide your sidebars.
Custom Sidebar Icons
2 years ago by RavenHogWarts
Custom Icons
Recent Files
6 years ago by Tony Grosinger
Display a list of most recently opened files
Markdown Formatting Assistant
6 years ago by Reocin
This Plugin provides a simple WYSIWYG Editor for Markdown and in addition a command line interface. The command line interface facilitate a faster workflow.
Sidebar Expand on Hover
5 years ago by Tousif Iqbal Anik (toiq)
This Obsidian plugin expands or collapses the sidebar based on mouse hovering on the ribbons.
Image Context Menus
5 years ago by NomarCub
Image Context Menus - Obsidian.md image context menus: copy, open in default app, show in system explorer, reveal in navigation context menu. Also Open PDF externally context menu.
Hide Sidebars on Window Resize
5 years ago by NomarCub, Michael Hanson
A simple Obsidian plugin to hide the sidebars when the window gets narrow.
Window Collapse
5 years ago by Guilherme Quental
Customizable Menu
5 years ago by kzhovn
This plugin allows you to add every command to Obsidian's right-click context menu and add custom icons.
Smart Context
2 years ago by 🌴 Brian
Simple File Info
a year ago by Lukas Capkovic
Quick Peek Sidebar
a year ago by Bradley Wyatt
Open and close the Obsidian sidebars on hover.
Rainbow-Colored Sidebar
a year ago by Kevin Woblick
Automatically color your sidebar like a rainbow. No configuration needed. 18 themes included.
Scratchpad
a year ago by KVH
An open source Obsidian plugin for quick note-taking and freehand drawing.
Reading progress desktop
8 months ago by qian-shen
Obsidian 阅读进度条插件。
Floating Headings
6 months ago by k0src
Displays a floating, collapsible outline of a note's headings on the right side of the editor. Expands on hover, click to navigate.
TikToker
5 months ago by ameyxd
A Tiktok parser and saver for Obsidian
Archivist Importer
5 months ago by Archivist AI
An Obsidian Plugin to Imort Your Vaults into Archivist
WebDAV Explorer
5 months ago by 蓝星晓夜
WebDAV Server Explorer.
Tree Modal
3 months ago by krannich
Obsidian plugin: open files from the file explorer in a modal preview
Feed Bases
3 months ago by edrickleong
Cornell Marginalia
3 months ago by Latazadehomero
A lightweight Obsidian plugin designed for students who use the Cornell Note-taking System.
Agent Client
3 months ago by rait-09
Bring AI agents into Obsidian via Agent Client Protocol (ACP), such as Claude Code, Codex and Gemini CLI.
Note Companion
3 months ago by nexus-jpf
Note Companion: AI assistant for Obsidian that goes beyond just a chat. (prev File Organizer 2000)
Personal Assistant
3 months ago by edonyzpc
A plugin that harnesses AI agents and streamlining techniques to help you automatically manage Obsidian.
Hide Folders
3 months ago by jonasdoesthings
Toggle the visibility of folders in the Obsidian.MD file navigator based on name-patterns
Claudian
a month ago by Yishen Tu
An Obsidian plugin that embeds Claude Code/Codex as an AI collaborator in your vault
Find Orphaned Images
a month ago by josmarcristello
Find Orphaned Images is an Obsidian plugin designed to help you keep your vault clean and organized by identifying and managing images that are not linked anywhere in your notes.
Neural Composer
a month ago by Oscar Campo
AI-Powered Graph Memory for Obsidian
GTD Tasks
a month ago by unpreditable
Sidebar Keyboard Navigation
a month ago by denvolok
Obsidian plugin to smoothly navigate File Explorer using keyboard only.
Sidet
a month ago by Jiao Yingxing
An easy-to-use AI chat plugin for Obsidian with side browsing, focused conversations, and vault-aware knowledge capture.
Local LLM Hub
24 days ago by TAKESHI MORITA
All-in-one local AI hub for Obsidian — LLM chat with vault tools, MCP servers, RAG, workflow automation, encryption, and edit history. Fully private, no cloud required.
Claude Sidebar
20 days ago by derek-larson14
Run Claude Code, Codex, and other agent CLIs in Obsidian
Telegram Sidebar
17 days ago by reallygood83
Mobile Sidebar Notes
14 days ago by ckep1
Open notes & new tabs in the sidebar on the Obsidian mobile app.
Workbuddian
13 days ago by jiang198012
Obsidian 插件:把本地 CodeBuddy CLI 或 Hermes agent 变成 vault 内 AI 聊天——流式回复、@引用、双后端切换。Obsidian plugin turning local CodeBuddy CLI or Hermes agent into an in-vault AI chat with streaming, @-references, and dual backends.
Alternative Explorer
8 days ago by sk-obsidian
Alternative Explorer is an Apple Notes–style sidebar for browsing folders and notes in Obsidian. Switch between an expandable folder tree and a notes list — a compact alternative to the built-in File Explorer.
DeepSeek Harness Native
5 days ago by wuruihi
Obsidian 侧边栏内驱动本地 DeepSeek Harness (DSH) Web GUI,支持 vault 双向桥接与 DSH 服务自动管理。