Dear Agent

io.github.BitmapAsset由 GitHub 帳號 BitmapAsset 發布v0.2.3更新於 Oct 24, 2026

Your AI agent keeps your diary for you. Local-first, private, works in any agent.

概覽

AI 產生的概覽

讓 AI 助理以本機 markdown 日記形式依日期保存文字、照片與語音,並能回顧過往紀錄。

可以做什麼
Dear Agent 為助理提供讀寫個人日記的工具,日記以純 markdown 存放在使用者自己的磁碟上。add_entry、add_photo 與 add_voice_note 依日期歸檔內容,get_day、get_range、search、list_days 與 on_this_day 用來回讀。recall 彙整日記中關於某個人或主題的資訊,reflect 與 weekly_digest 則呈現模式、未完成事項與往年同日的記憶。它也提供 MCP prompts、resources 與命令列介面。
適用情境
適合想要私密本機日記、由助理從日常對話中自動記錄、而不必另開應用程式的人。可用於每日記錄、照片與語音留存,以及查詢某天或一年前的紀錄。
執行需求
透過 stdio 在本機執行,通常使用 npx 或全域安裝 npm 套件,因此需要 Node.js。選用環境變數 DEAR_AGENT_DIR 可指定日記存放位置,預設為 ~/.dear-agent。未宣告需要帳號、API 金鑰或網路存取。
安裝前請注意
日記屬於個人敏感內容:條目、照片與語音會寫入 DEAR_AGENT_DIR 下的磁碟檔案,recall 或 reflect 可能把這些內容帶入與助理的對話。它寫入檔案而非刪除,但助理記錄的一切都以純 markdown 明文保存,需考量該資料夾的位置與可讀取範圍。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

Dear Agent

[npm version] [license: MIT] [MCP] [PRs welcome]

[A person tells their AI agent about a hard day; the agent writes it into their diary.]

Your AI agent keeps your diary for you. You never open an app or write a word.

You already talk to an AI agent all day. Dear Agent lets that agent quietly keep your personal life journal — filing what you tell it, the photos you send, and the voice notes you record, neatly by date. No app to open. No blank page to face. No habit to build. You just live your life and mention what matters; your agent does the writing.

It is a single, local-first MCP server plus a skill, so it drops into any agent that speaks MCP: Claude Code, Claude Desktop, Cursor, OpenClaw, and more.

Why it is different

  • You do not write it. Your agent does. Every other journal — Day One, Obsidian, Notion, a paper notebook — needs you to open it and type. Dear Agent flips that: you talk, it records.
  • Cross-agent. One diary, readable and writable by whatever agent you use.
  • Text, photos, and voice. Send a picture or a voice note and it is filed under that day.
  • Local-first and yours. Plain markdown on your own disk. No account, no cloud, no lock-in. Delete the folder and it is gone.
  • It remembers with you. "On this day" resurfaces past entries; a weekly digest lets your agent write you a short reflection.

Install

bash
npm install -g dear-agent

Or run it straight from npx (no install):

bash
npx dear-agent

Claude Code / Claude Desktop

bash
claude mcp add dear-agent -- npx -y dear-agent

Or add to your MCP config:

json
{  "mcpServers": {    "dear-agent": {      "command": "npx",      "args": ["-y", "dear-agent"]    }  }}

Cursor / OpenClaw / other MCP clients

Point the client at the dear-agent command (stdio transport). Set DEAR_AGENT_DIR if you want the diary somewhere other than ~/.dear-agent.

Then drop SKILL.md into your agent's skills so it knows to keep your diary proactively.

How you use it

You never call tools yourself. You just talk to your agent:

"Remember that I closed the apartment lease today, felt huge relief." "Save this photo for today — first dinner in the new place." (send the photo) "What was I doing a year ago today?" "Give me a recap of this week."

Your agent calls the right tool and keeps the diary current.

It remembers you, and it talks back

Dear Agent is not just storage. Two capabilities turn it into a living memory of your life:

  • recall — your agent can ask the diary "what do you know about this person — their people, patterns, open commitments?" and get a synthesized portrait. Your agent finally remembers your life, so every conversation is grounded in who you actually are.
  • reflect — a proactive loop that surfaces patterns, progress, open loops, and on this day memories, so your diary reflects your life back to you instead of sitting in a folder.

Obsidian stores your notes. Dear Agent remembers your life and talks back. And because it never leaves your machine, it's the one place you can be completely honest.

Works with any agent, harness, or interface

InterfaceHow
MCP tools11 tools (below) over stdio.
MCP promptsdaily_checkin, weekly_reflection — surface as slash-commands.
MCP resourcesdiary://today, diary://index.
SkillSKILL.md for skill-based harnesses (Claude Code, OpenClaw).
CLIdear-agent add "...", recall, reflect, … — for any agent that can run a shell.

CLI examples:

bash
dear-agent add "Closed the interview, felt good." --mood hopeful --tags job,windear-agent recall Sarahdear-agent reflect weekdear-agent on-this-day

Tools

ToolWhat it does
add_entrySave a text moment (optional mood, tags) for a day.
add_photoSave a photo for a day (local path or base64), with a caption.
add_voice_noteSave a voice note for a day, with an optional transcript.
get_dayRead one day's full entry.
get_rangeRead entries between two dates.
searchFind days matching a word or phrase.
recallWhat the diary knows about a person/topic, or a whole-life profile digest.
reflectPatterns, progress, open loops, and on-this-day, for a proactive check-in.
on_this_dayResurface this same calendar date from past years.
weekly_digestPull the last 7 days for a reflection.
list_daysList every day on record.

Dates accept today, yesterday, or YYYY-MM-DD.

Where your diary lives

~/.dear-agent/  entries/    2026-06-29.md  media/    2026-06-29/      first-dinner.jpg      morning-thought.ogg

Set DEAR_AGENT_DIR to choose a different location.

Contributing

Issues and pull requests are welcome. Dear Agent is intentionally small and dependency-light — keep changes focused, keep storage as plain files the user owns, and keep everything local-first and private. See ROADMAP.md for where it is headed.

License

MIT © BitmapAsset. Free for anyone, anywhere, in any agent.

來源:README.md,提交 294dc7e

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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