Skip to content

BitmapAsset/dear-agent

Repository files navigation

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

Interface How
MCP tools 11 tools (below) over stdio.
MCP prompts daily_checkin, weekly_reflection — surface as slash-commands.
MCP resources diary://today, diary://index.
Skill SKILL.md for skill-based harnesses (Claude Code, OpenClaw).
CLI dear-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

Tool What it does
add_entry Save a text moment (optional mood, tags) for a day.
add_photo Save a photo for a day (local path or base64), with a caption.
add_voice_note Save a voice note for a day, with an optional transcript.
get_day Read one day's full entry.
get_range Read entries between two dates.
search Find days matching a word or phrase.
recall What the diary knows about a person/topic, or a whole-life profile digest.
reflect Patterns, progress, open loops, and on-this-day, for a proactive check-in.
on_this_day Resurface this same calendar date from past years.
weekly_digest Pull the last 7 days for a reflection.
list_days List 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.

About

Your AI agent keeps your diary for you. A local-first MCP server + skill that any AI agent uses to maintain a private daily journal from text, photos, and voice — then remembers your life and reflects it back. No app, no cloud.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors