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 分