🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

dear-agent

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dear-agent

Dear Agent — your AI agent keeps your diary for you. A local-first MCP server + skill that lets any AI agent maintain a human's daily life journal from text, photos, and voice notes. You never open an app or write a word.

latest
Source
npmnpm
Version
0.2.4
Version published
Weekly downloads
46
-11.54%
Maintainers
1
Weekly downloads
 
Created
Source

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

npm install -g dear-agent

Or run it straight from npx (no install):

npx dear-agent

Claude Code / Claude Desktop

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

Or add to your MCP config:

{
  "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:

dear-agent add "Closed the interview, felt good." --mood hopeful --tags job,win
dear-agent recall Sarah
dear-agent reflect week
dear-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.

Keywords

mcp

FAQs

Package last updated on 30 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts